Closed
Bug 1106100
Opened 10 years ago
Closed 2 months ago
Figure out why jQuery's Data.accepts is ending up with MGetPropertyCache, not MGetDOMProperty for .nodeType
Categories
(Core :: JavaScript Engine: JIT, defect, P5)
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
platform-rel | --- | + |
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [platform-rel-jQuery])
My bet is that jQuery itself passes a non-DOM object through here, and then we can't do the faster path, but worth checking.
Updated•9 years ago
|
Whiteboard: [platform-rel-jQuery]
Updated•9 years ago
|
platform-rel: --- → ?
Updated•8 years ago
|
platform-rel: ? → +
Updated•8 years ago
|
Blocks: sm-js-perf
Priority: -- → P5
Updated•8 years ago
|
Rank: 75
Comment 1•8 years ago
|
||
Boris, is this still relevant? Is the potential performance win here beneficial enough that we'd tell jQuery people about it?
Flags: needinfo?(bzbarsky)
Reporter | ||
Comment 2•8 years ago
|
||
This came up in profiles in bug 1104898. I don't know whether it's still an issue with modern jQuery or how big the win would be in a non-synthetic testcase... Needs measuring.
Flags: needinfo?(bzbarsky)
I fixed some cases in CacheIR where "nodeType" was being looked up on primitive types like strings, and we are still missing an IC for looking up nodeType on arguments objects. I didn't look to deeply into where this happens, but I think this was jQuery or some related library. So I think some places where they use nodeType are quite polymorphic.
Reporter | ||
Comment 4•8 years ago
|
||
Right, see comment 0. In that case, it really might be worth it mentioning this to them....
(In reply to Boris Zbarsky [:bz] (still a bit busy) (if a patch has no decent message, automatic r-) from comment #4)
> Right, see comment 0. In that case, it really might be worth it mentioning
> this to them....
Boris - Could you use our ML to bring this to their attention, please?
Flags: needinfo?(bzbarsky)
Reporter | ||
Comment 6•8 years ago
|
||
Well, the first question is whether it's still an issue with modern jQuery as opposed to the ancient ones the benchmarks use. Someone needs to check that.
Flags: needinfo?(bzbarsky)
Updated•2 years ago
|
Severity: normal → S3
Comment 7•2 months ago
|
||
Is this still relavent?
Comment 8•2 months ago
|
||
I'm going to say no.
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•