什么是“CC图形缩减”在Firefox性能工具是什么意思? [英] What does "CC Graph Reduction" in Firefox Performance tool mean?

查看:349
本文介绍了什么是“CC图形缩减”在Firefox性能工具是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Firefox开发者工具,特别是 Perfomance 选项卡来分析JavaScript应用程序。

在结果中,我看到以下条目:


缩减CC图 - ForgetSkippable

不幸的是我找不到明确的文件解释它是什么。

我想知道:

$ ul $ >解决方案

根据该MDN文档 CC代表循环收集。有关周期收集的一些解释可以在 Kyle Huey的博客文章中找到。这篇文章描述如下:

lockquote

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

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



不幸的是,CC图形缩减事件似乎没有任何解释,它与周期收集事件。因此,我创建了一个错误报告,要求描述可用的不同过滤器 Performance 面板中。



更新: >CC图减少事件在MDN页上描述了解释性能瀑布图,像这样:

lockquote

准备/周期收集的预优化。



I am profiling a JavaScript application using the Firefox developer tools, specifically the Perfomance tab.

In the result I see the following entry:

CC Graph Reduction - ForgetSkippable

Unfortunately I cannot find a clear documentation explaining what it is.

I would like to know:

  • What is it?
  • When is this event usually fired?

解决方案

According to the MDN documentation CC stands for "cycle collection". Some explanation on what cycle collection is can be found in a blog post of Kyle Huey. This post describes it like this:

The cycle collector is sort of like a garbage collector for C++.

And a garbage collector is used to detect objects in memory, which are not referenced. The memory holding those objects can then be freed.

Unfortunately there doesn't seem to be any explanation for the 'CC Graph Reduction' event and how it differs from the 'Cycle Collection' event. So, I've created a bug report asking to describe the different filters available within the Performance panel.

Update:

The 'CC Graph Reduction' event got described on the MDN page explaining the performance waterfall graph like this:

Preparation/pre-optimization for Cycle Collection.

这篇关于什么是“CC图形缩减”在Firefox性能工具是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆