testing performance with joins