Load a profile from URL doesn't work for perf script profiles
See original GitHub issueProfiles generated using perf script
can be opened from the file selection dialog, but loading the same file by URL fails with:
The profile could not be downloaded and decoded. This does not look like a supported file type.
JSON parsing error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Linux perf Examples - Brendan Gregg
Examples of using the Linux perf command, aka perf_events, for performance analysis and debugging. perf is a profiler and tracer.
Read more >profiler/guide-perf-profiling.md at main · firefox-devtools/profiler
The perf record command writes the profile into a file called perf. data in the current directory.
Read more >why does perf script not work? - Stack Overflow
perf script will show you the textual version of the stacks of your programs that you profiles with perf, which can be very...
Read more >Linux perf Profiler UIs - Mark Hansen's Blog
This post is a quick literature review of CPU profiler user interfaces available for analysing Linux program performance.
Read more >Using the AWS credentials file and credential Profiles
Each section (e.g., [default] , [project1] ), represents a separate credential profile. You can reference profiles from an SDK configuration file, or when...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can also give this a try: https://github.com/mstange/fxprof-perf-convert It’s not finished yet but it should work for most use cases.
For reference, this minimal patch fixes the issue (but will break other formats):
So now I can write a shell script that runs
perf
and automatically opens the profile in a local instance of this UI:With nginx configured as follows:
Pretty cool!