[Webkit-unassigned] [Bug 189507] New: [JSC] Optimize Array#indexOf in C++ runtime
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 11 10:54:11 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189507
Bug ID: 189507
Summary: [JSC] Optimize Array#indexOf in C++ runtime
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yusukesuzuki at slowstart.org
web-tooling-benchmark babylon shows that C++ runtime of Array#indexOf takes so much time (According to Linux perf, it shows 6.9% of the main thread, lol).
Our C++ Array#indexOf is too naive. It repeatedly calls getProperty function, which is not so fast.
We can add a fast path for JSArray, which should be similar to the thing implemented in DFG / FTL.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180911/d8baae12/attachment.html>
More information about the webkit-unassigned
mailing list