Skip to content

Commit 03d67a2

Browse files
committed
Add newline for list, expensiveOperation method
1 parent 6b5abc1 commit 03d67a2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/ops/doc/Benchmarks.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
1920
The 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

0 commit comments

Comments
 (0)