profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Add an importer for the text format taken as input by flamegraph.pl.

Open fqueze opened this issue 10 months ago • 1 comments

gradle-profiler can generate these profiles when using the async-profiler format or the jfr format. Example imported profiles for the async-profiler format and for the jfr format.

fqueze avatar Feb 07 '25 15:02 fqueze

Codecov Report

:x: Patch coverage is 97.77778% with 2 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 85.66%. Comparing base (f48e0e0) to head (3358235). :warning: Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/profile-logic/import/flame-graph.ts 97.72% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5359      +/-   ##
==========================================
- Coverage   85.66%   85.66%   -0.01%     
==========================================
  Files         313      313              
  Lines       30982    30985       +3     
  Branches     8515     8519       +4     
==========================================
+ Hits        26541    26543       +2     
- Misses       4011     4012       +1     
  Partials      430      430              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Feb 07 '25 15:02 codecov[bot]

I updated the code, rebased it after the TS migration and added some tests. Let me know what you think! Here's an example file that's also included in the branch: flamegraph.txt

canova avatar Dec 05 '25 13:12 canova