profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Extract networking logs from profile to Logan (log analyzer)

Open acreskeyMoz opened this issue 1 year ago • 2 comments

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

acreskeyMoz avatar Aug 20 '24 19:08 acreskeyMoz

I started something in https://github.com/firefox-devtools/profiler/pull/4973 but never got to finish it. I should come back at it...

julienw avatar Aug 26 '24 16:08 julienw

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.

mstange avatar Sep 09 '24 20:09 mstange