Skip to content

Feature request: reset computation #5

@client9

Description

@client9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions