| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Right now StartupBenchmark builds all the sources it will need up front. This adds somewhat substantial memory overhead, in particular for jsdom-d3-startup where it seems to add about 50MB of overhead. This patch changes it so the source is generated in the prepareForNextIteration hook on demand before the next iteration starts.
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Right now StartupBenchmark builds all the sources it will need up front. This adds somewhat substantial memory overhead, in particular for jsdom-d3-startup where it seems to add about 50MB of overhead.
This patch changes it so the source is generated in the prepareForNextIteration hook on demand before the next iteration starts.
I also got rid of the unused zero sourceCodeReuseCount behavior where it didn't change the source code. It made the code more complex and seems like you wouldn't use StartupBenchmark in that case anyway.