Skip to content

Commit 3c0fe5c

Browse files
committed
make metrics dump more human readable
1 parent 082bacd commit 3c0fe5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/benchmark.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function runValgrindPhpCgiCommand(
137137
}
138138

139139
// print all collected metrics
140-
print_r($metricsArr);
140+
print_r(array_map(fn ($metrics) => array_map(fn ($v) => number_format($v, 0, '.', '_'), $metrics), $metricsArr));
141141

142142
// find the fastest benchmark run
143143
$bestRunIndex = 0;

0 commit comments

Comments
 (0)