Unverified Commit 703ccd63 authored by Carlo Marcelo Arenas Belón's avatar Carlo Marcelo Arenas Belón Committed by GitHub
Browse files

pcre2test: use microseconds instead of milliseconds for timing (#192)

When using -t or its variants the timing results with a modern CPU
where not very significant even with 4 decimal digits.

While at it, move the factor calculation that can be done with
integer arithmetic and even optimized out for the more common case
when CLOCKS_PER_SEC == 1000000 out of the denominator.
parent 3fdb19ca
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment