Add serde-1.0.219-threads4
benchmark for the parallel frontend
#2141
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I tried to compile a few of our benchmarks with
-Zthreads=4
andserde
got the largest improvement that I saw, even though it's quite short (~2s > ~1s). I would like to experiment with adding a benchmark with the parallel frontend, to see how well the monitoring works. It's a bit tricky in that icounts, cycles and task-clock are actually larger in the4threads
version, but wall-time is better. We'll see how well that works in practice, I guess.Note that the collector currently has six CPU cores, that's why I used
-Zthreads=4
as a conservative value.