mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
dbms: benchmark: more timings [#METR-2944].
This commit is contained in:
parent
a9cd1a65ae
commit
3e4fdd0256
@ -242,8 +242,14 @@ private:
|
||||
|
||||
void reportTimings(Sampler & sampler)
|
||||
{
|
||||
for (size_t percent = 0; percent <= 100; percent += 10)
|
||||
for (size_t percent = 0; percent < 90; percent += 10)
|
||||
std::cerr << percent << "%\t" << sampler.quantileInterpolated(percent / 100.0) << " sec." << std::endl;
|
||||
|
||||
std::cerr << "95%\t" << sampler.quantileInterpolated(0.95) << " sec." << std::endl;
|
||||
std::cerr << "99%\t" << sampler.quantileInterpolated(0.99) << " sec." << std::endl;
|
||||
std::cerr << "99.9%\t" << sampler.quantileInterpolated(0.999) << " sec." << std::endl;
|
||||
std::cerr << "99.99%\t" << sampler.quantileInterpolated(0.9999) << " sec." << std::endl;
|
||||
std::cerr << "100%\t" << sampler.quantileInterpolated(1) << " sec." << std::endl;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user