Skip to content

Conversation

@Catfish-Man
Copy link
Contributor

@Catfish-Man Catfish-Man commented Feb 2, 2022

Speeds up a trivial benchmark with 50,000 appends from 10+ seconds in a release build, to 0.2 seconds in a debug build, on my machine.

Fixes rdar://88219931

@Catfish-Man Catfish-Man requested a review from ktoso February 2, 2022 22:03
@Catfish-Man Catfish-Man self-assigned this Feb 2, 2022
Copy link
Contributor

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

Sweet, LGTM 👍

@Catfish-Man
Copy link
Contributor Author

@swift-ci please test and merge

@ogres
Copy link
Contributor

ogres commented Feb 2, 2022

it would be nice, if we could also add a benchmark to ensure that we do not regress in future

@Catfish-Man
Copy link
Contributor Author

Yes, I'm working on that currently. Using Concurrency stuff in the benchmarks is slightly non-obvious for now.

@Catfish-Man
Copy link
Contributor Author

Turns out "slightly non-obvious" is actually more like extremely non-obvious, adding a regression test will have to wait a bit, sorry.

@Catfish-Man
Copy link
Contributor Author

@swift-ci please test

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

Successfully merging this pull request may close these issues.

4 participants