Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Microsoft Windows [Version 10.0.17134.112]
- (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.
- C:\Users\S8lmDTxgJT>cd C:\Users\S8lmDTxgJT\workspace\PRSW2_UE6_Performance
- C:\Users\S8lmDTxgJT\workspace\PRSW2_UE6_Performance>java -jar target/benchmarks.jar
- # JMH version: 1.21
- # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
- # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
- # VM options: <none>
- # Warmup: 10 iterations, 10 ms each
- # Measurement: 5 iterations, 10 ms each
- # Timeout: 10 min per iteration
- # Threads: 1 thread, will synchronize iterations
- # Benchmark mode: Average time, time/op
- # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.bubbleSort
- # Run progress: 0,00% complete, ETA 00:00:00
- # Fork: 1 of 1
- # Warmup Iteration 1: 635,982 ms/op
- # Warmup Iteration 2: 638,919 ms/op
- # Warmup Iteration 3: 629,676 ms/op
- # Warmup Iteration 4: 630,235 ms/op
- # Warmup Iteration 5: 636,124 ms/op
- # Warmup Iteration 6: 638,000 ms/op
- # Warmup Iteration 7: 629,928 ms/op
- # Warmup Iteration 8: 631,509 ms/op
- # Warmup Iteration 9: 633,122 ms/op
- # Warmup Iteration 10: 631,288 ms/op
- Iteration 1: 642,191 ms/op
- Iteration 2: 634,547 ms/op
- Iteration 3: 631,704 ms/op
- Iteration 4: 640,349 ms/op
- Iteration 5: 633,338 ms/op
- Result "org.jku.ssw.prsw2.ue6.SortingBenchmark.bubbleSort":
- 636,426 ±(99.9%) 17,645 ms/op [Average]
- (min, avg, max) = (631,704, 636,426, 642,191), stdev = 4,582
- CI (99.9%): [618,781, 654,070] (assumes normal distribution)
- # JMH version: 1.21
- # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
- # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
- # VM options: <none>
- # Warmup: 10 iterations, 10 ms each
- # Measurement: 5 iterations, 10 ms each
- # Timeout: 10 min per iteration
- # Threads: 1 thread, will synchronize iterations
- # Benchmark mode: Average time, time/op
- # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.jnisort
- # Run progress: 25,00% complete, ETA 00:00:32
- # Fork: 1 of 1
- # Warmup Iteration 1: <failure>
- java.lang.ExceptionInInitializerError
- at org.jku.ssw.prsw2.ue6.SortingBenchmark.jnisort(SortingBenchmark.java:141)
- at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_jnisort_jmhTest.jnisort_avgt_jmhStub(SortingBenchmark_jnisort_jmhTest.java:205)
- at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_jnisort_jmhTest.jnisort_AverageTime(SortingBenchmark_jnisort_jmhTest.java:164)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
- at java.lang.reflect.Method.invoke(Unknown Source)
- at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
- at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- Caused by: org.jku.ssw.prsw2.ue6.common.JNISolutionNotImplementedException: No JNI sorter library was loaded.
- at org.jku.ssw.prsw2.ue6.jni.JNISorter.loadLib(JNISorter.java:8)
- at org.jku.ssw.prsw2.ue6.jni.JNISorter.<clinit>(JNISorter.java:14)
- ... 15 more
- # JMH version: 1.21
- # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
- # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
- # VM options: <none>
- # Warmup: 10 iterations, 10 ms each
- # Measurement: 5 iterations, 10 ms each
- # Timeout: 10 min per iteration
- # Threads: 1 thread, will synchronize iterations
- # Benchmark mode: Average time, time/op
- # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.secondSort
- # Run progress: 50,00% complete, ETA 00:00:11
- # Fork: 1 of 1
- # Warmup Iteration 1: <failure>
- org.jku.ssw.prsw2.ue6.common.NoSecondSolutionException: No Second solution for this Assignment found.
- at org.jku.ssw.prsw2.ue6.SortingBenchmark.secondSort(SortingBenchmark.java:156)
- at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_secondSort_jmhTest.secondSort_avgt_jmhStub(SortingBenchmark_secondSort_jmhTest.java:205)
- at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_secondSort_jmhTest.secondSort_AverageTime(SortingBenchmark_secondSort_jmhTest.java:164)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
- at java.lang.reflect.Method.invoke(Unknown Source)
- at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
- at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- # JMH version: 1.21
- # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
- # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
- # VM options: <none>
- # Warmup: 10 iterations, 10 ms each
- # Measurement: 5 iterations, 10 ms each
- # Timeout: 10 min per iteration
- # Threads: 1 thread, will synchronize iterations
- # Benchmark mode: Average time, time/op
- # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.systemsort
- # Run progress: 75,00% complete, ETA 00:00:03
- # Fork: 1 of 1
- # Warmup Iteration 1: 149,145 ms/op
- # Warmup Iteration 2: 125,941 ms/op
- # Warmup Iteration 3: 125,355 ms/op
- # Warmup Iteration 4: 123,573 ms/op
- # Warmup Iteration 5: 123,613 ms/op
- # Warmup Iteration 6: 123,558 ms/op
- # Warmup Iteration 7: 125,635 ms/op
- # Warmup Iteration 8: 123,659 ms/op
- # Warmup Iteration 9: 123,537 ms/op
- # Warmup Iteration 10: 123,532 ms/op
- Iteration 1: 123,579 ms/op
- Iteration 2: 126,657 ms/op
- Iteration 3: 126,690 ms/op
- Iteration 4: 123,614 ms/op
- Iteration 5: 123,560 ms/op
- Result "org.jku.ssw.prsw2.ue6.SortingBenchmark.systemsort":
- 124,820 ±(99.9%) 6,516 ms/op [Average]
- (min, avg, max) = (123,560, 124,820, 126,690), stdev = 1,692
- CI (99.9%): [118,304, 131,336] (assumes normal distribution)
- # Run complete. Total time: 00:00:14
- REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
- why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
- experiments, perform baseline and negative tests that provide experimental control, make sure
- the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
- Do not assume the numbers tell you what you want them to tell.
- Benchmark Mode Cnt Score Error Units
- SortingBenchmark.bubbleSort avgt 5 636,426 ± 17,645 ms/op
- SortingBenchmark.systemsort avgt 5 124,820 ± 6,516 ms/op
- C:\Users\S8lmDTxgJT\workspace\PRSW2_UE6_Performance>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement