Skip to content

add Reporter utility #1

Description

@pbnjay

It would be useful to get notifications when long-running code uses too much memory. Then it could dynamically tune parallelism to ensure it doesn't overcommit.

Something similar to this interface would likely work:

type ReporterFunc func(percent float64)
func NewReporter(interval time.Duration, reporter ReporterFunc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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