Skip to content

fix: freeze bun-ffi-z#14

Merged
twoeths merged 2 commits intomainfrom
te/freeze_bun-ffi-z
May 21, 2025
Merged

fix: freeze bun-ffi-z#14
twoeths merged 2 commits intomainfrom
te/freeze_bun-ffi-z

Conversation

@twoeths
Copy link
Copy Markdown
Collaborator

@twoeths twoeths commented May 21, 2025

Motivation

  • the last step to release v1.0.0 of this repo

Description

  • bun-ffi-z v1.0.0
  • use secrets.NPM_TOKEN

@github-actions
Copy link
Copy Markdown

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 01bb138 Previous: null Ratio
JS - unshuffleList - 16384 indices 923.07 us/op
Zig - unshuffleList - 16384 indices 600.32 us/op
JS - unshuffleList - 250000 indices 13.351 ms/op
Zig - unshuffleList - 250000 indices 9.0093 ms/op
JS - unshuffleList - 1000000 indices 53.359 ms/op
Zig - unshuffleList - 1000000 indices 35.779 ms/op
get values - 1000 335.00 ns/op
get values - naive - 1000 649.00 ns/op
set values - 1000 300.00 ns/op
set values - naive - 1000 608.00 ns/op
get values - 1000000 880.00 ns/op
get values - naive - 1000000 1.5640 us/op
set values - 1000000 881.00 ns/op
set values - naive - 1000000 2.2080 us/op
JS - computeSyncCommitteeIndices - 16384 indices 323.15 ms/op
Zig - computeSyncCommitteeIndices - 16384 indices 4.0181 ms/op
JS - computeSyncCommitteeIndices - 250000 indices 292.77 ms/op
Zig - computeSyncCommitteeIndices - 250000 indices 17.103 ms/op
JS - computeSyncCommitteeIndices - 1000000 indices 314.40 ms/op
Zig - computeSyncCommitteeIndices - 1000000 indices 32.574 ms/op

by benchmarkbot/action

@twoeths twoeths marked this pull request as ready for review May 21, 2025 13:01
@twoeths twoeths merged commit 76a5757 into main May 21, 2025
14 checks passed
wemeetagain pushed a commit that referenced this pull request Mar 12, 2026
* fix: rename Signature verifyMultiple() to verifyMultipleAggregateSignatures()

* feat: use DST of beacon chain for sign() api

* fix: remove dst and dst_len params

* feat: implement verifyMultipleAggregateSignatures([*c]*const SignatureSet)

* feat: add sizeOfPairing() C-ABI function

* chore: negative test verifyMultipleAggregateSignaturesC

* feat: reuse stack allocation random bytes in verifyMultipleAggregateSignatures()

---------

Co-authored-by: Tuyen Nguyen <twoeths@users.noreply.github.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.

1 participant