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

Create a summary from perf tool output #16

Closed
amirouche opened this issue Nov 27, 2021 · 1 comment
Closed

Create a summary from perf tool output #16

amirouche opened this issue Nov 27, 2021 · 1 comment

Comments

@amirouche
Copy link

ref: https://en.wikipedia.org/wiki/Perf_%28Linux%29
ref: #12

@amirouche amirouche added the help wanted Extra attention is needed label Nov 27, 2021
@amirouche
Copy link
Author

Feel free to re-open.

I will use:

scheme-live-benchmark () {
    FORMAT="command:%C\nwall-clock-time:%es\nmemory-average:%Kkb\ncpu:%P"
    /usr/bin/time -f $FORMAT $@
}

That gives the following output:

% scheme-live benchmark scheme-live chibi run local/bin/hello-schemer
Hello schemer!
command:scheme-live chibi run local/bin/hello-schemer
wall-clock-time:0.30s
memory-average:0kb
cpu:103%

@amirouche amirouche removed the help wanted Extra attention is needed label Dec 4, 2021
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

No branches or pull requests

1 participant