add the ability to bucket results by latency
fix imports to bgentry for testing