Skip to content

Instantly share code, notes, and snippets.

@akarnokd
Created May 8, 2014 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akarnokd/7dc973e181e280230c7d to your computer and use it in GitHub Desktop.
Save akarnokd/7dc973e181e280230c7d to your computer and use it in GitHub Desktop.
# Run progress: 0,00% complete, ETA 00:01:00
# VM invoker: C:\Program Files\Java\jdk1.7.0_55\jre\bin\java.exe
# VM options: -Xmx3072m -Dfile.encoding=windows-1250
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: rx.schedulers.ComputationSchedulerPerf.observeOn
# Parameters: (size = 1)
# Warmup Iteration 1: 2979,271 ns/op
# Warmup Iteration 2: 1997,994 ns/op
# Warmup Iteration 3: 2012,652 ns/op
# Warmup Iteration 4: 1952,359 ns/op
# Warmup Iteration 5: 2052,540 ns/op
Iteration 1: 1918,289 ns/op
Iteration 2: 1950,029 ns/op
Iteration 3: 1961,281 ns/op
Iteration 4: 1938,404 ns/op
Iteration 5: 1946,032 ns/op
Result : 1942,807 ±(99.9%) 61,622 ns/op
Statistics: (min, avg, max) = (1918,289, 1942,807, 1961,281), stdev = 16,003
Confidence interval (99.9%): [1881,185, 2004,429]
# Run progress: 16,67% complete, ETA 00:00:51
# VM invoker: C:\Program Files\Java\jdk1.7.0_55\jre\bin\java.exe
# VM options: -Xmx3072m -Dfile.encoding=windows-1250
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: rx.schedulers.ComputationSchedulerPerf.observeOn
# Parameters: (size = 1024)
# Warmup Iteration 1: 130280,217 ns/op
# Warmup Iteration 2: 117876,876 ns/op
# Warmup Iteration 3: 117452,390 ns/op
# Warmup Iteration 4: 117584,603 ns/op
# Warmup Iteration 5: 117092,989 ns/op
Iteration 1: 118218,651 ns/op
Iteration 2: 118440,791 ns/op
Iteration 3: 118298,447 ns/op
Iteration 4: 118405,859 ns/op
Iteration 5: 118385,037 ns/op
Result : 118349,757 ±(99.9%) 347,097 ns/op
Statistics: (min, avg, max) = (118218,651, 118349,757, 118440,791), stdev = 90,140
Confidence interval (99.9%): [118002,660, 118696,854]
# Run progress: 33,33% complete, ETA 00:00:41
# VM invoker: C:\Program Files\Java\jdk1.7.0_55\jre\bin\java.exe
# VM options: -Xmx3072m -Dfile.encoding=windows-1250
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: rx.schedulers.ComputationSchedulerPerf.observeOn
# Parameters: (size = 1048576)
# Warmup Iteration 1: 138210813,500 ns/op
# Warmup Iteration 2: 127988533,875 ns/op
# Warmup Iteration 3: 129921740,625 ns/op
# Warmup Iteration 4: 129542894,125 ns/op
# Warmup Iteration 5: 131323803,875 ns/op
Iteration 1: 125212198,250 ns/op
Iteration 2: 130107828,000 ns/op
Iteration 3: 123712427,444 ns/op
Iteration 4: 129151952,125 ns/op
Iteration 5: 129897981,750 ns/op
Result : 127616477,514 ±(99.9%) 11356451,968 ns/op
Statistics: (min, avg, max) = (123712427,444, 127616477,514, 130107828,000), stdev = 2949234,512
Confidence interval (99.9%): [116260025,546, 138972929,482]
# Run progress: 50,00% complete, ETA 00:00:31
# VM invoker: C:\Program Files\Java\jdk1.7.0_55\jre\bin\java.exe
# VM options: -Xmx3072m -Dfile.encoding=windows-1250
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: rx.schedulers.ComputationSchedulerPerf.subscribeOn
# Parameters: (size = 1)
# Warmup Iteration 1: 2683,820 ns/op
# Warmup Iteration 2: 1558,208 ns/op
# Warmup Iteration 3: 1938,972 ns/op
# Warmup Iteration 4: 1862,420 ns/op
# Warmup Iteration 5: 1628,687 ns/op
Iteration 1: 998,684 ns/op
Iteration 2: 1146,848 ns/op
Iteration 3: 976,356 ns/op
Iteration 4: 819,339 ns/op
Iteration 5: 891,525 ns/op
Result : 966,550 ±(99.9%) 475,269 ns/op
Statistics: (min, avg, max) = (819,339, 966,550, 1146,848), stdev = 123,426
Confidence interval (99.9%): [491,281, 1441,820]
# Run progress: 66,67% complete, ETA 00:00:20
# VM invoker: C:\Program Files\Java\jdk1.7.0_55\jre\bin\java.exe
# VM options: -Xmx3072m -Dfile.encoding=windows-1250
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: rx.schedulers.ComputationSchedulerPerf.subscribeOn
# Parameters: (size = 1024)
# Warmup Iteration 1: 25468,632 ns/op
# Warmup Iteration 2: 10588,643 ns/op
# Warmup Iteration 3: 10942,275 ns/op
# Warmup Iteration 4: 11317,915 ns/op
# Warmup Iteration 5: 3315,548 ns/op
Iteration 1: 3109,879 ns/op
Iteration 2: 155434,432 ns/op
Iteration 3: 19836,369 ns/op
Iteration 4: 3541,288 ns/op
Iteration 5: 20514,611 ns/op
Result : 40487,316 ±(99.9%) 249552,416 ns/op
Statistics: (min, avg, max) = (3109,879, 40487,316, 155434,432), stdev = 64807,970
Confidence interval (99.9%): [-209065,100, 290039,731]
# Run progress: 83,33% complete, ETA 00:00:15
# VM invoker: C:\Program Files\Java\jdk1.7.0_55\jre\bin\java.exe
# VM options: -Xmx3072m -Dfile.encoding=windows-1250
# Fork: 1 of 1
# Warmup: 5 iterations, 1 s each
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
# Benchmark: rx.schedulers.ComputationSchedulerPerf.subscribeOn
# Parameters: (size = 1048576)
# Warmup Iteration 1: 28325,741 ns/op
# Warmup Iteration 2: 24247,363 ns/op
# Warmup Iteration 3: 21794,873 ns/op
# Warmup Iteration 4: 24402,385 ns/op
# Warmup Iteration 5: 3042,842 ns/op
Iteration 1: 89825,029 ns/op
Iteration 2: 2910,925 ns/op
Iteration 3: 2328,807 ns/op
Iteration 4: 172907,972 ns/op
Iteration 5: 196353,677 ns/op
Result : 92865,282 ±(99.9%) 351942,131 ns/op
Statistics: (min, avg, max) = (2328,807, 92865,282, 196353,677), stdev = 91398,254
Confidence interval (99.9%): [-259076,849, 444807,413]
Benchmark (size) Mode Samples Mean Mean error Units
r.s.ComputationSchedulerPerf.observeOn 1 avgt 5 1942,807 61,622 ns/op
r.s.ComputationSchedulerPerf.observeOn 1024 avgt 5 118349,757 347,097 ns/op
r.s.ComputationSchedulerPerf.observeOn 1048576 avgt 5 127616477,514 11356451,968 ns/op
r.s.ComputationSchedulerPerf.subscribeOn 1 avgt 5 966,550 475,269 ns/op
r.s.ComputationSchedulerPerf.subscribeOn 1024 avgt 5 40487,316 249552,416 ns/op
r.s.ComputationSchedulerPerf.subscribeOn 1048576 avgt 5 92865,282 351942,131 ns/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment