From: Chris Duncan Date: Wed, 8 Jan 2025 22:19:25 +0000 (-0800) Subject: Benchmark a couple more times now that G round 0 is completely inlined. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=7b562487420d295818d9589e7416348c7df136fe;p=libnemo.git Benchmark a couple more times now that G round 0 is completely inlined. --- diff --git a/benchmarks.md b/benchmarks.md index c1f5ae5..f21381c 100644 --- a/benchmarks.md +++ b/benchmarks.md @@ -55,6 +55,15 @@ Total: 187827.7999998629 ms Average: 366.85117187473224 ms Harmonic: 223.9897252426498 ms +libnemo: Time to calculate proof-of-work for a send block 512 times +(after inlining entire first G round) +Total: 156981.3999993205 ms +Average: 306.60429687367287 ms +Harmonic: 128.74904701127866 ms +Minimum: 21.700000047683716 ms +Maximum: 1981.199999988079 ms + + PowGpu: Time to calculate proof-of-work for a send block 32 times Total: 8909.500000029802 ms Average: 278.4218750009313 ms @@ -80,4 +89,13 @@ Geometric: 210.41080264689026 ms Minimum: 25 ms Maximum: 1249.199999988079 ms +libnemo: Time to calculate proof-of-work for a send block 32 times +Total: 9778.899999797344 ms +(after inlining entire first G round) +Average: 305.590624993667 ms +Harmonic: 120.65186396913916 ms +Geometric: 193.85674573632113 ms +Minimum: 23.69999998807907 ms +Maximum: 1752.199999988079 ms + In the following code, look at the fourth argument. Prepend it with `v&` and remove its `u` suffix. Then insert a parameter right after it with the same name except the digit is incremented by 1. For example, `G(&v, &v0, &v1, 8u, 16u, 24u, m0, m1, m2, m3);` becomes `G(&v, &v0, &v1, &v8, &v9, 16u, 24u, m0, m1, m2, m3);`. Make sure the ampersand is present and the digits are correct as described. Do not make any other modifications.