No Detail Found!

JSOPT: a Framework for Optimization of Javascript on Web Browsers.

Author(s)
Muhammad Waqas Department of Computer Science, Bahauddin Zakariya University, Multan, Pakistan
Minhaj Ahmad Khan Department of Computer Science, Bahauddin Zakariya University, Multan, Pakistan
Abstract
In the current era where multi-core technologies are very common in use, the existing web browsers are unable to fully utilize the capability of multi-core processors.The web browsers execute the JavaScript code locally in order to produce an efficient response of web pages. This responsiveness is however limited by the fact that the JavaScript code is uni-threaded, and consequently, the efficiency of the code degrades if it involves a large number of computations. In this paper, we propose a framework called JSOPT (JavaScript Optimizer) which generates an efficient JavaScript code to effectively utilize multi-core architectures. The framework uses a template containing constructs for communication & synchronization, and subsequently generates optimized code to be executed on the multi-core architectures. Multiple instances of templates are then generated with different implementations of the code and the best instance is selected to be incorporated in the library. With the optimized code generated using JSOPT, our results show a significant improvement in the performance of several benchmarks involving intensive computations based matrix operations on the Mozilla Firefox web browser.
Publication Details
Page(s) 95-104
DOI DOI not available
Published Journal: Mehran University Research Journal of Engineering and Technology, Volume: 37, Issue: 1, Year: 2018

Request the full text from PASTIC

Keywords
performance, Threads, Code Generation., Web Browsers
References
Quigley , E., 2010., -
Rousset , D., .Introduction to HTML5 Web Workers: The JavaScript Multi-threading Approach”, -
Bidelman , E., ., -
Mozila, 2015.,Mozilla Developer Network -
Hickson , I., ., -
Green , I.,Data-A Real, 2012.-big-data-a-real-worldexample., -
Clark , R.,Studholme , O.,Murphy , C.,Manian , D., 2012.Beginning HTML5 and CSS3”, -
Bronson , R., 2011.Schaum'sOutline of Matrix Operations”, -
Frigo , M., 2005.The Design and Implementation of FFTW3”,IEEE Proceedings 93 216 -231
Puschel , M.,Moura , J.,Singer , B.,Xiong , J.,Padua , D.,Veloso , M., 2004.SPIRAL: A Generator for Platform-Adapted Libraries of Signal Processing Algorithms”,International Journal of High Performance Computing Applications 18 21 -45
Souders , S.,O'Reilly Media, 2009.Even Faster Websites-Performance Best Practices for Web Developers”, -
Osmani , A.,Memory-EfficientJavaScript,SmashingMagazine,-, 2012., -
Souders , S.,O'Reilly Media, 2007.High Performance Websites-Essential Knowledge for Front-End Engineers”, -
Misra , S.,Cafer , F., 2012.,International Arab Journal of Information Technology 6 -
Graziotin , D.,Abrahamsson , P., 2013.Making Sense Out of a Jungle of JavaScript Frameworks - Towards a Practitioner Friendly Comparative Analysis”,Proceedings of 14th International Conference on Product-Focused Software Development and Process Improvement, Lecture Notes in Computer Science 334 -337
Gizas , A.,Christodoulou , S.,Papatheodorou , T., 2012.Comparative Evaluation of JavascriptFrameworks”,Proceedings of 21st International Conference Companion on World Wide Web Companion -
Martinsen , J.,Grahn , H.,Isberg , A., 2013.Using Speculation to Enhance JavascriptPerformance in Web Applications”,IEEE Internet Computing 17 10 -19
January,Alex , I., 2016.,“Top 23 Best Free JavaScript Frameworks for Web Developers 37 103 -7219
Welc , A.,Hudson , R.,Shpeisman , T.,Adl-Tabatabai , A., 2010.,Programming Support Innovations for Emerging Distributed Applications on PSI EtA -
Google , “Chrome V8 | Google Developers”, Google,Developers, ., -
Richards , G.,Lebresne , S.,Burg , B.,Vitek, 2010.An Analysis of the Dynamic behavior of JavaScript Programs”,ACM SIGPLAN Notices 45 1 -
Ratanaworabhan , P.,Livshits , B.,Zorn , B., 2010.JSMeter: Comparing the behavior of JavaScript Benchmarks with Real Web Applications”,Proceedings of USENIX Conference on Web Application Development -
Martinsen, J., and Grahn, H., “A Methodology for Evaluating JavaScript Execution behavior in Interactive Web Applications”, 9th IEEE/ACS International Conference on Computer Systems and Applications, 2011.
Watson, A., “Learning ModernizrCreate Forward-Compatible Websites using Feature Detection Features of Modernizr”, Birmingham, Packt Publishing, 2012.
Corti, S., “HTML5 Browser and Feature Detection”, MSDN Magazine, Microsoft Inc., Available at: http:// msdn.microsoft.com/en-us/magazine/hh475813.aspx
Bidelman, E., “Transferable Objects: Lightning Fast!”, HTML5 Rocks, Available at: http://updates.html5rocks.com/2011/12/Transferable-Objects-Lightning-Fast
Mozilla, “ArrayBuffer”, Mozilla Developer Network. [Online]. Available: https://developer.mozilla.org/en/ docs/Web/JavaScript/Reference/Global_Objects/ ArrayBuffer
0

Citations

0

Downloads

27

Views