Skip to content

chore: add bls12-381 benchmarks#2327

Merged
rakita merged 10 commits intobluealloy:mainfrom
kevaundray:kw/add-bls-benchmarks
Mar 27, 2025
Merged

chore: add bls12-381 benchmarks#2327
rakita merged 10 commits intobluealloy:mainfrom
kevaundray:kw/add-bls-benchmarks

Conversation

@kevaundray
Copy link
Contributor

@kevaundray kevaundray commented Mar 27, 2025

closes #2322

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 27, 2025

CodSpeed Performance Report

Merging #2327 will degrade performances by 7.75%

Comparing kevaundray:kw/add-bls-benchmarks (827b55c) with main (d79ff44)

Summary

❌ 1 regressions
✅ 8 untouched benchmarks
🆕 16 new benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
evm-build 8.3 µs 9 µs -7.75%
🆕 g1_add N/A 27.7 µs N/A
🆕 g1_msm (size 1) N/A 713.3 µs N/A
🆕 g1_msm (size 128) N/A 47 ms N/A
🆕 g1_msm (size 2) N/A 1.4 ms N/A
🆕 g1_msm (size 256) N/A 89.2 ms N/A
🆕 g2_add N/A 42.2 µs N/A
🆕 g2_msm (size 1) N/A 1.3 ms N/A
🆕 g2_msm (size 128) N/A 88.2 ms N/A
🆕 g2_msm (size 2) N/A 2.7 ms N/A
🆕 g2_msm (size 256) N/A 162.3 ms N/A
🆕 map_fp2_to_g2 N/A 860.4 µs N/A
🆕 map_fp_to_g1 N/A 243.5 µs N/A
🆕 pairing (1 pairs) N/A 4.4 ms N/A
🆕 pairing (16 pairs) N/A 36.5 ms N/A
🆕 pairing (2 pairs) N/A 6.5 ms N/A
🆕 pairing (8 pairs) N/A 19.4 ms N/A

@kevaundray kevaundray marked this pull request as ready for review March 27, 2025 18:33
Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rakita rakita merged commit d8291d7 into bluealloy:main Mar 27, 2025
28 of 29 checks passed
@github-actions github-actions bot mentioned this pull request Mar 27, 2025
This was referenced Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benchmarks for bls precompiles

2 participants