-
- Downloads
Make it easier to benchmark and profile the code (#4780)
* Make it easier to benchmark and profile the code * Remove unnecessary escape * Clarify that the backend server is started without the frontend * Add missing NODE_CONFIG_ENV environment variable * Add error message when user has not included console.time statements * Fix lint issue * Handle multiple console.time statements * Switch NODE_CONFIG_ENV to test * Switch to const as variable never re-assigned
Showing
- .gitignore 3 additions, 0 deletions.gitignore
- config/custom-environment-variables.yml 0 additions, 3 deletionsconfig/custom-environment-variables.yml
- config/default.yml 0 additions, 3 deletionsconfig/default.yml
- core/base-service/base-static.js 1 addition, 11 deletionscore/base-service/base-static.js
- core/server/server.js 0 additions, 4 deletionscore/server/server.js
- doc/flamegraph.png 0 additions, 0 deletionsdoc/flamegraph.png
- doc/performance-testing.md 45 additions, 0 deletionsdoc/performance-testing.md
- package.json 2 additions, 0 deletionspackage.json
- scripts/benchmark-performance.js 26 additions, 0 deletionsscripts/benchmark-performance.js
- scripts/benchmark-performance.sh 0 additions, 11 deletionsscripts/benchmark-performance.sh
- scripts/capture-timings.js 61 additions, 0 deletionsscripts/capture-timings.js
Loading
Please register or sign in to comment