Skip to content

benchmark: check for time precision in common.js

Rodrigo Muino Tomonari requested to merge github/fork/Trott/precision into master

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), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

benchmark test

Merge request reports

Loading