Skip to content

feat: add official bun binding#42

Merged
twoeths merged 9 commits intomainfrom
te/consume_bun-ffi-z
May 21, 2025
Merged

feat: add official bun binding#42
twoeths merged 9 commits intomainfrom
te/consume_bun-ffi-z

Conversation

@twoeths
Copy link
Copy Markdown
Collaborator

@twoeths twoeths commented May 19, 2025

Motivation

Description

  • the bun binding stays in ${root}/bun
  • add unified CI

@twoeths twoeths force-pushed the te/consume_bun-ffi-z branch from 1b2b2d1 to 82cd416 Compare May 19, 2025 03:43
@github-actions
Copy link
Copy Markdown

github-actions bot commented May 19, 2025

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 983f7a9 Previous: null Ratio
aggregatePublicKeys - 1 sets 559.00 ns/op
aggregatePublicKeys - 8 sets 7.9580 us/op
aggregatePublicKeys - 32 sets 23.334 us/op
aggregatePublicKeys - 128 sets 87.733 us/op
aggregatePublicKeys - 256 sets 172.05 us/op
aggregateSignatures - 1 sets 530.00 ns/op
aggregateSignatures - 8 sets 14.738 us/op
aggregateSignatures - 32 sets 51.482 us/op
aggregateSignatures - 128 sets 197.04 us/op
aggregateSignatures - 256 sets 399.33 us/op
aggregateWithRandomness - 1 sets 232.44 us/op
aggregateWithRandomness - 16 sets 2.4120 ms/op
aggregateWithRandomness - 128 sets 15.416 ms/op
aggregateVerify - 1 sets 1.2065 ms/op
aggregateVerify - 8 sets 2.4510 ms/op
aggregateVerify - 32 sets 6.9076 ms/op
aggregateVerify - 128 sets 25.303 ms/op
verifyMultipleAggregateSignatures - 1 sets 1.3763 ms/op
verifyMultipleAggregateSignatures - 8 sets 2.9353 ms/op
verifyMultipleAggregateSignatures - 32 sets 8.8596 ms/op
verifyMultipleAggregateSignatures - 128 sets 33.039 ms/op
Same message - 1 sets 1.4129 ms/op
Same message - 8 sets 2.0914 ms/op
Same message - 32 sets 4.4189 ms/op
Same message - 128 sets 13.674 ms/op
Same message - 256 sets 26.066 ms/op
SecretKey.fromKeygen 1.1010 us/op
SecretKey serialization 285.00 ns/op
SecretKey deserialization 309.00 ns/op
SecretKey.toPublicKey 117.79 us/op
SecretKey.sign 419.80 us/op
Signature serialization 423.00 ns/op
Signature deserialize 35.155 us/op
Signatures deserialize and validate - 1 sets 94.720 us/op
Signatures deserialize and validate - 100 sets 9.4332 ms/op
Signatures deserialize and validate - 10000 sets 944.85 ms/op
PublicKey serialization 331.00 ns/op
PublicKey deserialize 17.482 us/op
PublicKey deserialize and validate - 1 keys 70.990 us/op
PublicKey deserialize and validate - 100 keys 7.0206 ms/op
PublicKey deserialize and validate - 10000 keys 703.67 ms/op

by benchmarkbot/action

@twoeths twoeths marked this pull request as ready for review May 21, 2025 13:08
@twoeths twoeths merged commit 28391f1 into main May 21, 2025
14 checks passed
@twoeths twoeths deleted the te/consume_bun-ffi-z branch May 21, 2025 13:08
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.

1 participant