benchmark: check for time precision in common.js
Some benchmark tests are failing intermittently, possibly due to hrtime() imprecision on particular hosts. This change will confirm or refute that as the root cause the next time the test fails on CI. Either way, it's a valid check.
Refs: https://github.com/nodejs/node/issues/12497 Refs: https://github.com/nodejs/node/issues/12433
/cc @addaleax @joyeecheung
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
benchmark test