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

Feature request: reset computation #5

Open
client9 opened this issue Dec 14, 2015 · 0 comments
Open

Feature request: reset computation #5

client9 opened this issue Dec 14, 2015 · 0 comments

Comments

@client9
Copy link

client9 commented Dec 14, 2015

Hello!

I found this via https://github.com/tsenart/vegeta/blob/master/lib/metrics.go

One feature I'd like is to be able to reset the computation back to initial state. I'm capturing performance metrics over a long-lived data stream, and would like to snapshot the behavior every X seconds or so.

I could just make new objects, but it seems it would be nice to re-used the existing ones, especially since you have a pool already.

Or do you think this is a needless optimization and I should just make new objects?

thanks!

nickg

@client9 client9 changed the title Feature request: reset Feature request: reset computation Dec 14, 2015
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