karma-runner/karma

Performance issue with serving files in Karma 1.4

Open

#2,538 创建于 2017年1月16日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (11,918 star) (1,703 fork)batch import
help wantedneeds: investigation

描述

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

贡献者指南

Performance issue with serving files in Karma 1.4 · karma-runner/karma#2538 | Good First Issue