| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Understanding the performance problems that JavaScript developers face in practice is crucial to improve the performance of JavaScript programs. This repository contains 98 reproduced performance issues from 16 popular client-side and server-side JavaScript projects. It also contains jsexecutor, a tool for reliably measuring the performance of a JavaScript program. We make these issues available
We run all experiments on a machine with a Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz and 16GB RAM.
npm install ```. This will install jsexecutor with all dependencies.
In the JavaScriptIssuesStudy directory:
jsexecutor <issue path>/test_case_before.js <issue path>/test_case_after.js Nvm Nwarmup Nmeasure 0.9
Where:
We use the following values in our experiments: Nvm = 5, Nwarmup=5, Nmeasure=10
Example of reproducing perf issue that runs in server environments:
jsexecutor serverIssues/ChalkIssues/issues/issue_27a/test_case_before.js serverIssues/ChalkIssues/issues/issue_27a/test_case_after.js 5 5 10 0.9
In the JavaScriptIssuesStudy directory:
node browserJsExecutor.js <command to run browser> <issue path> Nvm
Where:
Examples of reproducing perf issue in Chrome and Firefox:
node browserJsExecutor.js google-chrome clientIssues/AngularIssues/issues/issue_4359/ 5
OR
node browserJsExecutor.js firefox clientIssues/AngularIssues/issues/issue_4359/ 5
The full list of JavaScript performance issues can be found in: https://github.com/marijaselakovic/JavaScriptIssuesStudy/blob/master/Description.md. Furthermore, we identified ten recurring optimization patterns and found 139 uknown occurences of these patterns accross studied programs. We reported several optimizations and information on reported and confirmed optimizations can be found in: https://github.com/marijaselakovic/JavaScriptIssuesStudy/blob/master/Confirmed.md
| Back | FazBrowse Home | New Git URL |