Closed
Bug 27416
Opened 26 years ago
Closed 16 years ago
nsIFile performance needs evaluation
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: sfraser_bugs, Unassigned)
References
Details
(Keywords: perf)
I suspect that we lost a number of performance enhancements in the move from
nsFileSpec to nsIFile. We need to evaluate nsIFile for performance, particularly
on Mac.
Updated•26 years ago
|
Target Milestone: M14
| Reporter | ||
Comment 3•26 years ago
|
||
Why is this latered? We have serious startup performance problems, some of which
may be relate to the transition to nsIFile from nsFileSpec. We have done *no*
performance evaluation of the various nsIFile implementations on each platform.
Reopening.
Status: RESOLVED → REOPENED
Resolution: LATER → ---
Comment 4•26 years ago
|
||
It was latered based on my evaluation of my task load.
What "performance enhancments" do you suspect were lost?
Updated•26 years ago
|
Status: REOPENED → ASSIGNED
Target Milestone: M14 → M18
| Reporter | ||
Comment 5•26 years ago
|
||
Well, in the Mac implementation, I suspect we are calling ResolveAlias and
PBGetCatInfo multiple times per file, for example. We did suffer a significant
slowdown in startup performance around the time that nsIFile landed, so I do
think that it is important to look at this.
If you like, file separate bugs for each platform, and then platform gurus can
look at them.
Comment 6•26 years ago
|
||
I think that this is a mac-only problem as on windows I have made sure that
resolving shortcuts are only called when a file does not exists and you call
stat. For example, when you are building a path a/b/c/d, the resolving shortcut
code will never be hit if a, b, and c exists.
As for unix, symlink resolution is done by the kernl.
Updated•25 years ago
|
QA Contact: leger → kandrot
Comment 7•25 years ago
|
||
M18 is an old milestone, moving forward in time.
Keywords: mozilla1.0
Target Milestone: M18 → mozilla0.9
Comment 9•25 years ago
|
||
waterson, is there anyone on your team that can investigate the impl of nsLocalFile?
Comment 10•25 years ago
|
||
dougt: is this the right milestone for this work? pls. retarget as necessary.
Target Milestone: --- → mozilla0.9
Comment 11•25 years ago
|
||
untargeting as I don;t have the cycles.
Target Milestone: mozilla0.9 → ---
Comment 13•25 years ago
|
||
cathleen, I am told that you have people that could look at this? if not assign
it back to me.
Assignee: dougt → cathleen
Status: ASSIGNED → NEW
Comment 14•25 years ago
|
||
I was wondering if you can help take a look... :-)
So, currently, there are a few things that raised the concers about nsIFiles
during the performance meeting. We don't have any quantified data, but people
have heard that switching from nsFileSpec to nsIFiles, there are some
performance issues. Also, bug 71447 which we try to open 34 RDF files that
don't exist takes 4% of startup time, increase the awareness of nsIFiles
perforance.
If you can give me some directions to get me started, I'd be glad to do some
investigations into it. (I also dont have a Mac, so I need some help from mac
people too!)
| Reporter | ||
Comment 17•25 years ago
|
||
kandrot says he's swamped, maybe try the original author, sdagley :)
Assignee: kandrot → sdagley
Updated•25 years ago
|
Target Milestone: --- → mozilla0.9.2
Comment 19•24 years ago
|
||
evaluation won't finish tonight...
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Updated•24 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Updated•24 years ago
|
Target Milestone: mozilla0.9.5 → mozilla1.0
Comment 20•24 years ago
|
||
I can take performance evaluation for unix.
I have already started writing a test suite for nsIFIle.
Taking bug.
--pete
Assignee: sdagley → petejc
Keywords: helpwanted
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 21•22 years ago
|
||
This bug is targeted at a Mac classic platform/OS, which is no longer supported
by mozilla.org. Please re-target it to another platform/OS if this bug applies
there as well or resolve this bug.
I will resolve this bug as WONTFIX in four weeks if no action has been taken.
To filter this and similar messages out, please filter for "mac_cla_reorg".
| Reporter | ||
Updated•22 years ago
|
OS: Mac System 8.5 → All
Hardware: Macintosh → All
Target Milestone: mozilla1.0 → ---
Updated•20 years ago
|
QA Contact: kandrot → pete
Updated•20 years ago
|
QA Contact: pete → xpcom
Comment 22•17 years ago
|
||
This bug hasen't been touched for years and is clearly unowned. Moving back to default assignee/QA so that people, who are watching those can accurately triage this bug.
Also resetting Priority, Target Milestone, Status Whiteboard and Status.
Assignee: pete → nobody
Status: ASSIGNED → NEW
Priority: P3 → --
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago → 16 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•