karma-runner/karma

Performance issue with serving files in Karma 1.4

開放

#2,538 建立於 2017年1月16日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (1,703 個分叉)batch import
help wantedneeds: investigation

倉庫指標

星標
 (11,918 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Expected behaviour

I have an Ext JS project with over 500 files. With karma 1.3, it was serving all these files in around 3-5s.

karma13

Actual behaviour

With Karma 1.4 and the exact same files, it was taking over 80 seconds to serve these files, which results in a timeout before the tests can even run.

karma14

Environment Details

  • Karma version (output of karma --version): 1.4

Steps to reproduce the behaviour

  1. Simply run npm test with Karma 1.3 and 1.4

貢獻者指南