summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-03-25 15:39:55 +0100
committerMitya Selivanov <automainint@guattari.tech>2023-03-25 15:39:55 +0100
commitb5b0935814832a19d856bd2a90f395681f408213 (patch)
tree76b6beffb9394a5df15a29c94d69a03116bf8109
parentd521b4f86e81c2628c22316c38698a1dd9a1ee86 (diff)
downloadkit-b5b0935814832a19d856bd2a90f395681f408213.zip
Small fix
-rw-r--r--source/kit_test/bench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit_test/bench.c b/source/kit_test/bench.c
index 13dfb78..b7de35f 100644
--- a/source/kit_test/bench.c
+++ b/source/kit_test/bench.c
@@ -260,10 +260,10 @@ int kit_run_benchmarks(int argc, char **argv) {
int64_t const average =
kit_benchs_list.benchs[i].duration_nsec[repeats / 2];
int64_t const floor =
- kit_benchs_list.benchs[i].duration_nsec[repeats / 10];
+ kit_benchs_list.benchs[i].duration_nsec[repeats / 20];
int64_t const roof =
kit_benchs_list.benchs[i]
- .duration_nsec[repeats - repeats / 10 - 1];
+ .duration_nsec[repeats - repeats / 20 - 1];
no_color || print_color(white);
printf("%-8lld", (long long) floor);