-
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
Try to make the Preferences
/AppOptions
initialization slightly more efficient
#17130
Try to make the Preferences
/AppOptions
initialization slightly more efficient
#17130
Conversation
b15af61
to
07b5bcb
Compare
/botio xfatest |
From: Bot.io (Linux m4)ReceivedCommand cmd_xfatest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/c68a242a4adc167/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_xfatest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/6bd75456d2d46a9/output.txt |
07b5bcb
to
26a8956
Compare
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/c68a242a4adc167/output.txt Total script time: 10.54 mins
Image differences available at: http://54.241.84.105:8877/c68a242a4adc167/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/6bd75456d2d46a9/output.txt Total script time: 19.74 mins
Image differences available at: http://54.193.163.58:8877/6bd75456d2d46a9/reftest-analyzer.html#web=eq.log |
26a8956
to
ef0f35c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
…re efficient *Please note:* This patch contains a couple of micro-optimizations, hence I understand if it's deemed unnecessary. Move the `AppOptions` initialization into the `Preferences` constructor, since that allows us to remove a couple of function calls, a bit of asynchronicity and one loop that's currently happening in the early stages of the default viewer initialization. Finally, move the `Preferences` initialization to occur a *tiny* bit earlier since that cannot hurt given that the entire viewer initialization depends on it being available.
ef0f35c
to
5ddc949
Compare
/botio xfatest |
From: Bot.io (Linux m4)ReceivedCommand cmd_xfatest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/9ee8f526e9dc55a/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_xfatest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/d21258d02c5099c/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/9ee8f526e9dc55a/output.txt Total script time: 10.54 mins
Image differences available at: http://54.241.84.105:8877/9ee8f526e9dc55a/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/d21258d02c5099c/output.txt Total script time: 20.09 mins
Image differences available at: http://54.193.163.58:8877/d21258d02c5099c/reftest-analyzer.html#web=eq.log |
Please note: This patch contains a couple of micro-optimizations, hence I understand if it's deemed unnecessary.
Move the
AppOptions
initialization into thePreferences
constructor, since that allows us to remove a couple of function calls, a bit of asynchronicity and one loop that's currently happening in the early stages of the default viewer initialization.Finally, move the
Preferences
initialization to occur a tiny bit earlier since that cannot hurt given that the entire viewer initialization depends on it being available.