원문정보
초록
영어
With more and more consumer electronics apply multi-core chips, the traditional serialized JavaScript execution engine, which is optimized by just-in-time (JIT) compilation technology, fails to utilize multi-core advantages. This paper proposes a mathematical model to detect the dependency of serial JavaScript tasks and a parallelism execution algorithm for serial JavaScript execution engines. Moreover, the parallel JavaScript execution engine with thread-level speculation technology is implemented based on the SquirrelFish Extreme engine of WebKit. As the experiment were conducted respectively on the general test platform platform Sunspider in the industry and world top 15 websites at traffic volume, the results indicate that both in the real Web application and Sunspider platform, the parallel JavaScript execution engines with 2 to 16 threads can raise the performance dramatically compared with a SquirrelFish execution engine with or without JIT acceleration, respectively.
목차
1. Introduction
2. Feasible Analysis of Parallel JavaScript Execution Engine
2.1. Principle Analysis of JavaScript Execution Engine
2.2. Parallelism Instances of JavaScript Execution Engine
2. Parallel algorithm of JavaScript Execution Engine
2.1. Mathematical Model Analysis of JavaScript Task Dependency
2.2. Parallel algorithm of JavaScript Execution Engine
3. Algorithm Implementation
3.1. Algorithm for Serial JavaScript Task Partitioning
3.2. Dependency Matrix Computation
3.3. Parallel Execution of Serial JavaScript
4. Performance Evaluation
4.1. Theoretical Analysis
4.2. Experimental Analysis
5. Conclusions
Acknowledgements
References