Skip to content

Commit

Permalink
docs(benchmark): update Poseidon benchmarks with new flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ashjeong committed Oct 23, 2024
1 parent a7d1d5f commit ea5f65f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions benchmark/poseidon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

```
Run on 13th Gen Intel(R) Core(TM) i9-13900K (32 X 5500 MHz CPU s)
Compiler: clang-15
CPU Caches:
L1 Data 48 KiB (x16)
L1 Instruction 32 KiB (x16)
Expand All @@ -16,41 +17,41 @@ CPU Caches:
```

```shell
bazel run --config opt --//:has_matplotlib //benchmark/poseidon:poseidon_benchmark -- --check_results
GOMP_SPINCOUNT=0 bazel run --config maxopt --//:has_matplotlib //benchmark/poseidon:poseidon_benchmark -- --check_results
```

## On Intel i9-13900K

| Repetition | Tachyon | Arkworks |
| :--------: | ----------- | -------- |
| 0 | **3.4e-05** | 0.000103 |
| 1 | **3.4e-05** | 0.000103 |
| 2 | **3.3e-05** | 0.000101 |
| 3 | **3.3e-05** | 0.000103 |
| 4 | **3.3e-05** | 0.000103 |
| 5 | **3.3e-05** | 0.000108 |
| 6 | **3.3e-05** | 0.000102 |
| 7 | **3.2e-05** | 0.000104 |
| 8 | **3.3e-05** | 0.000102 |
| 9 | **3.1e-05** | 0.000103 |
| avg | **3.2e-05** | 0.000103 |
| 0 | **3.5e-05** | 0.000107 |
| 1 | **3.2e-05** | 0.000106 |
| 2 | **3.2e-05** | 0.000108 |
| 3 | **3.1e-05** | 0.000107 |
| 4 | **3.1e-05** | 0.000107 |
| 5 | **3.1e-05** | 0.000107 |
| 6 | **3.1e-05** | 0.000104 |
| 7 | **3.1e-05** | 0.000105 |
| 8 | **3.1e-05** | 0.000106 |
| 9 | **3.1e-05** | 0.000107 |
| avg | **3.1e-05** | 0.000106 |

![image](/benchmark/poseidon/poseidon_benchmark_ubuntu_i9.png)

## On Mac M3 Pro

| Repetition | Tachyon | Arkworks |
| :--------: | ----------- | -------- |
| 1 | **3.9e-05** | 0.000108 |
| 0 | **3.8e-05** | 0.000111 |
| 2 | **3.7e-05** | 0.000106 |
| 3 | **3.6e-05** | 0.000104 |
| 4 | **3.6e-05** | 0.000106 |
| 5 | **3.5e-05** | 0.000103 |
| 6 | **3.5e-05** | 0.000103 |
| 7 | **3.5e-05** | 0.000103 |
| 8 | **3.5e-05** | 0.000103 |
| 9 | **3.5e-05** | 0.000105 |
| avg | **3.6e-05** | 0.000105 |
| 0 | **3.7e-05** | 0.000111 |
| 1 | **3.5e-05** | 0.000105 |
| 2 | **3.3e-05** | 0.000103 |
| 3 | **3.2e-05** | 0.000104 |
| 4 | **3.2e-05** | 0.000101 |
| 5 | **3.2e-05** | 0.000103 |
| 6 | **3.2e-05** | 0.000105 |
| 7 | **3.2e-05** | 0.000102 |
| 8 | **3.2e-05** | 0.000102 |
| 9 | **3.2e-05** | 0.000102 |
| avg | **3.2e-05** | 0.000103 |

![image](/benchmark/poseidon/poseidon_benchmark_mac_m3.png)
Binary file modified benchmark/poseidon/poseidon_benchmark_mac_m3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified benchmark/poseidon/poseidon_benchmark_ubuntu_i9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea5f65f

Please sign in to comment.