-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: docsRelated to the documentationRelated to the documentation
Description
OS?
Windows 10
Version
v1.0.0-beta.20-1
Repro steps
-
Run
ng test
with chrome in focus. -
Run
ng test
with chrome minimized. -
Test run time can differ by more than an order of magnitude.
Other details that might be useful
I was running ~200 tests (30 of them were component tests). Execution time was either ~0.7s or ~20s and the test runner would eventually crash. Turns out the slow and unstable tests were a result of chrome being out of focus. Chrome windows that are out of focus get throttled.
Looking through the rebuild speed thread, #1980, I noticed some complaints about ng test
test speed. Specifically this comment. I'd like to suggest including a tip in ReadMe to keep chrome in focus. Since this is quite a hard to diagnose issue I think it will be very helpful.
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: docsRelated to the documentationRelated to the documentation