blob: 4c6d6b2849c55f3288aa20a3d84f3a41ff6bf3d9 [file] [log] [blame] [view]
andybons3322f762015-08-24 21:37:091# Linux Profiling
2
qyearsleyc0dc6f42016-12-02 22:13:393How to profile Chromium on Linux.
andybons3322f762015-08-24 21:37:094
andybonsad92aa32015-08-31 02:27:445See
6[Profiling Chromium and WebKit](https://sites.google.com/a/chromium.org/dev/developers/profiling-chromium-and-webkit)
7for alternative discussion.
andybons3322f762015-08-24 21:37:098
9## CPU Profiling
10
11gprof: reported not to work (taking an hour to load on our large binary).
12
andybonsad92aa32015-08-31 02:27:4413oprofile: Dean uses it, says it's good. (As of 9/16/9 oprofile only supports
14timers on the new Z600 boxes, which doesn't give good granularity for profiling
15startup).
andybons3322f762015-08-24 21:37:0916
17TODO(willchan): Talk more about oprofile, gprof, etc.
18
andybonsad92aa32015-08-31 02:27:4419Also see
20https://sites.google.com/a/chromium.org/dev/developers/profiling-chromium-and-webkit
andybons3322f762015-08-24 21:37:0921
22### perf
23
andybonsad92aa32015-08-31 02:27:4424`perf` is the successor to `oprofile`. It's maintained in the kernel tree, it's