From 6cde220d3bcdf9cb0b734bb943452a1464f69798 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Wed, 8 Jan 2025 13:35:55 -0800 Subject: [PATCH] Run a benchmark. --- benchmarks.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/benchmarks.md b/benchmarks.md index 505ac79..c1f5ae5 100644 --- a/benchmarks.md +++ b/benchmarks.md @@ -71,4 +71,13 @@ Geometric: 228.69384924435158 ms Minimum: 21.900000005960464 ms Maximum: 1479.5 ms +libnemo: Time to calculate proof-of-work for a send block 32 times +(after inlining three G calls) +Total: 11208.399999916553 ms +Average: 350.2624999973923 ms +Harmonic: 115.78621253028925 ms +Geometric: 210.41080264689026 ms +Minimum: 25 ms +Maximum: 1249.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. -- 2.34.1