Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

chrome2calltree

> 编程语言
Open source

Convert CPU profiles exported from Chrome to callgrind format

394 stars0 likes2 views
WebsiteGitHub

About

Convert CPU profiles exported from Chrome to callgrind format

chrome2calltree

Convert CPU profiles exported from Chrome to callgrind format.

Installation

This is only useful if you have KCacheGrind or QCacheGrind installed.

To install KCacheGrind on Linux:

bash
sudo apt-get install kcachegrind

To install QCacheGrind on OS X:

bash
brew install qcachegrind

Once you have that, grab the npm package:

bash
npm install -g chrome2calltree

Usage

Collect a Chrome CPU profile either by using console.profile() or by clicking buttons in the Developer Tools. Save the profile somewhere to disk.

Assuming you have KCacheGrind or QCacheGrind installed, you can then load your CPU profile using chrome2calltree. Note that it might open in the background, so you might have to manually switch applications.

chrome2calltree -k -i ~/Downloads/CPU-20131213T155541.cpuprofile

If you want to save the converted callgrind output for later, you can do that using the -o flag.

chrome2calltree -i ~/Downloads/CPU-20131213T155541.cpuprofile -o foobar.profile
…

Issues· 2 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言