( )⚙ D11003 windows: use cpu-intensive task instead of real time in test

This is an archive of the discontinued Mercurial Phabricator instance.

windows: use cpu-intensive task instead of real time in test
ClosedPublic

Authored by Alphare on Jul 7 2021, 9:14 AM.

Details

Summary

Windows profiling breaks when using real time instead of cpu, but we need the
extension function to show up, so make it do something instead of waiting.
I've also duplicated the test cases so that explicit real and CPU times are
tested (on platforms other than Windows)

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Jul 7 2021, 9:14 AM
marmoute accepted this revision.Jul 7 2021, 11:56 AM
marmoute added a subscriber: marmoute.

Sad but true

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.