Closed
Bug 266071
Opened 20 years ago
Closed 20 years ago
slight perf loss after splitting libxpcom.so
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
mozilla1.8beta1
People
(Reporter: darin.moz, Assigned: darin.moz)
Details
(Keywords: perf)
Attachments
(1 file)
|
772 bytes,
patch
|
benjamin
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
slight perf loss after splitting libxpcom.so the patch for bug 262218 seems to have degraded performance on linux slightly. Tp, Tdhtml, Txul and Ts were all affected. however, win32 and osx platforms appear to have been unaffected. it's unclear how the library change could have impacted performance since we just moved a library dependency from libxpcom.so to libxpcom_core.so. a couple interesting points: - previously, all components most likely accessed the copy of the string library contained in mozilla-bin. now, they are accessing it from libxpcom_core.so. - all of our component libs now link to libxpcom_core.so as well as libxpcom.so, even though they do not (or should not) be referencing any symbols in libxpcom.so. perhaps this is playing a role somehow.
| Assignee | ||
Updated•20 years ago
|
Severity: normal → minor
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta
| Assignee | ||
Comment 1•20 years ago
|
||
might be worth it to try making mozilla-bin not dlopen libxpcom.so (i.e., skip the pointless GRE dance).
| Assignee | ||
Comment 2•20 years ago
|
||
I applied this test patch to the trunk to see what it would do. Here are some early results: btek Tp : unaffected luna Tp : unaffected luna Tdhtml : reduced by 30ms (out of a 40ms overall increase) luna Txul : reduced by 20ms (out of a 20ms overall increase) luna Ts : reduced by 50ms (out of a 100ms overall increase) so, this doesn't really solve the mystery, but it certainly helps.
| Assignee | ||
Comment 3•20 years ago
|
||
Comment on attachment 163525 [details] [diff] [review] test patch I'd like to leave this in since it helps a bit... so reviews seem to be in order.
Attachment #163525 -
Flags: superreview?(bryner)
Attachment #163525 -
Flags: review?(bsmedberg)
Updated•20 years ago
|
Attachment #163525 -
Flags: review?(bsmedberg) → review+
Updated•20 years ago
|
Attachment #163525 -
Flags: superreview?(bryner) → superreview+
| Assignee | ||
Comment 4•20 years ago
|
||
marking WONTFIX. with libxul on the horizon, libxpcom_core shouldn't be around long enough for us to care about this slight perf regression.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•