[Webkit-unassigned] [Bug 148267] New: Investigate asm.js memory growth perf
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 20 16:59:32 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148267
Bug ID: 148267
Summary: Investigate asm.js memory growth perf
Classification: Unclassified
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: alonzakai at gmail.com
Created attachment 259529
--> https://bugs.webkit.org/attachment.cgi?id=259529&action=review
Fannkuch benchmark with memory growth
Attached is an example benchmark of fannkuch compiled by emscripten with asm.js memory growth. That means that the typed arrays representing memory (HEAP8, etc.) are modifiable, we replace them when we resize memory. (This uses ArrayBuffer.transfer when present, but does not depend on that.)
This is efficient in Firefox and Edge, as part of asm.js validation and the AOT compilation approach. On Chrome it is known to be slow,
https://code.google.com/p/v8/issues/detail?id=3907
Filip asked me to file this issue here, to investigate performance in JavaScriptCore.
Note that memory growth is disabled by default in emscripten, so probably not much code out there uses it. If we can see that it's fast across the board, it would be nice to enable it, as it lets people compile their code without deciding ahead of time on the maximum amount of memory.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150820/951493d6/attachment.html>
More information about the webkit-unassigned
mailing list