-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Add caching to reduce the number of Ref
objects
#10862
Conversation
This is similar to the existing caching used to reduced the number of `Cmd` and `Name` objects. With the `tracemonkey.pdf` file, this patch changes the number of `Ref` objects as follows (in the default viewer): | | Loading the first page | Loading *all* the pages | |----------|------------------------|-------------------------| | `master` | 332 | 3265 | | `patch` | 163 | 996 |
/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/9021cec7949742c/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/9021cec7949742c/output.txt Total script time: 1.80 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/13a3fb9335d2102/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/297babf759a4afb/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/297babf759a4afb/output.txt Total script time: 17.81 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/13a3fb9335d2102/output.txt Total script time: 25.70 mins
|
I really like this idea. Thank you for optimizing this! |
This is similar to the existing caching used to reduced the number of
Cmd
andName
objects.With the
tracemonkey.pdf
file, this patch changes the number ofRef
objects as follows (in the default viewer):master
patch