You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test time decreases from 26s to ~4.6s if I avoid including sinon. In my real tests, where I require a bunch of other modules besides sinon, testing a no-op function for leaks takes minutes.
Is this the expected behavior?
I don't think so, unless it's due to recent fixes for the latest v8, since several issues mention a suggested timeout of 5000ms.
I'm running node v11.10.0 and mocha 5.2.0 on a Linux 4.20.7 system.
The text was updated successfully, but these errors were encountered:
With node 8 and 10 the minimal test case is fast-ish: less than 10s regardless of whether I require sinon.
With node 11 the results are similar to my local system: as fast as the other cases without sinon, while ~30s after sinon is loaded.
andywer
changed the title
Extremely low performance
Extremely low performance on node 11
Feb 20, 2019
andywer
changed the title
Extremely low performance on node 11
Extremely low performance on node.js 11
Feb 20, 2019
Leakage is incredibly slow on my system (with an Intel(R) Core(TM) i7-3610QM CPU).
Take the following minimal example:
The test time decreases from 26s to ~4.6s if I avoid including sinon. In my real tests, where I require a bunch of other modules besides sinon, testing a no-op function for leaks takes minutes.
Is this the expected behavior?
I don't think so, unless it's due to recent fixes for the latest v8, since several issues mention a suggested timeout of 5000ms.
I'm running node v11.10.0 and mocha 5.2.0 on a Linux 4.20.7 system.
The text was updated successfully, but these errors were encountered: