profiler
profiler copied to clipboard
Extract networking logs from profile to Logan (log analyzer)
An idea that Kershaw proposed at Mozweek 2024:
A button to extract the networking logs (nsHttp, etc) from a profile (make with profilermarkers) and open them in the Necko tool, Logan (Log Analyzer)
The logan server can be found at: https://mozilla-necko.github.io/logan/
Logs in particular that would extracted:
nsHttp:5,cache2:5,DocumentLeak:5,PresShell:5,DocLoader:5,nsDocShellLeak:5,RequestContext:5,LoadGroup:5,nsSocketTransport:5
Documentation: https://github.com/mayhemer/logan#readme
┆Issue is synchronized with this Jira Task
I started something in https://github.com/firefox-devtools/profiler/pull/4973 but never got to finish it. I should come back at it...
Here's an example profile for testing: https://share.firefox.dev/3AUn2mZ I captured a page load of mozilla.org after using about:logging to start profiling with the Networking logging preset.
Here's another profile for testing: https://share.firefox.dev/3MEvMjO This one has all the loggers enabled that are listed in Andrew's initial comment.