Closed Bug 109590 Opened 23 years ago Closed 19 years ago

Trying to load 40 nonexistent files cost 0.3% of startup

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dp, Assigned: benjamin)

References

Details

(Keywords: perf)

We try to load about 40 overlay, stylesheet and other rdf files from user
profile directory on startup that costs about 0.3%

[40] List of non existent file urls:
----------------------------------------------------------------------
 1. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/user-skins.rdf
 2. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/all-skins.rdf
 3. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/all-locales.rdf
 4. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/all-packages.rdf
 5.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/navigator/skin/stylesheets.rdf
 6. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/navigator/skin/stylesheets.rdf
 7. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/navigator/content/overlays.rdf
 8.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/wallet/skin/stylesheets.rdf
 9. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/wallet/skin/stylesheets.rdf
10.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/wallet/content/overlays.rdf
11. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/wallet/content/overlays.rdf
12.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/messenger/skin/stylesheets.rdf
13. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/messenger/skin/stylesheets.rdf
14. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/messenger/content/overlays.rdf
15.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/editor/skin/stylesheets.rdf
16. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/editor/skin/stylesheets.rdf
17. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/editor/content/overlays.rdf
18.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/global/skin/stylesheets.rdf
19. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/global/skin/stylesheets.rdf
20.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/global/content/overlays.rdf
21. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/global/content/overlays.rdf
22.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/communicator/skin/stylesheets.rdf
23. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/communicator/skin/stylesheets.rdf
24. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/communicator/content/overlays.rdf
25.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/help/skin/stylesheets.rdf
26. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/help/skin/stylesheets.rdf
27.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/help/content/overlays.rdf
28. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/help/content/overlays.rdf
29.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/venkman/skin/stylesheets.rdf
30. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/venkman/skin/stylesheets.rdf
31.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/venkman/content/overlays.rdf
32. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/venkman/content/overlays.rdf
33.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/chatzilla/skin/stylesheets.rdf
34. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/chatzilla/skin/stylesheets.rdf
35.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/chatzilla/content/overlays.rdf
36. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/chatzilla/content/overlays.rdf
37.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/cookie/skin/stylesheets.rdf
38. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/cookie/skin/stylesheets.rdf
39.
e:/dp/opt.trunk/mozilla/dist/WIN32_O.OBJ/bin/chrome/overlayinfo/cookie/content/overlays.rdf
40. C:/Documents and Settings/dp/Application Data/Mozilla/Profiles/Default
User/t5li6kkq.slt/chrome/overlayinfo/cookie/content/overlays.rdf
Blocks: 103912
Keywords: perf
QA Contact: sairuh → jrgm
OS: Windows 2000 → All
Hardware: PC → All
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Adding keyword nsbeta1 to several bugs.
Keywords: nsbeta1
jrgm sez: we don't load the overlays.rdf on every startup (only when
installed-crhome.txt is newer than chrome.rdf). Also, haven't we collapsed
chrome/all-*.rdf into chrome/chrome.rdf?

nsbeta1-
Keywords: nsbeta1nsbeta1-
I'm pretty sure we try to stat() these nonexistent files at every startup.
In debug builds, we do deal with the overlays.rdf files on each start, but 
not in optimized builds (as far as I can tell, we don't even stat them).
What's the best way to trap all the file I/O that occurs during startup.
Mass-moving remaining Nav team 0.99 bugs to 1.0.
Target Milestone: mozilla0.9.9 → mozilla1.0
Mass-moving all Navigator team 1.0 nsbeta1- bugs to 1.1
Target Milestone: mozilla1.0 → mozilla1.1
retargeting as 1.1a is already out
Target Milestone: mozilla1.1alpha → mozilla1.1beta
I think hyatt fixed this, tho I don't know if it was checked in.
Is this bug still valid?
Hoping this is fixed or duplicated.
taking, as part of bug 210838 I intend to merge the overlayinfo into chrome.rdf
(in a way that won't hurt performance re: bug 103912).
Assignee: hyatt → bsmedberg
Status: ASSIGNED → NEW
Depends on: 210838
Target Milestone: mozilla1.1beta → ---
Product: Core → Mozilla Application Suite
RDF cache is no more (toolkit).
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.