Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions docs-developer/data-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@ Samples don't record every event that happens within the system, so some informa

### More Documentation on the Gecko Profiler:

- [nsIProfiler.idl](https://dxr.mozilla.org/mozilla-central/source/tools/profiler/gecko/nsIProfiler.idl)
- [ProfileEntry.h](https://dxr.mozilla.org/mozilla-central/rev/b043233ec04f06768d59dcdfb9e928142280f3cc/tools/profiler/core/ProfileBufferEntry.h#322-411)

- [Profile Data Format](./profile-data)

## Timeline - DocShell Markers (unused in the Firefox Profiler)

The Gecko Profiler records marker data, but it doesn't include all of the markers available in the system. There is a competing implementation of markers used exclusively by the Firefox Devtools that are recorded per DocShell. These are not currently integrated into the Firefox Profiler.

- [Timeline C++ Implementation](https://dxr.mozilla.org/mozilla-central/source/docshell/base/timeline)
- [Timeline Devtools JS Server](https://dxr.mozilla.org/mozilla-central/source/devtools/server/performance/timeline.ts)

## Tracelogger (unused in the Firefox Profiler)

While the previous performance tools collect information about how Gecko runs as a whole, Tracelogger is specific to the SpiderMonkey engine. Tracelogger is not sample based, therefore it records every step that the SpiderMonkey engine performs to run a given chunk of JavaScript code. It's primarily used by JavaScript engineers, and includes a firehose of information often reaching into the several gigs of information. There is no current integration of this information with the Firefox Profiler.

- [Tracelogger on GitHub](https://github.com/h4writer/tracelogger)
- [nsIProfiler.idl](https://searchfox.org/firefox-main/source/tools/profiler/gecko/nsIProfiler.idl)
- [ProfileBufferEntry.h](https://searchfox.org/firefox-main/rev/5ccf4a7d77a329f237d3a41e400049f9c47dc71f/tools/profiler/core/ProfileBufferEntry.h#433-566)
- [Gecko Profile Data Format](./gecko-profile-format.md)
2 changes: 1 addition & 1 deletion docs-developer/gecko-profile-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,6 @@ funcTable: {
}
```

[nsIProfiler]: https://dxr.mozilla.org/mozilla-central/source/tools/profiler/gecko/nsIProfiler.idl
[nsIProfiler]: https://searchfox.org/firefox-main/source/tools/profiler/gecko/nsIProfiler.idl
[ProfileBufferEntry.h]: https://searchfox.org/mozilla-central/rev/5966e98bdfa7355e0a3d9cce482f4717dc3419b0/tools/profiler/core/ProfileBufferEntry.h#358
[profiler.firefox.com]: https://profiler.firefox.com