Skip to content

Performance Improvements (similiar ng-bullet)  #449

Open
@r-kernberger

Description

@r-kernberger

Performance Improvements (similiar ng-bullet)

Feature Request

A large Unit Test (23 Tests) is running for ~10minutes.
There is a library (ng-bullet), which avoids recompiling everything
used to configure the TestBed for every test in a suite, thus increasing the overall test execution time alot (~30 seconds).
https://github.com/topnotch48/ng-bullet-workspace/blob/master/projects/ng-bullet/README.md

Downside on this library is, that it is no longer maintained.
Are there any plans, integrating the approach of ng-bullet
in jest in the near future and thus increasing the performance of jest?

To Reproduce

  • Writing a unit test with > 20 Tests.
  • Execute the test and measure execution time
  • Install ng-bullet
  • Execute the same test and measure execution time again
  • Compare Execution times

Expected behavior

Execution time of Jest unit tests will be similiar to execution time when using ng-bullet

Link to repl or repo (highly encouraged)

envinfo

System:
OS: Windows 10 10.0.17763
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 10.15.0 - C:\Program Files\nodejs\node.EXE
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions