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 postprocess::Function arg to benchmarkpkg() #75

Merged
merged 3 commits into from
Jan 24, 2019

Conversation

NHDaly
Copy link
Contributor

@NHDaly NHDaly commented Dec 20, 2018

postprocess is a function that takes the results Benchmarkgroup and
either modifies them or returns a new version.

This allows users to inject logic into the benchmarking pipeline,
including subtracting two runs, dividing by N, or other such operations.

Fixes #74

postprocess is a function that takes the results `Benchmarkgroup` and
either modifies them or returns a new version.

This allows users to inject logic into the benchmarking pipeline,
including subtracting two runs, dividing by N, or other such operations.
@NHDaly NHDaly mentioned this pull request Dec 20, 2018
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.1%) to 80.822% when pulling a47ac52 on NHDaly:post-processing into 1dc83bf on JuliaCI:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.1%) to 80.822% when pulling a47ac52 on NHDaly:post-processing into 1dc83bf on JuliaCI:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.1%) to 80.822% when pulling a47ac52 on NHDaly:post-processing into 1dc83bf on JuliaCI:master.

@coveralls
Copy link

coveralls commented Dec 20, 2018

Coverage Status

Coverage decreased (-0.03%) to 81.911% when pulling ad36c98 on NHDaly:post-processing into 1dc83bf on JuliaCI:master.

@NHDaly NHDaly closed this Dec 20, 2018
@NHDaly NHDaly reopened this Dec 20, 2018
@NHDaly
Copy link
Contributor Author

NHDaly commented Jan 2, 2019

@jrevels, any chance I could get your input on this? 😄 Thanks!

@NHDaly
Copy link
Contributor Author

NHDaly commented Jan 16, 2019

@KristofferC I think this is in good shape to review if you have time! :)

It's a pretty small PR, but it unlocks significant more usecases for using PkgBenchmark in packages! :)

For an example, using this postprocess step, I'm able to get more accurate timings for the FixedPointDecimal benchmark:
JuliaMath/FixedPointDecimals.jl#42

@NHDaly
Copy link
Contributor Author

NHDaly commented Jan 16, 2019

(Also i think the failing coverage is noisy; i definitely do cover that line. I know i've read that coverage has been wonky lately. 😢)

@NHDaly
Copy link
Contributor Author

NHDaly commented Jan 24, 2019

friendly ping! :) This should be good to merge.

@KristofferC KristofferC merged commit 6ceafec into JuliaCI:master Jan 24, 2019
@KristofferC
Copy link
Collaborator

Sorry for slow action.

@NHDaly NHDaly deleted the post-processing branch January 27, 2019 14:06
@NHDaly
Copy link
Contributor Author

NHDaly commented Jan 27, 2019

:) No problem. Thanks for the review, @KristofferC! :) Cheers!

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