Skip to content

Instantly share code, notes, and snippets.

@akarnokd
Created May 7, 2014 14:47
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/6d9ba66761c5bdb8ecd7 to your computer and use it in GitHub Desktop.
Save akarnokd/6d9ba66761c5bdb8ecd7 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: -Xmx1300m -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: 3662,012 ns/op
# Warmup Iteration 2: 1896,063 ns/op
# Warmup Iteration 3: 1927,297 ns/op
# Warmup Iteration 4: 1869,327 ns/op
# Warmup Iteration 5: 1871,591 ns/op
Iteration 1: 1824,388 ns/op
Iteration 2: 1868,999 ns/op
Iteration 3: 1867,340 ns/op
Iteration 4: 1866,641 ns/op
Iteration 5: 1865,061 ns/op
Result : 1858,486 ±(99.9%) 73,600 ns/op
Statistics: (min, avg, max) = (1824,388, 1858,486, 1868,999), stdev = 19,114
Confidence interval (99.9%): [1784,886, 1932,085]
# 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: -Xmx1300m -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: 134462,253 ns/op
# Warmup Iteration 2: 117241,426 ns/op
# Warmup Iteration 3: 117772,392 ns/op
# Warmup Iteration 4: 117439,539 ns/op
# Warmup Iteration 5: 117449,603 ns/op
Iteration 1: 118638,938 ns/op
Iteration 2: 117134,090 ns/op
Iteration 3: 117856,378 ns/op
Iteration 4: 117306,220 ns/op
Iteration 5: 117466,750 ns/op
Result : 117680,475 ±(99.9%) 2305,467 ns/op
Statistics: (min, avg, max) = (117134,090, 117680,475, 118638,938), stdev = 598,722
Confidence interval (99.9%): [115375,008, 119985,942]
# 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: -Xmx1300m -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: 134371738,500 ns/op
# Warmup Iteration 2: 126727523,500 ns/op
# Warmup Iteration 3: 129018297,000 ns/op
# Warmup Iteration 4: 126631864,750 ns/op
# Warmup Iteration 5: 130482026,750 ns/op
Iteration 1: 130058113,375 ns/op
Iteration 2: 130598228,500 ns/op
Iteration 3: 133125869,250 ns/op
Iteration 4: 123245373,889 ns/op
Iteration 5: 129463857,250 ns/op
Result : 129298288,453 ±(99.9%) 14093401,564 ns/op
Statistics: (min, avg, max) = (123245373,889, 129298288,453, 133125869,250), stdev = 3660011,631
Confidence interval (99.9%): [115204886,889, 143391690,016]
# 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: -Xmx1300m -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: 3391,755 ns/op
# Warmup Iteration 2: 1670,489 ns/op
# Warmup Iteration 3: 1762,992 ns/op
# Warmup Iteration 4: 1582,370 ns/op
# Warmup Iteration 5: 777,975 ns/op
Iteration 1: 787,457 ns/op
Iteration 2: 972,564 ns/op
Iteration 3: 793,275 ns/op
Iteration 4: 817,363 ns/op
Iteration 5: 824,733 ns/op
Result : 839,078 ±(99.9%) 293,626 ns/op
Statistics: (min, avg, max) = (787,457, 839,078, 972,564), stdev = 76,254
Confidence interval (99.9%): [545,452, 1132,705]
# 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: -Xmx1300m -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: 8952,948 ns/op
# Warmup Iteration 2: 8284,283 ns/op
# Warmup Iteration 3: 9523,865 ns/op
# Warmup Iteration 4: 9776,393 ns/op
# Warmup Iteration 5: 11906,913 ns/op
Iteration 1: 2969,534 ns/op
Iteration 2: 52759,758 ns/op
Iteration 3: 38480,559 ns/op
Iteration 4: 50730,759 ns/op
Iteration 5: 111328,162 ns/op
Result : 51253,754 ±(99.9%) 150446,345 ns/op
Statistics: (min, avg, max) = (2969,534, 51253,754, 111328,162), stdev = 39070,438
Confidence interval (99.9%): [-99192,590, 201700,099]
# Run progress: 83,33% complete, ETA 00:00:13
# VM invoker: C:\Program Files\Java\jdk1.7.0_55\jre\bin\java.exe
# VM options: -Xmx1300m -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: 31877,502 ns/op
# Warmup Iteration 2: 33849,355 ns/op
# Warmup Iteration 3: 18699,074 ns/op
# Warmup Iteration 4: 25839,014 ns/op
# Warmup Iteration 5: 11869,954 ns/op
Iteration 1: 241068,183 ns/op
Iteration 2: 168783,229 ns/op
Iteration 3: 421810,334 ns/op
Iteration 4: 633043,995 ns/op
Iteration 5: 391920,154 ns/op
Result : 371325,179 ±(99.9%) 692740,819 ns/op
Statistics: (min, avg, max) = (168783,229, 371325,179, 633043,995), stdev = 179902,591
Confidence interval (99.9%): [-321415,641, 1064065,998]
Benchmark (size) Mode Samples Mean Mean error Units
r.s.ComputationSchedulerPerf.observeOn 1 avgt 5 1858,486 73,600 ns/op
r.s.ComputationSchedulerPerf.observeOn 1024 avgt 5 117680,475 2305,467 ns/op
r.s.ComputationSchedulerPerf.observeOn 1048576 avgt 5 129298288,453 14093401,564 ns/op
r.s.ComputationSchedulerPerf.subscribeOn 1 avgt 5 839,078 293,626 ns/op
r.s.ComputationSchedulerPerf.subscribeOn 1024 avgt 5 51253,754 150446,345 ns/op
r.s.ComputationSchedulerPerf.subscribeOn 1048576 avgt 5 371325,179 692740,819 ns/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment