karma-runner/karma

Performance issue with serving files in Karma 1.4

Ouverte

#2 538 ouverte le 16 janv. 2017

 (2 commentaires) (0 réaction) (0 personne assignée)JavaScript (1 703 forks)batch import
help wantedneeds: investigation

Métriques du dépôt

Stars
 (11 918 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur