Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. Microsoft Windows [Version 10.0.17134.112]
  2. (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.
  3.  
  4. C:\Users\S8lmDTxgJT>cd C:\Users\S8lmDTxgJT\workspace\PRSW2_UE6_Performance
  5.  
  6. C:\Users\S8lmDTxgJT\workspace\PRSW2_UE6_Performance>java -jar target/benchmarks.jar
  7. # JMH version: 1.21
  8. # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
  9. # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
  10. # VM options: <none>
  11. # Warmup: 10 iterations, 10 ms each
  12. # Measurement: 5 iterations, 10 ms each
  13. # Timeout: 10 min per iteration
  14. # Threads: 1 thread, will synchronize iterations
  15. # Benchmark mode: Average time, time/op
  16. # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.bubbleSort
  17.  
  18. # Run progress: 0,00% complete, ETA 00:00:00
  19. # Fork: 1 of 1
  20. # Warmup Iteration 1: 635,982 ms/op
  21. # Warmup Iteration 2: 638,919 ms/op
  22. # Warmup Iteration 3: 629,676 ms/op
  23. # Warmup Iteration 4: 630,235 ms/op
  24. # Warmup Iteration 5: 636,124 ms/op
  25. # Warmup Iteration 6: 638,000 ms/op
  26. # Warmup Iteration 7: 629,928 ms/op
  27. # Warmup Iteration 8: 631,509 ms/op
  28. # Warmup Iteration 9: 633,122 ms/op
  29. # Warmup Iteration 10: 631,288 ms/op
  30. Iteration 1: 642,191 ms/op
  31. Iteration 2: 634,547 ms/op
  32. Iteration 3: 631,704 ms/op
  33. Iteration 4: 640,349 ms/op
  34. Iteration 5: 633,338 ms/op
  35.  
  36.  
  37. Result "org.jku.ssw.prsw2.ue6.SortingBenchmark.bubbleSort":
  38. 636,426 ±(99.9%) 17,645 ms/op [Average]
  39. (min, avg, max) = (631,704, 636,426, 642,191), stdev = 4,582
  40. CI (99.9%): [618,781, 654,070] (assumes normal distribution)
  41.  
  42.  
  43. # JMH version: 1.21
  44. # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
  45. # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
  46. # VM options: <none>
  47. # Warmup: 10 iterations, 10 ms each
  48. # Measurement: 5 iterations, 10 ms each
  49. # Timeout: 10 min per iteration
  50. # Threads: 1 thread, will synchronize iterations
  51. # Benchmark mode: Average time, time/op
  52. # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.jnisort
  53.  
  54. # Run progress: 25,00% complete, ETA 00:00:32
  55. # Fork: 1 of 1
  56. # Warmup Iteration 1: <failure>
  57.  
  58. java.lang.ExceptionInInitializerError
  59. at org.jku.ssw.prsw2.ue6.SortingBenchmark.jnisort(SortingBenchmark.java:141)
  60. at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_jnisort_jmhTest.jnisort_avgt_jmhStub(SortingBenchmark_jnisort_jmhTest.java:205)
  61. at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_jnisort_jmhTest.jnisort_AverageTime(SortingBenchmark_jnisort_jmhTest.java:164)
  62. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  63. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  64. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  65. at java.lang.reflect.Method.invoke(Unknown Source)
  66. at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
  67. at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
  68. at java.util.concurrent.FutureTask.run(Unknown Source)
  69. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  70. at java.util.concurrent.FutureTask.run(Unknown Source)
  71. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  72. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  73. at java.lang.Thread.run(Unknown Source)
  74. Caused by: org.jku.ssw.prsw2.ue6.common.JNISolutionNotImplementedException: No JNI sorter library was loaded.
  75. at org.jku.ssw.prsw2.ue6.jni.JNISorter.loadLib(JNISorter.java:8)
  76. at org.jku.ssw.prsw2.ue6.jni.JNISorter.<clinit>(JNISorter.java:14)
  77. ... 15 more
  78.  
  79.  
  80.  
  81.  
  82. # JMH version: 1.21
  83. # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
  84. # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
  85. # VM options: <none>
  86. # Warmup: 10 iterations, 10 ms each
  87. # Measurement: 5 iterations, 10 ms each
  88. # Timeout: 10 min per iteration
  89. # Threads: 1 thread, will synchronize iterations
  90. # Benchmark mode: Average time, time/op
  91. # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.secondSort
  92.  
  93. # Run progress: 50,00% complete, ETA 00:00:11
  94. # Fork: 1 of 1
  95. # Warmup Iteration 1: <failure>
  96.  
  97. org.jku.ssw.prsw2.ue6.common.NoSecondSolutionException: No Second solution for this Assignment found.
  98. at org.jku.ssw.prsw2.ue6.SortingBenchmark.secondSort(SortingBenchmark.java:156)
  99. at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_secondSort_jmhTest.secondSort_avgt_jmhStub(SortingBenchmark_secondSort_jmhTest.java:205)
  100. at org.jku.ssw.prsw2.ue6.generated.SortingBenchmark_secondSort_jmhTest.secondSort_AverageTime(SortingBenchmark_secondSort_jmhTest.java:164)
  101. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  102. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  103. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  104. at java.lang.reflect.Method.invoke(Unknown Source)
  105. at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
  106. at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
  107. at java.util.concurrent.FutureTask.run(Unknown Source)
  108. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  109. at java.util.concurrent.FutureTask.run(Unknown Source)
  110. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  111. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  112. at java.lang.Thread.run(Unknown Source)
  113.  
  114.  
  115.  
  116.  
  117. # JMH version: 1.21
  118. # VM version: JDK 1.8.0_111, Java HotSpot(TM) 64-Bit Server VM, 25.111-b14
  119. # VM invoker: C:\Program Files\Java\jre1.8.0_111\bin\java.exe
  120. # VM options: <none>
  121. # Warmup: 10 iterations, 10 ms each
  122. # Measurement: 5 iterations, 10 ms each
  123. # Timeout: 10 min per iteration
  124. # Threads: 1 thread, will synchronize iterations
  125. # Benchmark mode: Average time, time/op
  126. # Benchmark: org.jku.ssw.prsw2.ue6.SortingBenchmark.systemsort
  127.  
  128. # Run progress: 75,00% complete, ETA 00:00:03
  129. # Fork: 1 of 1
  130. # Warmup Iteration 1: 149,145 ms/op
  131. # Warmup Iteration 2: 125,941 ms/op
  132. # Warmup Iteration 3: 125,355 ms/op
  133. # Warmup Iteration 4: 123,573 ms/op
  134. # Warmup Iteration 5: 123,613 ms/op
  135. # Warmup Iteration 6: 123,558 ms/op
  136. # Warmup Iteration 7: 125,635 ms/op
  137. # Warmup Iteration 8: 123,659 ms/op
  138. # Warmup Iteration 9: 123,537 ms/op
  139. # Warmup Iteration 10: 123,532 ms/op
  140. Iteration 1: 123,579 ms/op
  141. Iteration 2: 126,657 ms/op
  142. Iteration 3: 126,690 ms/op
  143. Iteration 4: 123,614 ms/op
  144. Iteration 5: 123,560 ms/op
  145.  
  146.  
  147. Result "org.jku.ssw.prsw2.ue6.SortingBenchmark.systemsort":
  148. 124,820 ±(99.9%) 6,516 ms/op [Average]
  149. (min, avg, max) = (123,560, 124,820, 126,690), stdev = 1,692
  150. CI (99.9%): [118,304, 131,336] (assumes normal distribution)
  151.  
  152.  
  153. # Run complete. Total time: 00:00:14
  154.  
  155. REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
  156. why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
  157. experiments, perform baseline and negative tests that provide experimental control, make sure
  158. the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
  159. Do not assume the numbers tell you what you want them to tell.
  160.  
  161. Benchmark Mode Cnt Score Error Units
  162. SortingBenchmark.bubbleSort avgt 5 636,426 ± 17,645 ms/op
  163. SortingBenchmark.systemsort avgt 5 124,820 ± 6,516 ms/op
  164.  
  165. C:\Users\S8lmDTxgJT\workspace\PRSW2_UE6_Performance>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement