Thanks, i will try what you said.
在 2015年1月30日星期五 UTC+8下午9:07:31,Yang Guo写道:
You are welcome to play around with code caching. Take a look at
CompileString in src/d8.cc or test/cctest/test-serialize.cc for examples.
On Wednesday, January 28, 2015 at 6:01:22 AM UTC+1, Jiang Kelvin wrote:
You are welcome to play around with code caching. Take a look at
CompileString in src/d8.cc or test/cctest/test-serialize.cc for examples.
On Wednesday, January 28, 2015 at 6:01:22 AM UTC+1, Jiang Kelvin wrote:
Thanks for sharing the details of technology. Maybe it is also really hard
to
so, if it that is possible to geneate non-optimized at other remote device
then push and run on new running devices, i means full compile JavaScript
on cloud then excute genereted binary on app installed devices.
在 2015年1月28日星期三 UTC+8下午1:01:22,Jiang Kelvin写道:
Thanks for sharing the details
It's complicated.
V8 has a so-called snapshotting mechanism which is used to speed up
startup. Recently people have been working on using it to cache other code
as well.
That said, this is no silver bullet, as there are a number of inherent
challenges:
- dynamic languages like JavaScript are not
Not all js files are online, such as the js files in
extensions/web-apps/application-cache. If we can save the result of
compilation when installing or upgrading them, and just load and run the
binary codes when calling a js function(think about the ART of Android), is
it possible to improve