RESOLVED FIXED 132314
Simplify tryCacheGetById
https://bugs.webkit.org/show_bug.cgi?id=132314
Summary Simplify tryCacheGetById
Mark Hahnenberg
Reported 2014-04-28 17:38:43 PDT
There's some duplicate logic between tryCacheGetById and tryBuildGetByIDList. We should just do self caching in tryCacheGetById, and if we fail then we should try calling tryBuildGetByIDList before giving up.
Attachments
Patch (3.68 KB, patch)
2014-04-28 17:40 PDT, Mark Hahnenberg
oliver: review+
Perf results (40.63 KB, text/plain)
2014-04-28 19:02 PDT, Mark Hahnenberg
no flags
Mark Hahnenberg
Comment 1 2014-04-28 17:40:49 PDT
Filip Pizlo
Comment 2 2014-04-28 18:58:41 PDT
Comment on attachment 230342 [details] Patch R=me too, what is the perf impact?
Mark Hahnenberg
Comment 3 2014-04-28 19:02:32 PDT
Created attachment 230350 [details] Perf results Here's the results. Neutral. I re-ran sun spider with inner, outer = 8, 8, and it looked like a small progression ~0.5%.
Filip Pizlo
Comment 4 2014-04-28 19:30:58 PDT
(In reply to comment #3) > Created an attachment (id=230350) [details] > Perf results > > Here's the results. Neutral. I re-ran sun spider with inner, outer = 8, 8, and it looked like a small progression ~0.5%. Yeah that looks pretty good!
Filip Pizlo
Comment 5 2014-04-28 19:31:14 PDT
(In reply to comment #4) > (In reply to comment #3) > > Created an attachment (id=230350) [details] [details] > > Perf results > > > > Here's the results. Neutral. I re-ran sun spider with inner, outer = 8, 8, and it looked like a small progression ~0.5%. > > Yeah that looks pretty good! Wait ... did you enable FTL in that run?
Mark Hahnenberg
Comment 6 2014-04-28 19:47:59 PDT
(In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > Created an attachment (id=230350) [details] [details] [details] > > > Perf results > > > > > > Here's the results. Neutral. I re-ran sun spider with inner, outer = 8, 8, and it looked like a small progression ~0.5%. > > > > Yeah that looks pretty good! > > Wait ... did you enable FTL in that run? Yep. I ran with the same flags and only added the "--sunspider --inner 8 --outer 8" before the VMs. Why?
Filip Pizlo
Comment 7 2014-04-28 20:06:11 PDT
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > (In reply to comment #3) > > > > Created an attachment (id=230350) [details] [details] [details] [details] > > > > Perf results > > > > > > > > Here's the results. Neutral. I re-ran sun spider with inner, outer = 8, 8, and it looked like a small progression ~0.5%. > > > > > > Yeah that looks pretty good! > > > > Wait ... did you enable FTL in that run? > > Yep. I ran with the same flags and only added the "--sunspider --inner 8 --outer 8" before the VMs. Why? Just checking how you built since FTL is disabled by default on most OSes.
Mark Hahnenberg
Comment 8 2014-04-28 20:11:25 PDT
Note You need to log in before you can comment on or make changes to this bug.