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

Add benchmarks for copying CircularBuffer to Array #2058

Merged
merged 2 commits into from
Mar 7, 2022

Conversation

simonjbeaumont
Copy link
Contributor

Motivation:

#1827 suggests we implement some hooks on Collection and Sequence to get better performance for CircularBuffer but before we do we should have a benchmark in place to measure any potential improvements.

Modifications:

Adds a benchmark for copying a CircularBuffer to an Array to the performance tests.

Result:

We should have a baseline for a future PR that implements any of these hooks.

Signed-off-by: Si Beaumont <beaumont@apple.com>
@Lukasa Lukasa added the semver/none No version bump required. label Mar 7, 2022
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ace, you love to see it.

@Lukasa Lukasa enabled auto-merge (squash) March 7, 2022 15:45
@Lukasa Lukasa merged commit be5fb3c into apple:main Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants