Challenge Overview
In this challenge, we need your help to fix a performance issue on the Electron framework.
The original issue as well as instructions on how to reproduce an measure the issue can be found here https://github.com/electron/electron/issues/10947
Detailed Requirements
-
Fork the repo from https://github.com/ThomasKranitsas/electron and work based on the fix-new-BrowserWindow-performance branch.
-
You need to identify and fix the root cause of this performance issue so calling new BrowserWindow does not spend 30-300ms creating Menu.
-
The fix should not break any of the existing functionalities.
-
The new code should be well documented
-
The new code should be unit tested.
Important note! This is an open source project and you’ll have to follow the coding best practices established in the existing code base.
The performance will be scored in section 1.1.1 (Major Requirements) of the scorecard as it’s the main requirement on this challenge.
Final Submission Guidelines
Submit:
-
A git patch file for the latest commit in fix-new-BrowserWindow-performance branch.
-
A document explaining in details how you resolved the performance issue.
The winner will be asked to create a pull request to our repo.