Skip to content

Performance degradation with context pool after v0.3.0 #154

Description

@adriantam

Our project are using context pool (with WithContext(), WithCancelOnError(), WithFirstError() and WithMaxGoroutines()). After upgrading from v0.3.0 to [5f936ab](https://github.com/sourcegraph/conc/commit/5f936abd7ae87036af1f75c95fb9d0daaf00116b), we have observed performance degradation (significant increase in CPU). The usually pattern involves pool.New(), pool.Go() and pool.Wait() with high concurrency.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions