Initial startup delay in 3.2g -- why?
Michael Rueger
m.rueger at acm.org
Wed Apr 3 00:20:24 UTC 2002
Ned Konz wrote:
> 99.4% {3270ms} AutoStart class>>startUp
> 1. Why do we have to ask twice (spending a second each time) whether
> we're running in the browser when we have a global to record that fact?
Actually we don't have to do that. You should be able to just remove it
from check for checkForPluginUpdate.
checkForPluginUpdate
| pluginVersion updateURL |
HTTPClient isRunningInBrowser
ifFalse: [^false].
pluginVersion _ AbstractLauncher extractParameters
at: (Smalltalk platformName copyWithout: Character space) asUppercase
ifAbsent: [^false].
updateURL _ AbstractLauncher extractParameters
at: 'UPDATE_URL'
ifAbsent: [^false].
^SystemVersion check: pluginVersion andRequestPluginUpdate: updateURL
Let me know if this works for you!
Thanks!
Michael
More information about the Squeak-dev
mailing list
|