Bug 225983 - Ripping out broken Baseline JIT rare case profiling.
Summary: Ripping out broken Baseline JIT rare case profiling.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords: InRadar
: 224618 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-19 14:30 PDT by Mark Lam
Modified: 2021-05-19 15:31 PDT (History)
8 users (show)

See Also:


Attachments
proposed patch. (12.68 KB, patch)
2021-05-19 14:47 PDT, Mark Lam
saam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2021-05-19 14:30:10 PDT
The profiling has been broken in recent times.  Fixing it to work does not appear to improve performance.  Ripping out the profiling appears to not hurt performance.  However, ripping out the profiling appears to save on code size generated for the Baseline JIT.
Comment 1 Mark Lam 2021-05-19 14:47:38 PDT
Created attachment 429098 [details]
proposed patch.
Comment 2 Yusuke Suzuki 2021-05-19 14:55:19 PDT
*** Bug 224618 has been marked as a duplicate of this bug. ***
Comment 3 Robin Morisset 2021-05-19 14:55:38 PDT
Comment on attachment 429098 [details]
proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=429098&action=review

r=me too

> Source/JavaScriptCore/ChangeLog:9
> +        to improve performance.  Ripping out the profiling appears to not hurt performance.

Can you mention in the Changelog what performance test you ran to verify this (JetStream2? Speedometer?)?.
Comment 4 Mark Lam 2021-05-19 15:30:57 PDT
Thanks for the reviews.  Landed in r277758: <http://trac.webkit.org/r277758>.
Comment 5 Radar WebKit Bug Importer 2021-05-19 15:31:18 PDT
<rdar://problem/78227853>