...
首页> 外文期刊>ACM Queue: Architecting Tomorrow s Computing >Taking advantage of idleness to reduce dropped frames and memory consumption
【24h】

Taking advantage of idleness to reduce dropped frames and memory consumption

机译:利用空闲时间减少丢帧和内存消耗

获取原文

摘要

Ulan Degenbaev, Google Germany GmbH Jochen Eisinger, Google Germany GmbH Manfred Ernst, Google Inc. Ross McIlroy, Google UK Ltd. Hannes Payer, Google Germany GmbH Google's Chrome web browser strives to deliver a smooth user experience. An animation will update the screen at 60 FPS (frames per second), giving Chrome around 16.6 milliseconds to perform the update. Within these 16.6 ms, all input events have to be processed, all animations have to be performed, and finally the frame has to be rendered. A missed deadline will result in dropped frames. These are visible to the user and degrade the user experience. Such sporadic animation artifacts are referred to here as jank .~(3) JavaScript, the lingua franca of the web, is typically used to animate web pages. It is a garbage-collected programming language where the application developer does not have to worry about memory management. The garbage collector interrupts the application to pass over the memory allocated by the application, determine live memory, free dead memory, and compact memory by moving objects closer together. While some of these garbage-collection phases can be performed in parallel or concurrently to the application, others cannot, and as a result they may cause application pauses at unpredictable times. Such pauses may result in user-visible jank or dropped frames; therefore, we go to great lengths to avoid such pauses when animating web pages in Chrome.
机译:Ulan Degenbaev,谷歌德国有限公司Jochen Eisinger,谷歌德国有限公司Manfred Ernst,谷歌公司Ross McIlroy,谷歌英国有限公司Hannes Payer,谷歌德国有限公司Google的Chrome浏览器致力于提供流畅的用户体验。动画将以60 FPS(每秒帧)的速度更新屏幕,使Chrome大约有16.6毫秒执行更新。在这16.6毫秒内,必须处理所有输入事件,必须执行所有动画,最后必须渲染帧。错过最后期限将导致丢帧。这些对于用户是可见的,并且会降低用户体验。这样的零星动画伪像在此处称为“垃圾”。〜(3)JavaScript,即网络的通用语言,通常用于对网页进行动画处理。它是一种垃圾收集的编程语言,应用程序开发人员无需担心内存管理。垃圾回收器中断应用程序以传递由应用程序分配的内存,并通过将对象靠拢来确定活动内存,可用死内存和紧凑型内存。尽管其中一些垃圾收集阶段可以与应用程序并行或同时执行,但其他阶段则不能,因此,它们可能导致应用程序在不可预测的时间暂停。这样的暂停可能会导致用户看不见的垃圾或掉帧;因此,我们会竭尽全力避免在Chrome中制作网页动画时出现此类停顿。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号