Skip to content

Conversation

rakita
Copy link
Member

@rakita rakita commented Jul 24, 2025

Reusing idea from: #2706
Build on top of: #2777

Copy link

codspeed-hq bot commented Jul 24, 2025

CodSpeed Performance Report

Merging #2786 will degrade performances by 5.85%

Comparing global-crypto (1c6abbf) with main (15eddc4)

Summary

❌ 4 regressions
✅ 167 untouched benchmarks

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

Benchmarks breakdown

Benchmark BASE HEAD Change
blake2/10_rounds 4.3 µs 4.5 µs -4.04%
blake2/12_rounds 4.5 µs 4.7 µs -4.48%
blake2/2_rounds 3.1 µs 3.2 µs -4.71%
blake2/4_rounds 3.4 µs 3.6 µs -5.85%

@rakita rakita force-pushed the global-crypto branch 2 times, most recently from e77d3ed to fa8a709 Compare July 24, 2025 14:26
@rakita rakita merged commit 665f524 into main Jul 25, 2025
29 of 30 checks passed
@rakita rakita deleted the global-crypto branch July 25, 2025 09:49
This was referenced Jul 25, 2025
This was referenced Jul 28, 2025
lwedge99 pushed a commit to sentioxyz/revm that referenced this pull request Sep 16, 2025
* add bn128

* add rest of impls

* add cfg_if

* uniform reexport

* refactor

* nit: function names

* remove refs from blake

* type alias  + inlines

* use trait for version hash

* remove Result

* test dynamic dispatch

* revert static call

* chore: reuse global crypto provide idea

* fix compilation

* add default impl to Crypto trait

* nit rm alloc

* nits

* fix lock compilation

* return  bool for p256 verify fn

---------

Co-authored-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
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.

3 participants