jest-performance-monitor

1.1.0 • Public • Published

QuiP: Quick Performance testing for Javascript before deployment

QuiP is an extension of the Javascript Jest testing framework. It was built to enable performance Test-Driven Development for web-apps, for a Final Year Project as part of the degree requirement for MEng Computing at Imperial College London.

QuiP allows performance testing before deployment by relying on performance models to estimate runtime instead of real-time measurements. It can estimate the effect of both synchronous and asynchronous Javascript on runtime, using the Async hooks API. Since it performs all its runtime estimations in virtual time, it has short turnaround times.

An overview of QuiP's implementation: arch overview

Examples of using QuiP for performance Test-Driven Development are added to this repo, including an example web-app implemented with QuiP. The implementation is in the example code folder, and the corresponding tests are in the tests folder.

In this repo, the following commands can be called in the command line:

npm run test runs the example tests.

npm run runtimes hosts the test timeline visualizer locally.

npm run caseStudy hosts the example web-app locally.

Further details on QuiP can be found in its associated research paper: QuiP paper.pdf

QuiP can also be installed as a npm package here.

Readme

Keywords

none

Package Sidebar

Install

npm i jest-performance-monitor

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

30.3 kB

Total Files

17

Last publish

Collaborators

  • zzirun