2016-01-21 89 views
12

我正在使用Firefox开发人员工具,特别是Perfomance选项卡来分析JavaScript应用程序。Firefox性能工具中的“CC Graph Reduction”是什么意思?

在结果我看到下面的条目:

CC图规约 - ForgetSkippable

不幸的是我无法找到一个明确的文件,说明它是什么。

我想知道:

  • 这是什么?
  • 什么时候这个事件通常会被解雇?

回答

9

According to the MDN documentation CC代表“循环收集”。有关什么周期收集的一些解释可以在blog post of Kyle Huey中找到。本文描述如下:

循环收集器有点像C++的垃圾收集器。

而垃圾收集器用于检测内存中未引用的对象。然后可以释放存储这些对象的内存。

不幸的是,'CC图形缩减'事件似乎没有任何解释,它与“周期收集”事件有什么不同。所以,我创建了Performance面板中的bug report asking to describe the different filters

更新:

'抄送图规约' 事件得到了described on the MDN page explaining the performance waterfall graph这样的:

准备/预优化循环收集。