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
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
- Research on Program Optimization of Inventory Improvement for H Company
- The Diagnostic Analysis of H Company Vendor Managed Inventory VMI Management Model Establishment
- The Improvement on Inventory Management of Changchun TI Company
- Research on Lean Production Theory in Warehouse Management Improvement of TAS Company
- Inventory Management of China Plant of B Corporation
- Long Lead Time Material Purchasing Strategy for Hennecke Company
- Research on Packing Materials Inventory Management of a Company
- Research on the Procurement Path Optimization Based on EOQ-JIT Cost Indifference Point
- Research on Inventory Management Model Based on the Combination of VMI and JIT under the Environment of Supply Chain
- The Design and Implementation of Industrial Robot Programming Language
- Porting and Research on Android Based on CK810
- An Empirical Study on Cohesive Devices in Chinese-english Consecutive Interpretation
- A Survey of Diplomatic Consecutive Interpreting(CI) from the Perspective of Interaction Models
- The Professionalization of Simultaneous Interpreting for TV
- On Tactics for Unexpected Circumstances in Consecutive Interpretation
- The Importance of Communication Ability in Foreign Affair Interpretation
- The Planning and Design of Engine Manufacturing Based on Lean Production
- Port Equipment Spare Parts Inventory Management Under the Environment of JIT
- Research and Applications of the Tool Path Planning Method of Sculptured Surface Machining and the Key Technology of Interpreter
- Research on NC Milling System Based on STEP-NC