最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - What does "CC Graph Reduction" in Firefox Performance tool mean? - Stack Overflow

programmeradmin2浏览0评论

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?

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?
Share Improve this question edited Jan 21, 2016 at 12:53 Sebastian Zartner 20.1k10 gold badges102 silver badges141 bronze badges asked Jan 21, 2016 at 11:07 GibboKGibboK 73.9k147 gold badges451 silver badges672 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 18

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.

发布评论

评论列表(0)

  1. 暂无评论