User Tools

Site Tools


faq:technical:are_there_performance_statistics_to_compare_against_my_system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:technical:are_there_performance_statistics_to_compare_against_my_system [2019/08/24 11:39] glandinifaq:technical:are_there_performance_statistics_to_compare_against_my_system [2021/04/01 05:13] (current) – Added results for M1 MacBook and included mean in benchmark macro brooks
Line 4: Line 4:
  
 ImageJ has a Benchmark utility you can run to evaluate your system's performance. ImageJ has a Benchmark utility you can run to evaluate your system's performance.
- 
   - Start up a fresh ImageJ.   - Start up a fresh ImageJ.
-  - Choose File > New Text Window from the menu. +  - Choose ''Plugins'' ''New'' > ''Macro'' from the menu. 
-  - Paste in the benchmark test macro (in the blue box below, thanks to Gabriel Landini for providing it). +  - Paste in the benchmark test macro //(from the box below, thanks to Gabriel Landini for providing it)//
-  - Choose Macros > Run Macro from the menu to execute the benchmark.+  - Choose ''Macros'' ''Run Macro'' from the menu to execute the benchmark.
   - Compare your results against the table below.   - Compare your results against the table below.
  
 <code java> <code java>
-  // benchmark test macro +// 512x512 RGB Benchmark Test Macro 
-  // +// 
-  print("- - - "); +print("- - - "); 
-  run("Lena (68K)"); // This needs to be "Lena (720K)" on some v1.42 betas +run("Lena (68K)"); // a 512x512 RGB image 
-  id = getImageID; +id = getImageID; 
-  print("ImageJ: " + getVersion()); +print("ImageJ: " + getVersion()); 
-  print("OS : " + getInfo("os.name") + " " + getInfo("os.version")); +print("OS : " + getInfo("os.name") + " " + getInfo("os.version") +  
-  print("Java: "+ getInfo("java.version") + ", vm: " + getInfo("java.vm.version") + " " + getInfo("java.vm.vendor"));+      " on " + getInfo("os.arch")); 
 +print("Java: "+ getInfo("java.version") + ", vm: " +  
 +      getInfo("java.vm.version") + " " + getInfo("java.vm.vendor")); 
 +print("JRE: "+ getInfo("sun.boot.library.path"));
  
-  best = 100000; +best = 100000; 
-  worst = -1;+worst = -1
 +mean = 0;
  
-  for(i=0; i<10; i++){ +for(i=0; i<10; i++){ 
-     t = getTime(); +   t = getTime(); 
-     run("Benchmark"); +   run("Benchmark"); 
-     thisrun = getTime()-t; +   thisrun = getTime()-t; 
-     if (thisrun<best) best = thisrun; +   mean += thisrun/10; 
-     if (thisrun>worst) worst = thisrun; +   if (thisrun<best) best = thisrun; 
-  +   if (thisrun>worst) worst = thisrun; 
-  print("Benchmark best: " + best / 1000); +   print("Result "+i+1+": " + d2s(thisrun/1000, 3) + " sec"); 
-  print("Benchmark worst: " + worst / 1000);+
 +print("Benchmark best : " + d2s(best/1000, 3) + " seconds"); 
 +print("Benchmark mean : " + d2s(mean/1000, 3) + " seconds"); 
 +print("Benchmark worst: " + d2s(worst/1000, 3) + " seconds");
  
-  selectImage(id); +selectImage(id); 
-  close();+close();
 </code> </code>
 +
 +==== 512x512 RGB Benchmark Results ====
  
 | **Results** | **Processor** | **Memory** | **Operating System\\ ** | **Java\\ ** | **ImageJ\\ ** | | **Results** | **Processor** | **Memory** | **Operating System\\ ** | **Java\\ ** | **ImageJ\\ ** |
 +| 0.104 s | Apple M1 ARM (2020 MacBook Air) | 16 GB | macOS 11.2.3 | 1.8.0_282 aarch64 (Azul ARM JRE 8) | 1.53i |
 +| 0.111 s | Apple M1 ARM (2020 MacBook Air) | 16 GB | macOS 11.2.3 | 11.0.10 aarch64 (Azul ARM JRE 11) | 1.53i |
 +| 0.190 s | Apple M1 ARM (2020 MacBook Air) | 16 GB | macOS 11.2.3 (w/Rosetta2 x86_64 JRE emulation) | 1.8.0_172 x86_64 (Oracle x86 JRE 8) | 1.53i |
 | 0.197 s | Core i7-4790 3.6 GHz | 32 GB DDR3 | Opensuse Leap 15.1 (KDE 5.55) Kernel 4.12.14 | 1.8.0_161 | 1.52q43 | | 0.197 s | Core i7-4790 3.6 GHz | 32 GB DDR3 | Opensuse Leap 15.1 (KDE 5.55) Kernel 4.12.14 | 1.8.0_161 | 1.52q43 |
-| 0.253 s | Core i7-5820K 3.3 GHz | 32 GB DDR3 | Opensuse 13.2 64bit (KDE 4.14.9) Kernel 3.16.7-21-desktop | 1.7.0_79 | 1.50a20 |+| 0.219 s | Core i7-6700 3.4 GHz | 16 GB DDR3 | Ubuntu 16.04 LTS Kernel 4.4.0 | 1.8.0_112 | 1.53i | 
 +| 0.253 s | Core i7-5820K 3.3 GHz | 32 GB DDR3 | Opensuse 13.2 64bit (KDE 4.14.9) Kernel 3.16.7-21-desktop |
 | 0.302 s | Core i7-2760QM 2.4 GHz | 16 GB DDR3 | Opensuse 12.2 64bit (KDE 4.10) Kernel 3.4.28-2.20-desktop | 1.7.0_15 | 1.47m | | 0.302 s | Core i7-2760QM 2.4 GHz | 16 GB DDR3 | Opensuse 12.2 64bit (KDE 4.10) Kernel 3.4.28-2.20-desktop | 1.7.0_15 | 1.47m |
 | 0.315 s | Core i7-3630QM 2.4 GHz | 16 GB DDR3 | Archlinux 64 Kernel 3.7.9 | 1.6.0_22 | 1.47k | | 0.315 s | Core i7-3630QM 2.4 GHz | 16 GB DDR3 | Archlinux 64 Kernel 3.7.9 | 1.6.0_22 | 1.47k |
faq/technical/are_there_performance_statistics_to_compare_against_my_system.1566639587.txt.gz · Last modified: 2019/08/24 11:39 by glandini

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki