RESOLVED FIXED 145412
REGRESSION: These sorting idioms used by Peacekeeper and Browsermark are ~20X slower
https://bugs.webkit.org/show_bug.cgi?id=145412
Summary REGRESSION: These sorting idioms used by Peacekeeper and Browsermark are ~20X...
Geoffrey Garen
Reported 2015-05-27 11:33:19 PDT
REGRESSION: These sorting idioms used by Peacekeeper and Browsermark are ~20X slower
Attachments
Patch (1.39 KB, patch)
2015-05-27 11:50 PDT, Geoffrey Garen
no flags
Patch (4.11 KB, patch)
2015-05-27 15:54 PDT, Geoffrey Garen
no flags
Patch (4.23 KB, patch)
2015-05-27 16:26 PDT, Geoffrey Garen
no flags
Patch (4.18 KB, patch)
2015-05-29 17:11 PDT, Geoffrey Garen
no flags
Patch (4.18 KB, patch)
2015-05-29 17:13 PDT, Geoffrey Garen
darin: review+
Geoffrey Garen
Comment 1 2015-05-27 11:50:40 PDT
Geoffrey Garen
Comment 2 2015-05-27 11:51:12 PDT
This is a partial fix for the regression.
Geoffrey Garen
Comment 3 2015-05-27 11:53:28 PDT
(I'm still waiting on a build to get performance numbers.)
Darin Adler
Comment 4 2015-05-27 11:53:59 PDT
Comment on attachment 253797 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253797&action=review > Source/JavaScriptCore/ChangeLog:10 > + Use @toString instead of the String constructor because calls to the > + String constructor are never optimized. (See > + https://bugs.webkit.org/show_bug.cgi?id=144458.) What’s the downside of using @toString? Would we want to change this back some day if resolved bug 144458?
Geoffrey Garen
Comment 5 2015-05-27 12:59:45 PDT
There's no downside to @toString. Assuming that ES6 settles on making ToString and String identical in behavior, we might eventually remove @toString once @String is fast.
Geoffrey Garen
Comment 6 2015-05-27 13:42:14 PDT
Geoffrey Garen
Comment 7 2015-05-27 15:54:06 PDT
Reopening to attach new patch.
Geoffrey Garen
Comment 8 2015-05-27 15:54:07 PDT
Geoffrey Garen
Comment 9 2015-05-27 16:26:39 PDT
Geoffrey Garen
Comment 10 2015-05-27 16:43:35 PDT
Geoffrey Garen
Comment 11 2015-05-29 17:11:10 PDT
Reopening to attach new patch.
Geoffrey Garen
Comment 12 2015-05-29 17:11:12 PDT
Geoffrey Garen
Comment 13 2015-05-29 17:13:54 PDT
Geoffrey Garen
Comment 14 2015-06-01 11:40:49 PDT
Note You need to log in before you can comment on or make changes to this bug.