mirror of
https://github.com/codex-storage/circom-compat.git
synced 2025-02-05 15:43:44 +00:00
bb0f5429fc
* add benchmark * chore: add complex circuit * feat: enable parallel / asm * bench: use pre-calculated matrices/constraints * chore: bump ethers-rs * chore: fmt * feat: add benches for differently sized circuits (#6) * feat: update bench circuit * feat: add benches for many sizes * fix: adjust bench parameters * fix: remove sym * chore: fmt * fix: point to correct commit of groth16 * fix: update function names to upstream * fix: update function names to upstream Co-authored-by: Kobi Gurkan <kobigurk@gmail.com>
11 lines
371 B
Bash
Executable File
11 lines
371 B
Bash
Executable File
for i in `seq 3 5`
|
|
do
|
|
for j in `seq $i 5`
|
|
do
|
|
NUM_VARIABLES=$(echo 10^$i | bc)
|
|
NUM_CONSTRAINTS=$(echo 10^$j | bc)
|
|
sed "s/NUM_VARIABLES_TEMPLATE/$NUM_VARIABLES/g;s/NUM_CONSTRAINTS_TEMPLATE/$NUM_CONSTRAINTS/g" complex-circuit.circom.template > complex-circuit-$NUM_VARIABLES-$NUM_CONSTRAINTS.circom
|
|
./build.sh $NUM_VARIABLES $NUM_CONSTRAINTS
|
|
done
|
|
done
|