首页> 外文期刊>IEEE computer architecture letters >Performance Scalability Analysis of JavaScript Applications with Web Workers
【24h】

Performance Scalability Analysis of JavaScript Applications with Web Workers

机译:具有Web Workers的JavaScript应用程序的性能可伸缩性分析

获取原文
获取原文并翻译 | 示例

摘要

Web applications are getting closer to the performance of native applications taking advantage of new standard-based technologies. The recent HTML5 standard includes, among others, the Web Workers API that allows executing JavaScript applications on multiple threads, or workers. However, the internals of the browser's JavaScript virtual machine does not expose direct relation between workers and running threads in the browser and the utilization of logical cores in the processor. As a result, developers do not know how performance actually scales on different environments and therefore what is the optimal number of workers on parallel JavaScript codes. This paper presents the first performance scalability analysis of parallel web apps with multiple workers. We focus on two case studies representative of different worker execution models. Our analyses show performance scaling on different parallel processor microarchitectures and on three major web browsers in the market. Besides, we study the impact of co-running applications on the web app performance. The results provide insights for future approaches to automatically find out the optimal number of workers that provide the best tradeoff between performance and resource usage to preserve system responsiveness and user experience, especially on environments with unexpected changes on system workload.
机译:利用基于新标准的技术,Web应用程序越来越接近本机应用程序的性能。最近的HTML5标准包括Web Workers API,该API允许在多个线程或worker上执行JavaScript应用程序。但是,浏览器的JavaScript虚拟机的内部结构并未公开工作程序与浏览器中正在运行的线程之间的直接关系以及处理器中逻辑核心的利用率。结果,开发人员不知道性能如何在不同的环境下实际扩展,因此不知道并行JavaScript代码的最佳工作人数是多少。本文介绍了具有多个工作程序的并行Web应用程序的首次性能可伸缩性分析。我们专注于代表不同工人执行模型的两个案例研究。我们的分析表明,在不同的并行处理器微体系结构和市场上的三种主要Web浏览器上,性能可以扩展。此外,我们研究了共同运行的应用程序对Web应用程序性能的影响。结果为将来的方法提供了见解,这些方法可以自动找出最佳数量的工作人员,这些工作人员可以在性能和资源使用之间进行最佳权衡,以保留系统响应能力和用户体验,尤其是在系统工作负载意外变化的环境中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号