grain icon indicating copy to clipboard operation
grain copied to clipboard

Time resolution on WASI runner

Open phated opened this issue 1 year ago • 1 comments

The time resolutions on Windows are pretty bad in our WASI runner (uvwasi). @ospencer tried to fix this in https://github.com/nodejs/uvwasi/pull/182 but 2 subsequent calls to processCpuTime and threadCpuTime result in the same time on Windows.

As of #1585, we're using <= to compare times in the tests, but we should look on making the resolution better on Windows.

phated avatar Apr 23 '23 01:04 phated