[webkit-dev] asm.js optimization path?
Baldeva, Arpit
abaldeva at ea.com
Tue Nov 25 15:10:01 PST 2014
Okay. Thanks for the input.
Let me ask a slightly different question (let me know if this should be a different thread). As background info, we are trying to optimize JavaScript execution without JIT support. Due to security restrictions by First Party, we are not allowed to JIT the JavaScript on some platforms. So we are looking for ideas on how to optimize runtime performance.
One of the idea we have had internally was what if we could AOT compile normal JavaScript (not same as asm.js) that we do not intend to update. I looked at http://trac.webkit.org/wiki/JavaScriptCore which mentions that type inference/profiling happens in the LLInt/Baseline JIT tier and used in DFG JIT layer. Would it be a bad idea to move/use the type inference in LLInt layer? What if such thing was possible, we preload our JS and make it run say few thousand times before actual execution need (so that we get better performance)?
Is there any other idea we can pursue for better performance by just using LLInt layer? Or the general thought process is that if you want better javascript performance, JIT support is expected.
Thanks
Arpit
From: Filip Pizlo [mailto:fpizlo at apple.com]
Sent: Monday, November 24, 2014 8:19 AM
To: Baldeva, Arpit
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] asm.js optimization path?
On Nov 24, 2014, at 7:56 AM, Baldeva, Arpit <abaldeva at ea.com<mailto:abaldeva at ea.com>> wrote:
Hi,
I was wondering if JavaScriptCore community ever considered adding optimization path for asm.js (http://asmjs.org/ ) ? I searched webkit bugzilla and did not find any relevant discussions.
Any opinions in favor/against it?
We strive to optimize the full JavaScript language rather than a subset.
I would be opposed to any change in this strategy.
-Filip
Thanks
Arpit
_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
https://lists.webkit.org/mailman/listinfo/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20141125/35878e07/attachment.html>
More information about the webkit-dev
mailing list