-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimizations to avoid intermediate string creation #10396
Conversation
…ng creation This method creates quite a few intermediate strings on each call and it's called often, even for smaller documents like the Tracemonkey document. Scrolling from top to bottom in that document resulted in 12936 strings being created in this method. With this commit applied, this is reduced to 3610 strings.
This method creates quite a few intermediate strings on each call and it's called often, even for smaller documents like the Tracemonkey document. Scrolling from top to bottom in that document resulted in 14126 strings being created in this method. With this commit applied, this is reduced to 2018 strings.
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/b8ec71cef237cbe/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/b8ec71cef237cbe/output.txt Total script time: 1.62 mins Published |
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.215.176.217:8877/52c77f49c91a585/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/56e05ecd78fbc37/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/56e05ecd78fbc37/output.txt Total script time: 17.69 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/52c77f49c91a585/output.txt Total script time: 23.37 mins
|
The commit message contains more information about the individual changes.