flamegraph #12

Open
artemis wants to merge 2 commits from artemis/breezewiki:flamegraph into main
First-time contributor

add flamegraph profiling to the tests and switch the tests to time minecraft/Block instead of minecraft/Frog

you need to

raco pkg install profile-flame-graph

for this to work. i wasnt really sure if there was a way to add that as a test-dependency, or make it only import/run if profile-flame-graph is actually installed. you would know better than me.

you also need flamegraph.pl installed which may or may not be available from your package manager. on gentoo it's dev-util/FlameGraph. I think https://github.com/brendangregg/FlameGraph is the source

anyways it will generate the flamegraphs for u automatically after that in /storage

also you need to use raco test --errortrace so that the errortrace library is loaded up for the errortrace version of the flamegraphadd flamegraph profiling to the tests and switch the tests to time minecraft/Block instead of minecraft/Frog

you need to

raco pkg install profile-flame-graph

for this to work. i wasnt really sure if there was a way to add that as a test-dependency, or make it only import/run if profile-flame-graph is actually installed. you would know better than me.

you also need flamegraph.pl installed which may or may not be available from your package manager. on gentoo it's dev-util/FlameGraph. I think https://github.com/brendangregg/FlameGraph is the source

anyways it will generate the flamegraphs for u automatically after that in /storage

also you need to use raco test --errortrace so that the errortrace library is loaded up for the errortrace version of the flamegraph

add flamegraph profiling to the tests and switch the tests to time minecraft/Block instead of minecraft/Frog you need to ``` raco pkg install profile-flame-graph ``` for this to work. i wasnt really sure if there was a way to add that as a test-dependency, or make it only import/run if profile-flame-graph is actually installed. you would know better than me. you also need `flamegraph.pl` installed which may or may not be available from your package manager. on gentoo it's `dev-util/FlameGraph`. I think https://github.com/brendangregg/FlameGraph is the source anyways it will generate the flamegraphs for u automatically after that in /storage also you need to use `raco test --errortrace` so that the errortrace library is loaded up for the errortrace version of the flamegraphadd flamegraph profiling to the tests and switch the tests to time minecraft/Block instead of minecraft/Frog you need to ``` raco pkg install profile-flame-graph ``` for this to work. i wasnt really sure if there was a way to add that as a test-dependency, or make it only import/run if profile-flame-graph is actually installed. you would know better than me. you also need `flamegraph.pl` installed which may or may not be available from your package manager. on gentoo it's `dev-util/FlameGraph`. I think https://github.com/brendangregg/FlameGraph is the source anyways it will generate the flamegraphs for u automatically after that in /storage also you need to use `raco test --errortrace` so that the errortrace library is loaded up for the errortrace version of the flamegraph
artemis added 2 commits 2023-03-25 01:50:03 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b artemis-flamegraph main
git pull flamegraph

Step 2:

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff artemis-flamegraph
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cadence/breezewiki#12
No description provided.