2010 · 39 citations · 9 references
ComputingComputer ScienceComputer ArchitectureParallel ComputingProgramming LanguagesData ParallelismParallel ArchitecturesParallel ComputationParallel Performance AnalysisJavascriptJavascript Performance OptimizationLoop ParallelizationParallel Algorithm AnalysisParallelizationRegisters
JavaScript is ubiquitous on the web. At the same time, the language's dynamic behavior makes optimizations challenging, leading to poor performance. In this paper we conduct a limit study on the potential parallelism of JavaScript applications, including popular web pages and standard JavaScript benchmarks. We examine dependency types and looping behavior to better understand the potential for JavaScript parallelization. Our results show that the potential speedup is very encouraging- averaging 8.9x and as high as 45.5x. Parallelizing functions themselves, rather than just loop bodies proves to be more fruitful in increasing JavaScript execution speed. The results also indicate in our JavaScript engine, most of the dependencies manifest via virtual registers rather than hash table lookups.
9
An analysis of the dynamic behavior of JavaScript programs
Gregor Richards, Sylvain Lebresne, Brian R. Burg et al. · 2010 · 356 citations
Trace-based just-in-time type specialization for dynamic languages
Andreas Gal, Brendan Eich, Mike Shaver et al. · 2009 · 341 citations
Yunhe Shi, Kevin Casey, M. Anton Ertl et al. · ACM Transactions on Architecture and Code Optimization · 2008 · 107 citations · Full text
Fast and parallel webpage layout
Leo A. Meyerovich, Rastislav Bodík · 2010 · 104 citations
Crom: Faster web browsing using speculative execution
James Mickens, Jeremy Elson, Jon Howell et al. · 2010 · 44 citations