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

[BEAM-4726] Add a simple benchmark to the ParDo execution node. #5881

Merged
merged 1 commit into from Jul 3, 2018

Conversation

lostluck
Copy link
Contributor

@lostluck lostluck commented Jul 3, 2018

Adding a benchmark to get a baseline on ParDo overhead.
Adds a new root construct to accommodate perfered Go Benchmarking style, and allow the testing package to handle benchmark termination appropriately.

$ go test -bench=BenchmarkParDo -benchmem github.com/apache/beam/sdks/go/pkg/beam/core/runtime/exec

On my desktop, this benchmark currently returns in the neighbourhood of
BenchmarkParDo_EmitSumFn-12 1000000 1606 ns/op 585 B/op 7 allocs/op

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
--- --- --- ---

@lostluck
Copy link
Contributor Author

lostluck commented Jul 3, 2018

R: @herohde

@herohde herohde merged commit d667097 into apache:master Jul 3, 2018
@lostluck lostluck deleted the overhead branch January 23, 2019 16:30
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.

None yet

2 participants