RESOLVED FIXED 20823
op_eq_null and op_neq_null are slow
https://bugs.webkit.org/show_bug.cgi?id=20823
Summary op_eq_null and op_neq_null are slow
Cameron Zwarich (cpst)
Reported 2008-09-12 18:12:56 PDT
op_eq_null and op_neq_null take up 1.9% and 1.8% of the total Shark time on the V8 Richards benchmark. It should be possible to optimize them further.
Attachments
path that speeds up eq_nul / neq_null (23.98 KB, patch)
2008-09-22 06:37 PDT, Maciej Stachowiak
hyatt: review+
Geoffrey Garen
Comment 1 2008-09-15 12:20:15 PDT
Once Darin finishes giving StructureIDs to all DOM objects, we can move the masqueradesAsUndefined() bit into the StructureID, instead of a virtual function. Then, op_eq_null and op_neq_null can be completely inlined.
Maciej Stachowiak
Comment 2 2008-09-22 06:31:23 PDT
*** Bug 20984 has been marked as a duplicate of this bug. ***
Maciej Stachowiak
Comment 3 2008-09-22 06:37:00 PDT
Created attachment 23649 [details] path that speeds up eq_nul / neq_null
Dave Hyatt
Comment 4 2008-09-22 06:39:39 PDT
Don't you need to add the new file in WebCore to the other project files?
Dave Hyatt
Comment 5 2008-09-22 06:46:42 PDT
Comment on attachment 23649 [details] path that speeds up eq_nul / neq_null r=me, but please patch all project files.
Maciej Stachowiak
Comment 6 2008-09-22 07:27:36 PDT
Landed (w/ fixes to other project files).
David Kilzer (:ddkilzer)
Comment 7 2008-09-22 11:14:41 PDT
(In reply to comment #6) > Landed (w/ fixes to other project files). r36764
Note You need to log in before you can comment on or make changes to this bug.