Skip to content

Conversation

Olshansk
Copy link
Collaborator

@Olshansk Olshansk commented Jun 18, 2024

Some DevEx improvements from https://github.com/pokt-network/ring-go

@Olshansk Olshansk changed the title Merging upstream [Misc] Code cleanup & docs Jun 18, 2024
@Olshansk Olshansk requested a review from noot June 18, 2024 00:57
@Olshansk Olshansk self-assigned this Jun 18, 2024
@Olshansk Olshansk added the enhancement New feature or request label Jun 18, 2024
Olshansk added 2 commits July 15, 2024 15:13
…ance (#2)

```bah
make benchmark_report
🔬 Benchmarking ring signature crypto backends...
======================================================================

Running benchmarks with Decred backend (Pure Go)...
Running benchmarks with Ethereum backend (CGO + libsecp256k1)...

🔍 SIGN PERFORMANCE (Ring Signatures):
Ring  Decred          Ethereum        Improvement
Size  (Pure Go)       (libsecp256k1)  (% faster)
----  --------------- --------------- -----------
2     1.5 ms          607.3 µs        59%
4     2.6 ms          1.0 ms          60%
8     4.5 ms          1.9 ms          57%
16    8.5 ms          3.7 ms          57%
32    17.3 ms         7.2 ms          58%

🔍 VERIFY PERFORMANCE (Ring Signatures):
Ring  Decred          Ethereum        Improvement
Size  (Pure Go)       (libsecp256k1)  (% faster)
----  --------------- --------------- -----------
2     1.0 ms          400.1 µs        61%
4     2.0 ms          841.2 µs        58%
8     4.0 ms          1.7 ms          58%
16    8.0 ms          3.4 ms          58%
32    16.5 ms         6.9 ms          58%
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant