Test Bls12 381¶
Documentation for tests/benchmark/compute/precompile/test_bls12_381.py@8db70f93.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/benchmark/compute/precompile/test_bls12_381.py --gas-benchmark-values 1
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_bls12_g2_msm |
benchmark_test | 4 | Benchmark BLS12_G2_MSM precompile with varying number of points. |
test_bls12_381 |
benchmark_test | 7 | Benchmark BLS12_381 precompile. |
test_bls12_381_uncachable |
benchmark_test | 6 | Benchmark BLS12_381 with unique input per call. |
test_bls12_g1_msm |
benchmark_test | 4 | Benchmark BLS12_G1_MSM precompile with varying number of points. |
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. |