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

Native time function? #2

Open
superphiz opened this issue Dec 8, 2022 · 1 comment
Open

Native time function? #2

superphiz opened this issue Dec 8, 2022 · 1 comment

Comments

@superphiz
Copy link

Could you wrap the treegen in a native time function to let the user know how long the generation took? Bonus points if it gave a report:

Calculating collateral rewards took 20 seconds
Smoothie Pool calculation took 16 minute 40 seconds
The total tree generation time on your i5-12900k took 31 minutes, 9 seconds
@jclapis
Copy link
Member

jclapis commented Dec 8, 2022

Sure, as a temporary measure you can prefix the call with time, e.g.

time treegen -e ... -b ...

That will run a Linux command that reports how long the whole thing took once it's done.

jclapis pushed a commit that referenced this issue May 4, 2023
Updated some verbiage, minor cleanup
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

2 participants