Closed
Bug 14294
Opened 26 years ago
Closed 26 years ago
_GetPref() & _GetBoolPref() called many times
Categories
(Core :: Layout, defect, P1)
Core
Layout
Tracking
()
VERIFIED
INVALID
M15
People
(Reporter: mcafee, Assigned: mcafee)
Details
(Keywords: perf)
linux, apprunner, debug.
The functions _GetPref() & _GetBoolPref() in nsBaseWidget.cpp
are called many, many times as running the app. Can we
cache this somehow? This seems like a waste to me.
Yeah it's debug, but we should look for speedups here too.
The prefs service is cached. To cache the pref value, you would have to code
pref callbaks or something.
This is debug only code, and there are much bigger fish to fry. So i dont plan
on fixing it.
| Assignee | ||
Updated•26 years ago
|
Assignee: ramiro → mcafee
| Assignee | ||
Comment 2•26 years ago
|
||
stealing this little fish.
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M12
| Assignee | ||
Updated•26 years ago
|
Target Milestone: M12 → M14
| Assignee | ||
Comment 4•26 years ago
|
||
m14
Hmmmm, methinks this may be what's making the prefs dialog so slow (something
that Rob Malda complained about in Slashdot M12 announcement). It would be
really nice to fix this for beta 1. How hard is it?
| Assignee | ||
Updated•26 years ago
|
Summary: Performance: _GetPref() & _GetBoolPref() called many times → [PERF] _GetPref() & _GetBoolPref() called many times
Whiteboard: [Perf]
| Assignee | ||
Comment 6•26 years ago
|
||
moving perf to summary
Comment 7•26 years ago
|
||
spam: added self to cc list as this might affect my realm.
Keywords: perf
Summary: [PERF] _GetPref() & _GetBoolPref() called many times → _GetPref() & _GetBoolPref() called many times
Comment 10•26 years ago
|
||
It's a debug build, and it's probably the paint-flashing stuff. We don't care
about performance of debug builds.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•