Slow karma tests in Chrome

We are testing the Angular device with Karma and Jasmine.

Angular - v1.3.8
Karma - v0.13.7
Jasmine - v2.3.2
Node - v0.12.7

Our battery of over 1000 tests runs very fast on an older version of Chromium:

Chromium 43.0.2357 (Ubuntu): Executed 1050 of 1051 (skipped 1) SUCCESS (32.666 secs / 31.957 secs)

      

But in the newer version of Chrome, the tests run much slower and usually don't finish because the browser has been disabled due to timeouts:

WARN [Chrome 44.0.2403 (Linux)]: Disconnected (1 times), because no message in 10000 ms.
Chrome 44.0.2403 (Linux): Executed 602 of 1051 DISCONNECTED (2 mins 16.63 secs / 2 mins 5.377 secs)

      

We found this problem occurs on Windows, Linux (Ubuntu) and Mac with Chrome 44.

WARN [Chrome 44.0.2403 (Windows 8.1 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.
Chrome 44.0.2403 (Windows 8.1 0.0.0): Executed 281 of 1051 DISCONNECTED (1 min 2.837 secs / 50.415 secs) 

      

The problem seems to be related to newer versions of Chrome. Is the power saving feature enabled by default, which could degrade performance? Can Chrome run in a different mode?

Firefox still runs fast in benchmarks.

+3


source to share





All Articles