Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Time Duration in Stats Modal #659

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

RafaelWO
Copy link
Contributor

@RafaelWO RafaelWO commented Aug 3, 2024

Closes #646

Describe your changes
This PR adds the time duration to the stats modal (in base.html) based on the existing values for start and end time.

Testing performed
To test this feature I installed memray from source and generated a flamegraph on a sample file. Below is a screenshot of the stats modal including the time duration.

grafik

Additional context
n/a

@codecov-commenter
Copy link

codecov-commenter commented Aug 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.09%. Comparing base (260b8d5) to head (061584b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #659   +/-   ##
=======================================
  Coverage   93.09%   93.09%           
=======================================
  Files          94       94           
  Lines       11420    11420           
  Branches     2094     2094           
=======================================
  Hits        10631    10631           
  Misses        789      789           
Flag Coverage Δ
cpp 93.09% <ø> (ø)
python_and_cython 93.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pablogsal
Copy link
Member

Thanks for the PR @RafaelWO !

@pablogsal pablogsal merged commit 9044940 into bloomberg:main Aug 9, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add time duration to flamegraphs (and possibly other reports)
4 participants