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

feat(adhoc): support passing custom spyName/unit #1417

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

eh-am
Copy link
Collaborator

@eh-am eh-am commented Aug 17, 2022

Just noticed @pavelpashkovsky needs this for #1392. This is just the backend part.

Basically allow passing custom spyName/units when uploading adhoc files. It does not work with diff, since diff takes 2 profile json files (which we assume are already in the correct shape).

RE implementation:
Added to the model's Convert so that we can reuse same functionality in other places transparently.

Modeled fields after @dogfrogfog's implementation in flamegraph.com

@eh-am eh-am marked this pull request as ready for review August 17, 2022 15:05
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
webapp/public/assets/app.js 416.03 KB (0%) 8.4 s (0%) 3.2 s (-37% 🔽) 11.5 s
webapp/public/assets/app.css 15.3 KB (0%) 307 ms (0%) 0 ms (+100% 🔺) 307 ms
webapp/public/assets/styles.css 9.46 KB (0%) 190 ms (0%) 0 ms (+100% 🔺) 190 ms
packages/pyroscope-flamegraph/dist/index.js 90.13 KB (0%) 1.9 s (0%) 1.2 s (-36.63% 🔽) 3.1 s
packages/pyroscope-flamegraph/dist/index.node.js 90.02 KB (0%) 1.9 s (0%) 713 ms (-6.02% 🔽) 2.6 s
packages/pyroscope-flamegraph/dist/index.css 6.77 KB (0%) 136 ms (0%) 0 ms (+100% 🔺) 136 ms

Copy link
Contributor

@Rperry2174 Rperry2174 left a comment

Choose a reason for hiding this comment

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

lgtm

@eh-am eh-am merged commit 9cc0f39 into main Aug 17, 2022
@eh-am eh-am deleted the feat/adhoc-support-custom-spyname-and-unit branch August 17, 2022 16:35
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.

3 participants