嵌入式浏览器JavaScript引擎的研究与设计  被引量:3

STUDY AND DESIGN OF EMBEDDED BROWSER JAVASCRIPT ENGINE

在线阅读下载全文

作  者:余启洋[1] 桑楠[1] 郭文生[1] 

机构地区:[1]电子科技大学计算机科学与工程学院,四川成都611371

出  处:《计算机应用与软件》2014年第5期251-255,共5页Computer Applications and Software

基  金:国家核高基重大专项目(2012ZX01033001-001)

摘  要:针对JavaScript引擎在即时编译模式下的开销过高和网页加载时间过长的问题,改进JavaScript引擎中即时编译模式的编译方式,设计一种对JavaScript代码的动态编译方式,只对JavaScript代码中频繁执行的热点区域进行即时编译,其余代码则运行在解释模式下,合理地利用了即时编译模式。实验测试结果表明,动态编译方式能够减少JavaScript引擎的开销耗费,加快网页的加载速度。Aiming at the problems of high overhead and too long time in web pages loading the JavaScript engine has in just-in-time compilation mode,in this paper we improve the compiling way of just-in-time compilation mode in JavaScript engine,design a dynamic compilation way for JavaScript code,which only compiles instantaneously the hot area frequently executed in JavaScript code,while the rest of the JavaScript codes are running in interpretation mode,thus the just-in-time compilation is properly used. Finally the experimental result shows that the dynamic compilation way can reduce the overhead of the JavaScript engine,and decreases the web pages loading time.

关 键 词:JAVASCRIPT引擎 即时编译 动态编译 热点区域 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象