Skip to content

Commit 9bbe17e

Browse files
authored
Never use scientific notation for TPC-C efficiency (#17333) (#21742)
1 parent 95c5567 commit 9bbe17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/library/workload/tpcc/runner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ void TPCCRunner::PrintFinalResultPretty() {
651651
if (minutesPassed >= 1) {
652652
std::cout << "warehouses: " << Config.WarehouseCount << std::endl;
653653
std::cout << "tpmC: " << DataToDisplay->StatusData.Tpmc << "*" << std::endl;
654-
std::cout << "efficiency: " << std::setprecision(2) << DataToDisplay->StatusData.Efficiency << "%" << std::endl;
654+
std::cout << "efficiency: " << std::fixed << std::setprecision(2) << DataToDisplay->StatusData.Efficiency << "%" << std::endl;
655655
std::cout << "* These results are not officially recognized TPC results "
656656
<< "and are not comparable with other TPC-C test results published on the TPC website" << std::endl;
657657
} else {

0 commit comments

Comments
 (0)