Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Code Caching

0
0
Hi,

Does ClearScript support code caching?

I am running v8 (using ClearScript and ReactJS.net) on asp.net and the first request takes about 10 second to run all the code and then subsequent requests takes about 200ms.

I profiled it and saw the v8 takes 90% of this 10 seconds, I suspect that if there is a way to expose v8 code caching I would able to build code cache on build time (using MSBuild step) and then later use the code cache.

Is this supported? and does it relates to: https://clearscript.codeplex.com/discussions/560532 ?

V8 Blog explains code caching: http://v8project.blogspot.co.il/2015/07/code-caching.html

Viewing all articles
Browse latest Browse all 2297