diff --git a/benchmark/poseidon/Poseidon Benchmark MacM3.png b/benchmark/poseidon/Poseidon Benchmark MacM3.png new file mode 100644 index 000000000..0f6919ee5 Binary files /dev/null and b/benchmark/poseidon/Poseidon Benchmark MacM3.png differ diff --git a/benchmark/poseidon/Poseidon Benchmark.png b/benchmark/poseidon/Poseidon Benchmark.png index 812152695..65f844312 100644 Binary files a/benchmark/poseidon/Poseidon Benchmark.png and b/benchmark/poseidon/Poseidon Benchmark.png differ diff --git a/benchmark/poseidon/README.md b/benchmark/poseidon/README.md index 2512193a9..e0405969d 100644 --- a/benchmark/poseidon/README.md +++ b/benchmark/poseidon/README.md @@ -7,24 +7,50 @@ CPU Caches: L1 Instruction 32 KiB (x16) L2 Unified 2048 KiB (x16) L3 Unified 36864 KiB (x1) + +Run on Apple M3 Pro (12 X 4050 MHz) +CPU Caches: + L1 Data 64 KiB (x12) + L1 Instruction 128 KiB (x12) + L2 Unified 4096 KiB (x12) ``` ```shell bazel run -c opt --//:has_openmp --//:has_rtti --//:has_matplotlib //benchmark/poseidon:poseidon_benchmark ``` -| Repetition | Tachyon | Arkworks | -| :--------: | -------- | ------------- | -| 0 | 0.000124 | **0.000114** | -| 1 | 0.000125 | **0.00011** | -| 2 | 0.000124 | **0.00011** | -| 3 | 0.000124 | **0.000106** | -| 4 | 0.000124 | **0.00011** | -| 5 | 0.000124 | **0.000109** | -| 6 | 0.000125 | **0.000108** | -| 7 | 0.000123 | **0.00011** | -| 8 | 0.000123 | **0.000109** | -| 9 | 0.000124 | **0.000106** | -| avg | 0.000124 | **0.0001092** | +## On Intel i9-13900K + +| Repetition | Tachyon | Arkworks | +| :--------: | ------------ | --------- | +| 0 | **9.9e-05** | 0.000122 | +| 1 | **9.9e-05** | 0.000119 | +| 2 | **9.9e-05** | 0.000117 | +| 3 | **9.9e-05** | 0.000119 | +| 4 | **9.9e-05** | 0.000118 | +| 5 | **0.000101** | 0.000116 | +| 6 | **9.8e-05** | 0.000118 | +| 7 | **9.9e-05** | 0.000118 | +| 8 | **9.9e-05** | 0.000118 | +| 9 | **9.9e-05** | 0.000118 | +| avg | **9.91e-05** | 0.0001183 | ![image](/benchmark/poseidon/Poseidon%20Benchmark.png) + +## On Mac M3 Pro + +| Repetition | Tachyon | Arkworks | +| :--------: | ------------- | --------- | +| 0 | **0.000112** | 0.000131 | +| 1 | **0.000118** | 0.000125 | +| 2 | **0.000111** | 0.000121 | +| 3 | **0.000103** | 0.000121 | +| 4 | **0.000104** | 0.00012 | +| 5 | **0.000103** | 0.000117 | +| 6 | **0.000103** | 0.000118 | +| 7 | **0.000104** | 0.000117 | +| 8 | **0.0001** | 0.000118 | +| 9 | **0.000113** | 0.000118 | +| avg | **0.0001071** | 0.0001206 | + +![image](/benchmark/poseidon/Poseidon%20Benchmark%20MacM3.png)