Skip to content

Commit

Permalink
chore(benchmarks): fix some typos in comment (#348)
Browse files Browse the repository at this point in the history
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
  • Loading branch information
wangjingcun authored Nov 22, 2024
1 parent 2dc9a19 commit c126a7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmarks/benchmark-merkle-trees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ export default function run(treeDepth: number, numberOfLeaves: number) {
let leafSMT = 0
/* Number of leafs to take as sample to benchmark.
It acts as a limit to stop doing the operation (delete) or restart the cycle
counter controller (update, proof, verification) in a bechmark since
counter controller (update, proof, verification) in a benchmark since
the benny suite does not have the method to limit the maximum of operations
of the bechmark.
of the benchmark.
*/
const samples = numberOfLeaves * 0.5
// The set of keys to do bechmarks (update, proof, verification and delete)
// The set of keys to do benchmarks (update, proof, verification and delete)
const sample = getNodesSample(numberOfLeaves, samples)

/* Benchmarking Add Operation:
Expand Down

0 comments on commit c126a7c

Please sign in to comment.