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

【Issue-928】Add defaults values for benchmarking #936

Merged
merged 1 commit into from Jun 27, 2019

Conversation

@TapanVaishnav
Copy link
Contributor

commented Jun 27, 2019

#928

@Avasil
I have added the defaults values for various parameters for benchmarking tests.
Also, have added the quick snippet for the code run.

[IJ]sbt:benchmarksNext> jmh:run monix.benchmarks.TaskShiftBenchmark
[info] Running (fork) org.openjdk.jmh.Main monix.benchmarks.TaskShiftBenchmark
....
[info] # JMH version: 1.21
[info] # VM version: JDK 1.8.0_212, OpenJDK 64-Bit Server VM, 25.212-b03
[info] # VM invoker: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java
[info] # VM options: <none>
[info] # Warmup: 10 iterations, 10 s each
[info] # Measurement: 10 iterations, 10 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Throughput, ops/time
[info] # Benchmark: monix.benchmarks.TaskShiftBenchmark.createCancelable
[info] # Parameters: (size = 3000)
....
IJ]sbt:benchmarksNext> jmh:run -i 20 -wi 20 -f 4 -t 2 monix.benchmarks.TaskShiftBenchmark
....
[info] Running (fork) org.openjdk.jmh.Main -i 20 -wi 20 -f 4 -t 2 monix.benchmarks.TaskShiftBenchmark
[info] # JMH version: 1.21
[info] # VM version: JDK 1.8.0_212, OpenJDK 64-Bit Server VM, 25.212-b03
[info] # VM invoker: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/bin/java
[info] # VM options: <none>
[info] # Warmup: 20 iterations, 10 s each
[info] # Measurement: 20 iterations, 10 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 2 threads, will synchronize iterations
[info] # Benchmark mode: Throughput, ops/time
[info] # Benchmark: monix.benchmarks.TaskShiftBenchmark.createCancelable
[info] # Parameters: (size = 3000)
....

@TapanVaishnav TapanVaishnav changed the title Add defaults values for benchmarking 【Issue-928】Add defaults values for benchmarking Jun 27, 2019

@oleg-py
Copy link
Collaborator

left a comment

Looks good to me 👍

@Avasil Avasil merged commit 2cf8b6d into monix:master Jun 27, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.