Skip to content

Commit

Permalink
Add eip-2537 functions to evmtool benchmark subcommand (#7708)
Browse files Browse the repository at this point in the history
* add bls12 g1/g2 to evmtool benchmark subcommand

Signed-off-by: garyschulte <[email protected]>
  • Loading branch information
garyschulte authored Oct 11, 2024
1 parent d5ee9b7 commit 6c49c73
Show file tree
Hide file tree
Showing 4 changed files with 413 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import org.hyperledger.besu.BesuInfo;
import org.hyperledger.besu.evmtool.benchmarks.AltBN128Benchmark;
import org.hyperledger.besu.evmtool.benchmarks.BLS12Benchmark;
import org.hyperledger.besu.evmtool.benchmarks.BenchmarkExecutor;
import org.hyperledger.besu.evmtool.benchmarks.ECRecoverBenchmark;
import org.hyperledger.besu.evmtool.benchmarks.ModExpBenchmark;
Expand Down Expand Up @@ -56,7 +57,9 @@ enum Benchmark {
// blake2f
EcRecover(new ECRecoverBenchmark()),
ModExp(new ModExpBenchmark()),
Secp256k1(new Secp256k1Benchmark());
Secp256k1(new Secp256k1Benchmark()),
// bls12
Bls12(new BLS12Benchmark());

final BenchmarkExecutor benchmarkExecutor;

Expand Down
Loading

0 comments on commit 6c49c73

Please sign in to comment.