最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

firefox - if javascript interpreter does "JIT compilation", does it cache results of it for use on the same sc

programmeradmin3浏览0评论

to make it more specific, I mostly care about SpiderMonkey interpreter in Firefox.

So suppose I want to speed up the loading of a particular website in my browser or else speed up loading of all websites that have some popular script, e.g. JQuery. Presumably the scripts involved don't change between the page reloads. Will SeaMonkey understand that much and avoid full repilation?

If SpiderMonkey wouldn't, will any other interpreter? Or is this basically a potential new feature which nobody cares about since puters are fast as is?

to make it more specific, I mostly care about SpiderMonkey interpreter in Firefox.

So suppose I want to speed up the loading of a particular website in my browser or else speed up loading of all websites that have some popular script, e.g. JQuery. Presumably the scripts involved don't change between the page reloads. Will SeaMonkey understand that much and avoid full repilation?

If SpiderMonkey wouldn't, will any other interpreter? Or is this basically a potential new feature which nobody cares about since puters are fast as is?

Share Improve this question edited Feb 25, 2013 at 12:56 j0k 22.8k28 gold badges81 silver badges90 bronze badges asked May 10, 2011 at 23:45 EndangeringSpeciesEndangeringSpecies 1,5941 gold badge17 silver badges39 bronze badges 2
  • Not sure, you might want to check out ejohn/blog/tracemonkey and developer.mozilla/En/Nanojit . Hilarity: "Figuring out how to pile it is left as an exercise for the reader;" – Adam Bergmark Commented May 11, 2011 at 1:59
  • 1 I think you mean SpiderMonkey, as SeaMonkey is a browser... – sdwilsh Commented May 11, 2011 at 14:20
Add a ment  | 

1 Answer 1

Reset to default 10

This is not an optimization Gecko does yet, but it's one we're looking into doing for sure. There are some plications to doing it, unfortunately.

发布评论

评论列表(0)

  1. 暂无评论