检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49