MCPcopy Create free account

hub / github.com/babybear-labs/benchmark / functions

Functions118 in github.com/babybear-labs/benchmark

↓ 16 callersFunctionmeasure_command
Measure the time and memory usage of a specified command. :param command: The command to execute and measure. :param time: True if you w
circom/scripts/util.py:19
↓ 11 callersMethoditer
(&'a self)
risc-zero/shared/src/lib.rs:87
↓ 4 callersMethoddigest
(&self)
risc-zero/shared/src/lib.rs:73
↓ 4 callersFunctionextract_contraints
(r1cs_file)
circom/scripts/util.py:180
↓ 4 callersFunctiongenerate_circuit
Generate a circuit from a template :param info: dictionary with the information to replace in the template :param circuit_template: path
circom/scripts/util.py:82
↓ 3 callersFunctionlog_session
((receipt, session): &(Receipt, SessionStats), b: &mut BenchmarkRun)
risc-zero/host/benches/bench.rs:64
↓ 2 callersFunctionfibonacci
Compute the n'th fibonacci number (wrapping around on overflows), using normal Rust code.
sp1/algos/fibonacci/lib/src/lib.rs:13
↓ 2 callersFunctiongenerate_input
Generate a random input for a circuit of a given size :param output_path: path to the output file :param size: size of the input
circom/scripts/util.py:121
↓ 2 callersFunctionpos
()
sp1/algos/poseidon/lib/src/lib.rs:30
↓ 2 callersFunctionrotl64
(x: u64, y: u32)
nexus/src/sha256/sha256.rs:29
↓ 2 callersFunctionsha2
(input: &[u8])
sp1/algos/sha256/lib/src/lib.rs:12
↓ 2 callersFunctionsha256_hash
(data: &[u8])
powdr/merkle-leaf-proof/guest/src/main.rs:72
↓ 2 callersFunctionsha256_hash
(data: &[u8])
jolt/algos/merkle-leaf-proof/guest/src/lib.rs:71
↓ 2 callersFunctionsha3_keccakf
(st: &mut [u64; 25])
nexus/src/sha256/sha256.rs:33
↓ 1 callersFunction__merkelize
(arr)
circom/scripts/util.py:259
↓ 1 callersFunctionbench_poseidon_n
(n_thousands: u32)
risc-zero/methods/poseidon/src/main.rs:20
↓ 1 callersFunctionbench_sha_n
(n_thousands: usize)
risc-zero/methods/sha/src/main.rs:11
↓ 1 callersMethodbuild_tree
(&mut self)
powdr/merkle-leaf-proof/guest/src/main.rs:21
↓ 1 callersMethodbuild_tree
(&mut self)
jolt/algos/merkle-leaf-proof/guest/src/lib.rs:20
↓ 1 callersFunctionbytes_to_felts
Converts an arbitrary byte slice into `Felt` elements.
powdr/poseidon/guest/src/main.rs:7
↓ 1 callersFunctionbytes_to_felts
Converts an arbitrary byte slice into `Felt` elements.
jolt/algos/poseidon/guest/src/lib.rs:6
↓ 1 callersFunctionbytes_to_felts
Converts an arbitrary byte slice into `Felt` elements.
sp1/algos/poseidon/lib/src/lib.rs:15
↓ 1 callersFunctionbytes_to_felts
Converts an arbitrary byte slice into `Felt` elements.
nexus/src/main.rs:8
↓ 1 callersFunctioncreate_merkle_tree
(arr, n_levels)
circom/scripts/util.py:247
↓ 1 callersMethoddepth
(&self)
risc-zero/shared/src/lib.rs:80
↓ 1 callersFunctionethash_final
(c: &mut Sha3)
nexus/src/sha256/sha256.rs:144
↓ 1 callersFunctionfib
(n: u32)
powdr/fib/guest/src/main.rs:4
↓ 1 callersFunctionfib
(n: u32)
risc-zero/host/src/fib.rs:4
↓ 1 callersFunctionfibonacci
(n: u32)
risc-zero/methods/fib/src/main.rs:15
↓ 1 callersFunctiongenerate_input_fibonnaci
Generate a random input for a circuit of a given size :param output_path: path to the output file :param size: size of the input
circom/scripts/util.py:132
↓ 1 callersFunctiongenerate_input_merkle
Generate a random input for a circuit of a given size :param output_path: path to the output file :param size: size of the input
circom/scripts/util.py:143
↓ 1 callersFunctiongenerate_merkle_proof
(leaves_base_2: u32)
powdr/merkle-leaf-proof/guest/src/main.rs:80
↓ 1 callersFunctiongenerate_merkle_proof
(m, key, n_levels)
circom/scripts/util.py:271
↓ 1 callersFunctiongenerate_random_image
Generate a random image. :param height: Height of the image. :param width: Width of the image. :return: the random image.
circom/scripts/util.py:218
↓ 1 callersMethodget_proof
(&self, index: usize)
powdr/merkle-leaf-proof/guest/src/main.rs:51
↓ 1 callersMethodget_proof
(&self, index: usize)
jolt/algos/merkle-leaf-proof/guest/src/lib.rs:50
↓ 1 callersMethodget_root
(&self)
powdr/merkle-leaf-proof/guest/src/main.rs:44
↓ 1 callersMethodget_root
(&self)
jolt/algos/merkle-leaf-proof/guest/src/lib.rs:43
↓ 1 callersFunctionhash
(bytes: &[u8])
nexus/src/sha256/sha256.rs:160
↓ 1 callersFunctionmerge_trees
(tree1: Tree<Sha>, tree2: Tree<Sha>)
risc-zero/shared/src/lib.rs:135
↓ 1 callersFunctionmerge_trees
(tree1: Tree<Sha>, tree2: Tree<Sha>)
risc-zero/methods/merkle/src/main.rs:21
↓ 1 callersFunctionpos
()
nexus/src/main.rs:23
↓ 1 callersFunctionposeidon
()
powdr/poseidon/guest/src/main.rs:22
↓ 1 callersFunctionposeidon
(n: u32)
risc-zero/host/src/poseidon.rs:4
↓ 1 callersMethodrandom
()
risc-zero/shared/src/hash.rs:32
↓ 1 callersFunctionrandom_array
(length)
circom/test_merkle.py:50
↓ 1 callersFunctionresize_image
Resize an image to the given dimensions. :param image_path: Path to the image to resize. :param height: Height of the resized image.
circom/scripts/util.py:186
↓ 1 callersFunctionsha
(n_thousands: usize)
risc-zero/host/src/sha.rs:4
↓ 1 callersFunctionsha2
(input: &[u8])
powdr/sha/guest/src/main.rs:5
↓ 1 callersFunctionsha3_init
(mdlen: i32)
nexus/src/sha256/sha256.rs:116
↓ 1 callersFunctionsha3_update
(c: &mut Sha3, data: &[u8])
nexus/src/sha256/sha256.rs:125
↓ 1 callersFunctiontest_circuit
(circuit_name, input_path,pot_path,verbose=True,time = True, memory = True)
circom/test_merkle.py:7
↓ 1 callersFunctiontest_circuit
(circuit_name, input_path,pot_path,verbose=True,time = True, memory = True)
circom/test_fibonacci.py:5
↓ 1 callersFunctiontest_circuit
(circuit_name, input_path,pot_path,verbose=True,time = True, memory = True)
circom/test_poseidon.py:5
↓ 1 callersFunctiontest_circuit
(circuit_name, input_path,pot_path,verbose=True,time = True, memory = True)
circom/test_sha256.py:5
Functionadd
(a: u64, b: u64)
jolt/algos/addition/guest/src/lib.rs:4
Functionappend_to_csv
Append a row to a csv file if it exists, otherwise create it :param row: dictionary with the row to append :param csv_path: path to the c
circom/scripts/util.py:108
Functioncan_merge_trees_in_rust
()
risc-zero/shared/src/lib.rs:148
Functioncompute_input
Compute the size of the input from a line, built with linear regression, measuring the number constraints from the input size :param GB:
circom/scripts/util.py:158
Functiondiv
(a: u64, b: u64)
jolt/algos/division/guest/src/lib.rs:4
Functionfib
(n: u64)
jolt/algos/fib/guest/src/lib.rs:4
Functionfibonacci
(b: &mut BenchmarkRun, n: u32)
risc-zero/host/benches/bench.rs:21
Functionfor_loop
(n: u64)
jolt/algos/for-loop/guest/src/lib.rs:4
Methodfrom_json
(s: &str)
risc-zero/shared/src/lib.rs:104
Functiongenerate_merkle_proof
(leaves_base_2: u32)
jolt/algos/merkle-leaf-proof/guest/src/lib.rs:80
Functiongenerate_resize_input
Generate a random input that fits the cirtuit for the resize operation check. :param output_path: Path to the output file. :param f_heigh
circom/scripts/util.py:230
Functionmain
()
powdr/fib/guest/src/main.rs:16
Functionmain
()
powdr/fib/src/main.rs:3
Functionmain
()
powdr/sha/guest/src/main.rs:12
Functionmain
()
powdr/sha/src/main.rs:3
Functionmain
()
powdr/merkle-leaf-proof/guest/src/main.rs:92
Functionmain
()
powdr/merkle-leaf-proof/src/main.rs:3
Functionmain
()
powdr/poseidon/guest/src/main.rs:34
Functionmain
()
powdr/poseidon/src/main.rs:3
Functionmain
()
jolt/algos/fib/src/main.rs:6
Functionmain
()
jolt/algos/division/src/main.rs:3
Functionmain
()
jolt/algos/subtraction/src/main.rs:3
Functionmain
()
jolt/algos/merkle-leaf-proof/src/main.rs:3
Functionmain
()
jolt/algos/for-loop/src/main.rs:3
Functionmain
()
jolt/algos/sha256/src/main.rs:3
Functionmain
()
jolt/algos/addition/src/main.rs:3
Functionmain
()
jolt/algos/poseidon/src/main.rs:3
Functionmain
()
jolt/algos/multiplication/src/main.rs:3
Functionmain
()
sp1/algos/fibonacci/script/build.rs:3
Functionmain
()
sp1/algos/fibonacci/script/src/bin/main.rs:35
Functionmain
()
sp1/algos/fibonacci/program/src/main.rs:14
Functionmain
()
sp1/algos/sha256/script/build.rs:3
Functionmain
()
sp1/algos/sha256/script/src/bin/main.rs:35
Functionmain
()
sp1/algos/sha256/program/src/main.rs:14
Functionmain
()
sp1/algos/poseidon/script/build.rs:3
Functionmain
()
sp1/algos/poseidon/script/src/bin/main.rs:35
Functionmain
()
sp1/algos/poseidon/program/src/main.rs:14
Functionmain
()
nexus/src/main.rs:36
Functionmain
()
nexus/src/sha256/sha256.rs:171
Functionmain
()
risc-zero/methods/build.rs:1
Functionmain
()
risc-zero/methods/fib/src/main.rs:9
Functionmain
()
risc-zero/methods/merkle/src/main.rs:14
Functionmain
()
risc-zero/methods/sha/src/main.rs:18
Functionmain
()
risc-zero/methods/poseidon/src/main.rs:15
Functionmeasure_pagefault_time_command
Measure the time and number of page faults of a specified command. :param command: The command to execute and measure. :param password:
circom/scripts/util.py:57
next →1–100 of 118, ranked by callers