summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorcheloha <>2018-08-11 16:07:36 +0000
committercheloha <>2018-08-11 16:07:36 +0000
commitfbb93e28c7775385e0c6e76f6976dd1e0d16dac5 (patch)
treeb38d04b397a5aacb6260a8e443994c0d5a4c60b0 /src/lib
parent548ea7a2477f6deb089b0d5b196b74db0d8071b2 (diff)
downloadopenbsd-fbb93e28c7775385e0c6e76f6976dd1e0d16dac5.tar.gz
openbsd-fbb93e28c7775385e0c6e76f6976dd1e0d16dac5.tar.bz2
openbsd-fbb93e28c7775385e0c6e76f6976dd1e0d16dac5.zip
Refactor the nearly identical benchmark loops into a single loop.
Move all of the benchmark code -- loop initialization, the loops, and the report printing -- into a new function, benchmark(). Eliminates lots of duplicate code. Regressions to 1.20 caught by tb@ and inoguchi@. Tweaked by tb@. ok tb@, jsing@
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions