File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ This analysis was performed with the following hardware:
1616* 2017 Dell Inspiron 15 7000 Gaming
1717* Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
1818* 16 GB 2400 MHz DDR4 RAM
19+
1920The following software components were used:
2021* Ubuntu 22.04.3 LTS
2122* OpenJDK Runtime Environment (build 11.0.21) with OpenJDK 64-Bit Server VM (build 11.0.21, mixed mode, sharing)
@@ -75,6 +76,10 @@ We now analyze the performance of each execution method in performing randomizat
7576* The ` ImageJ Ops ` execution method discovers the static method through an ` @Plugin ` wrapper class and calls the functionality through an ` OpService `
7677
7778``` java
79+ private static double expensiveOperation(final int value) {
80+ return 255 * Math . random() * Math . sin(value / 255.0 );
81+ }
82+
7883/**
7984 * @param data the data to invert
8085 * @implNote op name="randomize",type=Inplace1
You can’t perform that action at this time.
0 commit comments