Closed codefromthecrypt closed 11 months ago
cc @achille-roussel I was hoping to make this actually run an embedded pprof server, but figured something more manual is a good step one. Feel free to push commits if it isn't that hard to do it.
updated the PR desc as this has the latest wzprof which has less warnings in the output. Also the syntax is nicer thanks to @pelletier and @achille-roussel for this great tool!
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: codefromthecrypt, kerthcet, sanposhiho
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What type of PR is this?
/kind feature
What this PR does / why we need it:
This adds the profile make target, which uses wzprof to generate cpu and memory profiling data from the webassembly guest. This is a basic implementation to help people understand the costs of the current plugin. Ideas welcome to simplify the flow.
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
here's an example run:
Does this PR introduce a user-facing change?
NONE
What are the benchmark results of this change?
N/A tooling only