Summary: | [JSC] Add `typeof value === "symbol"` handling to bytecode compiler | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||
Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, keith_miller, mark.lam, msaboff, saam | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Yusuke Suzuki
2016-09-19 21:41:27 PDT
Benefit is super tiny, but it is consistent to the current implementation that have the similar path for "string" case. baseline patched is-symbol 1.5291+-0.0149 ^ 1.4763+-0.0160 ^ definitely 1.0358x faster is-symbol-mixed 4.7242+-0.1301 4.5916+-0.1242 might be 1.0289x faster Created attachment 289310 [details]
Patch
Comment on attachment 289310 [details]
Patch
Thanks!
Comment on attachment 289310 [details] Patch Clearing flags on attachment: 289310 Committed r206147: <http://trac.webkit.org/changeset/206147> All reviewed patches have been landed. Closing bug. |