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:[email protected]]
Sent: Monday, November 24, 2014 8:19 AM
To: Baldeva, Arpit
Cc: [email protected]
Subject: Re: [webkit-dev] asm.js optimization path?



On Nov 24, 2014, at 7:56 AM, Baldeva, Arpit 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
https://lists.webkit.org/mailman/listinfo/webkit-dev
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to