Closed
Bug 614163
Opened 14 years ago
Closed 1 year ago
Slow property access on dromaeo's "jQuery -attr(class) x 100" benchmark
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf, Whiteboard: [platform-rel-jQuery])
This is in the "DOM Attributes (jQuery)" section in dromaeo. Nearly 20% of the time is dealing with resolves (due to JM not PICing DOM stuff with getters?) and in particular calling XPC_WN_ModsAllowed_ProtoResolve is about 10% of the total time. Peter, is that used for just normal DOM objects too?
Comment 1•13 years ago
|
||
Something to keep in mind is Dromaeo is using jQuery v1.2.3.
http://docs.jquery.com/Release:jQuery_1.2.3 from February 2008.
Reporter | ||
Comment 2•13 years ago
|
||
Yes, but it's just using the DOM. A newer jquery may use the DOM slightly differently, but it may not....
Or do you have concrete evidence the attr() has been significantly changed since in a way that makes this bug somehow irrelevant to our DOM performance?
Comment 3•13 years ago
|
||
DOM performance is important regardless of JS lib or lib version so please keep digging/investigating for perf improvements.
jQuery did do an overhaul of their attribute/property related methods in v1.6
http://blog.jquery.com/2011/05/03/jquery-16-released/
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Updated•8 years ago
|
Whiteboard: [platform-rel-jQuery]
Updated•8 years ago
|
platform-rel: --- → ?
Updated•8 years ago
|
platform-rel: ? → +
Updated•8 years ago
|
Rank: 45
Updated•8 years ago
|
Blocks: QF-Frameworks
Updated•8 years ago
|
Whiteboard: [platform-rel-jQuery] → [platform-rel-jQuery][qf]
Comment 4•8 years ago
|
||
Marking [qf:investigate:p1] so that someone would first investigate whether this is still an issue.
Whiteboard: [platform-rel-jQuery][qf] → [platform-rel-jQuery][qf:investigate:p1]
Updated•7 years ago
|
Whiteboard: [platform-rel-jQuery][qf:investigate:p1] → [platform-rel-jQuery][qf:p3]
Updated•3 years ago
|
Performance Impact: --- → P3
Whiteboard: [platform-rel-jQuery][qf:p3] → [platform-rel-jQuery]
Updated•2 years ago
|
Severity: normal → S3
Comment 5•1 year ago
|
||
I don't think a DOM bindings perf issue from 2010 is likely still relevant. For instance, we're not using XPConnect for normal web stuff so XPC_WN_ModsAllowed_ProtoResolve shouldn't be relevant.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•