Skip to content

Test Bls12 381

Documentation for tests/benchmark/compute/precompile/test_bls12_381.py@02aafd78.

Generate fixtures for these test cases for Bogota with:

fill -v tests/benchmark/compute/precompile/test_bls12_381.py --gas-benchmark-values 1

Benchmark BLS12_381 precompile.

Test Functions Overview

Name Type Cases (Bogota) Description
test_bls12_msm benchmark_test 8 Benchmark a BLS12 MSM precompile with varying number of points.
test_bls12_381 benchmark_test 5 Benchmark BLS12_381 precompile.
test_bls12_381_uncachable benchmark_test 6 Benchmark BLS12_381 with unique input per call.
test_bls12_pairing benchmark_test 5 Benchmark BLS12_PAIRING precompile with varying number of pairs.
test_bls12_pairing_uncachable benchmark_test 5 Benchmark BLS12 pairing precompile with unique inputs per call.