Time compiler for embedded JavaScript engine research and design

Author
ZhangRui
Advisor
LuoKeLu
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP314 Compiler,interpreter
Degree
Master's thesis
Year
2011
Downloads
107
Citations
4

Request the full text

Abstract

JavaScript is a page scripting language embedded in the web page. It serves as a way for the web users to interact with the dynamic web pages. A JavaScript Engine is an integral part of a web browser. It is used to parse and execute JavaScript code.With the development of Internet technology, there are growing requirements for the dynamic web sites. Many newly developed networks applications are based on the JavaScript technology, to provide abundant services. As a result, the efficiency of JavaScript Engine is becoming the critical complication of the efficiency of the whole browser performance. And so is the experience of terminal web users.Profound changes in internet lead to continuous progress of embedded web browser, and bring higher expectation to the embedded JavaScript Engine. Traditional JavaScript Engines for embedded devices always execute JavaScript with an Interpreter. This architecture can be easily port among various platforms. However, in another hand, the efficiency is low, which may not so good to come up with current web needs.This dissertation studies the architecture of the JavaScript Interpreter, and designs a corresponding Just-In-Time(JIT for short) Complier. This JIT Complier can comply JavaScript into machine code which can be directly executed by CPU, and then execute it. In this way, the performance of the JavaScript Engine enhanced distinctly. After that, this dissertation optimizes the JIT complier, and then ports it to an embedded web browser of a Digital TV Set Top Box.At last, the new JavaScript Engine with JIT complier passes the Sunspider JavaScript Benchmark. According to the test, The JIT complier has proved a better performance than the original Interpreter. At the beginning of 2011, The JIT complier designed in this dissertation had already been commercialized along with the embedded web browser.

Related dissertations

  1. Research on Program Optimization of Inventory Improvement for H Company
    ZhangYue ·Hebei University of Technology ·2012 ·Master's thesis
  2. The Diagnostic Analysis of H Company Vendor Managed Inventory VMI Management Model Establishment
    ChenWeiNa ·South China University of Technology ·2013 ·Master's thesis
  3. The Improvement on Inventory Management of Changchun TI Company
    ZhouYan ·Jilin University ·2013 ·Master's thesis
  4. Research on Lean Production Theory in Warehouse Management Improvement of TAS Company
    ShiHongYan ·Tianjin University ·2012 ·Master's thesis
  5. Inventory Management of China Plant of B Corporation
  6. Long Lead Time Material Purchasing Strategy for Hennecke Company
  7. Research on Packing Materials Inventory Management of a Company
    LaiXiaoZuo ·Xiamen University ·2014 ·Master's thesis
  8. Research on the Procurement Path Optimization Based on EOQ-JIT Cost Indifference Point
    BaiJingHui ·Chongqing Jiaotong University ·2012 ·Master's thesis
  9. Research on Inventory Management Model Based on the Combination of VMI and JIT under the Environment of Supply Chain
    HuangLiMin ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. The Design and Implementation of Industrial Robot Programming Language
  11. Porting and Research on Android Based on CK810
    YuChaoJun ·Zhejiang University ·2014 ·Master's thesis
  12. An Empirical Study on Cohesive Devices in Chinese-english Consecutive Interpretation
    ZhuZuo ·Hunan University ·2013 ·Master's thesis
  13. A Survey of Diplomatic Consecutive Interpreting(CI) from the Perspective of Interaction Models
  14. The Professionalization of Simultaneous Interpreting for TV
    LinZuo ·Fujian Normal University ·2012 ·Master's thesis
  15. On Tactics for Unexpected Circumstances in Consecutive Interpretation
    JiangPeiYun ·Hunan University ·2013 ·Master's thesis
  16. The Importance of Communication Ability in Foreign Affair Interpretation
    NaRiNa ·Xinjiang Normal University ·2013 ·Master's thesis
  17. The Planning and Design of Engine Manufacturing Based on Lean Production
    ZhouHuCheng ·Tianjin University ·2012 ·Master's thesis
  18. Port Equipment Spare Parts Inventory Management Under the Environment of JIT
    LaiShuJian ·Dalian Maritime University ·2013 ·Master's thesis
  19. Research and Applications of the Tool Path Planning Method of Sculptured Surface Machining and the Key Technology of Interpreter
    ChenLong ·University of Science and Technology of China ·2013 ·Doctoral dissertation
  20. Research on NC Milling System Based on STEP-NC