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

Display timing info #10

Open
cgay opened this issue Mar 16, 2020 · 1 comment
Open

Display timing info #10

cgay opened this issue Mar 16, 2020 · 1 comment
Labels
P3 Priority 3

Comments

@cgay
Copy link
Member

cgay commented Mar 16, 2020

Could be fun to play around with mini benchmarks in the playground and share them.

Make something even simpler to use than benchmark-repeat: benchmarking (repeat: 10, print: #t) do-stuff() end which will either return the overall timing and allocation info or print it to the console, depending on the value of the print: argument. (benchmark-repeat returns a sequence of iteration values.)

@cgay
Copy link
Member Author

cgay commented Mar 16, 2020

Better, just insert a call to common-dylan:simple-profiling:start-profiling at the beginning and etc at the end.

@cgay cgay added the P3 Priority 3 label Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Priority 3
Projects
None yet
Development

No branches or pull requests

1 participant