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

Support Metadata like Threadid #40

Merged
merged 14 commits into from
Nov 16, 2023
Merged

Support Metadata like Threadid #40

merged 14 commits into from
Nov 16, 2023

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Nov 2, 2021

No description provided.

@NHDaly
Copy link
Member

NHDaly commented Nov 2, 2021

Cool, what's meta?

@vchuravy
Copy link
Member Author

vchuravy commented Nov 2, 2021

metadata like threadid

@NHDaly NHDaly changed the title Support Meta Support Metadata like Threadid May 12, 2023
test/PProf.jl Outdated Show resolved Hide resolved
Copy link
Member

@NHDaly NHDaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than deciding whether we want to require include_meta if the user passes in a fetched profile. If so, we should add a test that we do throw the expected assertion.

This is really nice and simple! Sorry it took me so long to review! :) Thanks for the PR

@NHDaly
Copy link
Member

NHDaly commented Oct 20, 2023

Omg wow, literally one year later

OMG no - TWO YEARS LATER! Yikes

@NHDaly NHDaly marked this pull request as ready for review October 20, 2023 21:07
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #40 (f8f1de9) into main (6e9f56c) will increase coverage by 0.24%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   96.66%   96.91%   +0.24%     
==========================================
  Files           3        3              
  Lines         300      324      +24     
==========================================
+ Hits          290      314      +24     
  Misses         10       10              
Files Coverage Δ
src/PProf.jl 99.32% <100.00%> (+0.13%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@NHDaly NHDaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I think this LGTM! I did end up adding backwards compatibility, so this should support older versions of julia as well. :)

Thanks for the PR valentin! Sorry it took me literally years to get to this. 😑

The next thing we need to do is go harass google/pprof to add the ability to filter by tags in the UI!

…atch every sample

Fix the bugs in handling those cases :)
@NHDaly
Copy link
Member

NHDaly commented Oct 20, 2023

It seems that the tests are broken on ubuntu, even on master. I'm inclined to merge this and deal with the broken tests later. Tests pass locally for me. :)

@NHDaly NHDaly merged commit 30785d3 into main Nov 16, 2023
10 of 11 checks passed
@NHDaly NHDaly deleted the vc/tags branch November 16, 2023 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants