Skip to content

fix: update package.json repo links so provenance works#523

Merged
matthewkeil merged 1 commit intomasterfrom
mkeil/update-provenance
Apr 21, 2026
Merged

fix: update package.json repo links so provenance works#523
matthewkeil merged 1 commit intomasterfrom
mkeil/update-provenance

Conversation

@matthewkeil
Copy link
Copy Markdown
Member

Motivation

Fix provenance and clean up all package.json repo links

@matthewkeil matthewkeil merged commit d619c45 into master Apr 21, 2026
9 checks passed
@matthewkeil matthewkeil deleted the mkeil/update-provenance branch April 21, 2026 12:04
@github-actions github-actions Bot mentioned this pull request Apr 21, 2026
matthewkeil pushed a commit that referenced this pull request Apr 21, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>as-sha256: 1.2.4</summary>

##
[1.2.4](as-sha256-v1.2.3...as-sha256-v1.2.4)
(2026-04-21)


### Bug Fixes

* update package.json repo links so provenance works
([#523](#523))
([d619c45](d619c45))
</details>

<details><summary>persistent-merkle-tree: 1.2.5</summary>

##
[1.2.5](persistent-merkle-tree-v1.2.4...persistent-merkle-tree-v1.2.5)
(2026-04-21)


### Bug Fixes

* update package.json repo links so provenance works
([#523](#523))
([d619c45](d619c45))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @chainsafe/as-sha256 bumped to 1.2.4
</details>

<details><summary>persistent-ts: 1.0.3</summary>

##
[1.0.3](persistent-ts-v1.0.2...persistent-ts-v1.0.3)
(2026-04-21)


### Bug Fixes

* update package.json repo links so provenance works
([#523](#523))
([d619c45](d619c45))
</details>

<details><summary>ssz: 1.3.4</summary>

##
[1.3.4](ssz-v1.3.3...ssz-v1.3.4)
(2026-04-21)


### Bug Fixes

* update package.json repo links so provenance works
([#523](#523))
([d619c45](d619c45))


### Miscellaneous

* bump @lodestar/spec-test-util to 1.42.0
([#518](#518))
([67a26aa](67a26aa))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @chainsafe/as-sha256 bumped to 1.2.4
    * @chainsafe/persistent-merkle-tree bumped to 1.2.5
  * devDependencies
    * @chainsafe/persistent-ts bumped to 1.0.3
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: a2e64ac Previous: 36d8c67 Ratio
digestTwoHashObjects 50023 times 50.733 ms/op 48.088 ms/op 1.06
digest2Bytes32 50023 times 57.876 ms/op 55.566 ms/op 1.04
digest 50023 times 56.383 ms/op 54.904 ms/op 1.03
input length 32 1.3000 us/op 1.2160 us/op 1.07
input length 64 1.4570 us/op 1.4220 us/op 1.02
input length 128 2.4310 us/op 2.3190 us/op 1.05
input length 256 3.6650 us/op 3.5000 us/op 1.05
input length 512 5.9590 us/op 5.6580 us/op 1.05
input length 1024 11.298 us/op 10.870 us/op 1.04
digest 1000000 times 888.34 ms/op 875.24 ms/op 1.01
hashObjectToByteArray 50023 times 963.00 us/op 938.16 us/op 1.03
byteArrayToHashObject 50023 times 1.7953 ms/op 1.3420 ms/op 1.34
digest64 200092 times 222.03 ms/op 218.88 ms/op 1.01
hash 200092 times using batchHash4UintArray64s 117.80 ms/op 236.21 ms/op 0.50
digest64HashObjects 200092 times 198.45 ms/op 191.90 ms/op 1.03
hash 200092 times using batchHash4HashObjectInputs 77.156 ms/op 193.66 ms/op 0.40
getGindicesAtDepth 4.1430 us/op 3.6780 us/op 1.13
iterateAtDepth 7.8180 us/op 6.5700 us/op 1.19
getGindexBits 583.00 ns/op 482.00 ns/op 1.21
gindexIterator 1.1330 us/op 929.00 ns/op 1.22
HashComputationLevel.push then loop 39.940 ms/op 27.105 ms/op 1.47
HashComputation[] push then loop 53.848 ms/op 47.256 ms/op 1.14
hash 2 32 bytes Uint8Array 500000 times - hashtree 141.24 ms/op 146.63 ms/op 0.96
batch hash 16 x 64 Uint8Array 31250 times - hashtree 38.093 ms/op 24.390 ms/op 1.56
hashTwoObjects 500000 times - hashtree 166.91 ms/op 172.52 ms/op 0.97
executeHashComputations - hashtree 10.311 ms/op 9.2893 ms/op 1.11
hash 2 32 bytes Uint8Array 500000 times - as-sha256 499.79 ms/op 495.77 ms/op 1.01
batch hash 16 x 64 Uint8Array 31250 times - as-sha256 246.84 ms/op 515.54 ms/op 0.48
hashTwoObjects 500000 times - as-sha256 519.11 ms/op 506.07 ms/op 1.03
executeHashComputations - as-sha256 24.755 ms/op 46.740 ms/op 0.53
hash 2 32 bytes Uint8Array 500000 times - noble 1.5225 s/op 1.2716 s/op 1.20
batch hash 16 x 64 Uint8Array 31250 times - noble 1.4045 s/op 1.2263 s/op 1.15
hashTwoObjects 500000 times - noble 2.2405 s/op 1.6138 s/op 1.39
executeHashComputations - noble 38.221 ms/op 36.524 ms/op 1.05
getHashComputations 2.0368 ms/op 2.1606 ms/op 0.94
executeHashComputations 12.016 ms/op 9.4928 ms/op 1.27
get root 13.218 ms/op 12.762 ms/op 1.04
getNodeH() x7812.5 avg hindex 13.681 us/op 12.245 us/op 1.12
getNodeH() x7812.5 index 0 7.1610 us/op 7.4830 us/op 0.96
getNodeH() x7812.5 index 7 7.2020 us/op 7.5570 us/op 0.95
getNodeH() x7812.5 index 7 with key array 7.8070 us/op 6.3360 us/op 1.23
new LeafNode() x7812.5 373.37 us/op 310.05 us/op 1.20
getHashComputations 250000 nodes 12.394 ms/op 15.972 ms/op 0.78
batchHash 250000 nodes 90.180 ms/op 81.426 ms/op 1.11
get root 250000 nodes 96.319 ms/op 96.185 ms/op 1.00
getHashComputations 500000 nodes 23.350 ms/op 28.765 ms/op 0.81
batchHash 500000 nodes 158.20 ms/op 147.09 ms/op 1.08
get root 500000 nodes 192.66 ms/op 193.63 ms/op 0.99
getHashComputations 1000000 nodes 45.248 ms/op 63.073 ms/op 0.72
batchHash 1000000 nodes 392.96 ms/op 296.11 ms/op 1.33
get root 1000000 nodes 384.40 ms/op 382.65 ms/op 1.00
multiproof - depth 15, 1 requested leaves 9.4310 us/op 7.1870 us/op 1.31
tree offset multiproof - depth 15, 1 requested leaves 20.669 us/op 16.384 us/op 1.26
compact multiproof - depth 15, 1 requested leaves 5.7440 us/op 3.0660 us/op 1.87
multiproof - depth 15, 2 requested leaves 13.421 us/op 10.391 us/op 1.29
tree offset multiproof - depth 15, 2 requested leaves 24.273 us/op 19.749 us/op 1.23
compact multiproof - depth 15, 2 requested leaves 5.7010 us/op 3.1180 us/op 1.83
multiproof - depth 15, 3 requested leaves 18.179 us/op 14.865 us/op 1.22
tree offset multiproof - depth 15, 3 requested leaves 30.753 us/op 25.475 us/op 1.21
compact multiproof - depth 15, 3 requested leaves 5.9700 us/op 3.5990 us/op 1.66
multiproof - depth 15, 4 requested leaves 23.506 us/op 19.770 us/op 1.19
tree offset multiproof - depth 15, 4 requested leaves 37.570 us/op 32.210 us/op 1.17
compact multiproof - depth 15, 4 requested leaves 6.4360 us/op 3.9410 us/op 1.63
packedRootsBytesToLeafNodes bytes 4000 offset 0 8.0700 us/op 5.5620 us/op 1.45
packedRootsBytesToLeafNodes bytes 4000 offset 1 8.0490 us/op 5.5080 us/op 1.46
packedRootsBytesToLeafNodes bytes 4000 offset 2 8.0170 us/op 5.5440 us/op 1.45
packedRootsBytesToLeafNodes bytes 4000 offset 3 7.9930 us/op 5.6960 us/op 1.40
subtreeFillToContents depth 40 count 250000 52.165 ms/op 45.642 ms/op 1.14
setRoot - gindexBitstring 31.556 ms/op 20.942 ms/op 1.51
setRoot - gindex 32.489 ms/op 21.937 ms/op 1.48
getRoot - gindexBitstring 2.6742 ms/op 2.5163 ms/op 1.06
getRoot - gindex 3.5000 ms/op 3.0995 ms/op 1.13
getHashObject then setHashObject 31.825 ms/op 22.234 ms/op 1.43
setNodeWithFn 30.568 ms/op 19.753 ms/op 1.55
getNodeAtDepth depth 0 x100000 260.41 us/op 280.60 us/op 0.93
setNodeAtDepth depth 0 x100000 4.4848 ms/op 2.5932 ms/op 1.73
getNodesAtDepth depth 0 x100000 300.46 us/op 312.93 us/op 0.96
setNodesAtDepth depth 0 x100000 755.50 us/op 762.85 us/op 0.99
getNodeAtDepth depth 1 x100000 283.88 us/op 344.61 us/op 0.82
setNodeAtDepth depth 1 x100000 12.678 ms/op 8.2710 ms/op 1.53
getNodesAtDepth depth 1 x100000 356.10 us/op 436.59 us/op 0.82
setNodesAtDepth depth 1 x100000 9.2551 ms/op 8.0657 ms/op 1.15
getNodeAtDepth depth 2 x100000 662.18 us/op 749.66 us/op 0.88
setNodeAtDepth depth 2 x100000 21.795 ms/op 16.460 ms/op 1.32
getNodesAtDepth depth 2 x100000 20.547 ms/op 17.644 ms/op 1.16
setNodesAtDepth depth 2 x100000 29.359 ms/op 24.762 ms/op 1.19
tree.getNodesAtDepth - gindexes 10.817 ms/op 8.8768 ms/op 1.22
tree.getNodesAtDepth - push all nodes 4.6503 ms/op 2.3978 ms/op 1.94
tree.getNodesAtDepth - navigation 288.80 us/op 312.69 us/op 0.92
tree.setNodesAtDepth - indexes 927.09 us/op 691.74 us/op 1.34
set at depth 8 1.2810 us/op 842.00 ns/op 1.52
set at depth 16 1.7680 us/op 1.0580 us/op 1.67
set at depth 32 2.9260 us/op 2.1410 us/op 1.37
iterateNodesAtDepth 8 256 14.366 us/op 14.234 us/op 1.01
getNodesAtDepth 8 256 3.5630 us/op 3.8480 us/op 0.93
iterateNodesAtDepth 16 65536 4.3019 ms/op 4.6017 ms/op 0.93
getNodesAtDepth 16 65536 1.0557 ms/op 1.1886 ms/op 0.89
iterateNodesAtDepth 32 250000 17.076 ms/op 16.554 ms/op 1.03
getNodesAtDepth 32 250000 5.7741 ms/op 6.6520 ms/op 0.87
iterateNodesAtDepth 40 250000 15.594 ms/op 15.910 ms/op 0.98
getNodesAtDepth 40 250000 5.6627 ms/op 4.5409 ms/op 1.25
250000 validators root getter 98.055 ms/op 99.036 ms/op 0.99
250000 validators batchHash() 116.12 ms/op 87.884 ms/op 1.32
250000 validators hashComputations 12.591 ms/op 15.969 ms/op 0.79
bitlist bytes to struct (120,90) 621.00 ns/op 507.00 ns/op 1.22
bitlist bytes to tree (120,90) 2.8790 us/op 2.4350 us/op 1.18
bitlist bytes to struct (2048,2048) 1.4480 us/op 901.00 ns/op 1.61
bitlist bytes to tree (2048,2048) 5.2590 us/op 3.6920 us/op 1.42
ByteListType - deserialize 14.351 ms/op 8.5525 ms/op 1.68
BasicListType - deserialize 11.795 ms/op 10.074 ms/op 1.17
ByteListType - serialize 14.308 ms/op 8.6428 ms/op 1.66
BasicListType - serialize 17.948 ms/op 10.750 ms/op 1.67
BasicListType - tree_convertToStruct 25.521 ms/op 22.683 ms/op 1.13
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.6631 ms/op 4.9909 ms/op 0.93
List[uint8, 68719476736] len 300000 ViewDU.get(i) 3.5232 ms/op 4.3846 ms/op 0.80
Array.push len 300000 empty Array - number 6.2133 ms/op 6.9840 ms/op 0.89
Array.set len 300000 from new Array - number 2.1361 ms/op 2.2000 ms/op 0.97
Array.set len 300000 - number 5.9040 ms/op 6.5119 ms/op 0.91
Uint8Array.set len 300000 295.97 us/op 399.81 us/op 0.74
Uint32Array.set len 300000 395.76 us/op 525.26 us/op 0.75
Container({a: uint8, b: uint8}) getViewDU x300000 43.953 ms/op 34.292 ms/op 1.28
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 11.689 ms/op 11.833 ms/op 0.99
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 234.45 ms/op 207.99 ms/op 1.13
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 366.32 ms/op 245.56 ms/op 1.49
List(Container) len 300000 ViewDU.get(i) 10.435 ms/op 6.5635 ms/op 1.59
List(Container) len 300000 ViewDU.getReadonly(i) 10.879 ms/op 6.6814 ms/op 1.63
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 39.484 ms/op 37.838 ms/op 1.04
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 6.9507 ms/op 5.1845 ms/op 1.34
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 9.5179 ms/op 6.4862 ms/op 1.47
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 9.3374 ms/op 6.4178 ms/op 1.45
Array.push len 300000 empty Array - object 6.4082 ms/op 6.6665 ms/op 0.96
Array.set len 300000 from new Array - object 1.9534 ms/op 1.9787 ms/op 0.99
Array.set len 300000 - object 5.8166 ms/op 6.5076 ms/op 0.89
cachePermanentRootStruct no cache 3.6300 us/op 3.2020 us/op 1.13
cachePermanentRootStruct with cache 210.00 ns/op 186.00 ns/op 1.13
epochParticipation len 250000 rws 7813 2.4205 ms/op 2.2670 ms/op 1.07
Deneb BeaconBlock.hashTreeRoot(), numTransaction=200 5.1964 ms/op 4.7187 ms/op 1.10
BeaconState ViewDU batchHashTreeRoot vc=200000 mod=100000 260.13 ms/op 209.42 ms/op 1.24
BeaconState ViewDU batchHashTreeRoot - commit step vc=200000 mod=100000 212.59 ms/op 182.01 ms/op 1.17
BeaconState ViewDU batchHashTreeRoot - hash step vc=200000 mod=100000 57.561 ms/op 46.188 ms/op 1.25
BeaconState ViewDU hashTreeRoot() vc=200000 mod=100000 734.31 ms/op 715.57 ms/op 1.03
BeaconState ViewDU hashTreeRoot - commit step vc=200000 mod=100000 70.294 ms/op 69.030 ms/op 1.02
BeaconState ViewDU hashTreeRoot - validator tree creation vc=100000 mod=100000 299.26 ms/op 259.51 ms/op 1.15
deserialize Attestation - tree 4.5920 us/op 3.7520 us/op 1.22
deserialize Attestation - struct 2.5730 us/op 1.8830 us/op 1.37
deserialize Attestation - struct (reuse bytes) 1.7970 us/op 1.5570 us/op 1.15
deserialize SignedAggregateAndProof - tree 6.1620 us/op 4.9650 us/op 1.24
deserialize SignedAggregateAndProof - struct 4.4110 us/op 3.1770 us/op 1.39
deserialize SignedAggregateAndProof - struct (reuse bytes) 2.2830 us/op 1.9410 us/op 1.18
deserialize SyncCommitteeMessage - tree 1.8780 us/op 1.5350 us/op 1.22
deserialize SyncCommitteeMessage - struct 1.6110 us/op 1.2800 us/op 1.26
deserialize SyncCommitteeMessage - struct (reuse bytes) 890.00 ns/op 719.00 ns/op 1.24
deserialize SignedContributionAndProof - tree 3.5240 us/op 2.7570 us/op 1.28
deserialize SignedContributionAndProof - struct 3.8420 us/op 2.2860 us/op 1.68
deserialize SignedContributionAndProof - struct (reuse bytes) 1.5830 us/op 1.2570 us/op 1.26
deserialize SignedBeaconBlock - tree 363.32 us/op 265.21 us/op 1.37
deserialize SignedBeaconBlock - struct 186.29 us/op 122.98 us/op 1.51
deserialize SignedBeaconBlock - struct (reuse bytes) 96.429 us/op 79.644 us/op 1.21
BeaconState vc 300000 - deserialize tree 694.17 ms/op 663.56 ms/op 1.05
BeaconState vc 300000 - serialize tree 49.381 ms/op 78.268 ms/op 0.63
BeaconState.historicalRoots vc 300000 - deserialize tree 1.1560 us/op 935.00 ns/op 1.24
BeaconState.historicalRoots vc 300000 - serialize tree 1.0590 us/op 679.00 ns/op 1.56
BeaconState.validators vc 300000 - deserialize tree 638.53 ms/op 607.69 ms/op 1.05
BeaconState.validators vc 300000 - serialize tree 49.920 ms/op 31.558 ms/op 1.58
BeaconState.balances vc 300000 - deserialize tree 28.397 ms/op 26.984 ms/op 1.05
BeaconState.balances vc 300000 - serialize tree 5.6699 ms/op 4.1462 ms/op 1.37
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 1.1379 ms/op 1.0450 ms/op 1.09
BeaconState.previousEpochParticipation vc 300000 - serialize tree 369.26 us/op 326.95 us/op 1.13
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 1.1513 ms/op 904.88 us/op 1.27
BeaconState.currentEpochParticipation vc 300000 - serialize tree 372.27 us/op 326.10 us/op 1.14
BeaconState.inactivityScores vc 300000 - deserialize tree 30.519 ms/op 27.233 ms/op 1.12
BeaconState.inactivityScores vc 300000 - serialize tree 5.7260 ms/op 3.7656 ms/op 1.52
hashTreeRoot Attestation - struct 11.764 us/op 9.4770 us/op 1.24
hashTreeRoot Attestation - tree 7.6760 us/op 7.4430 us/op 1.03
hashTreeRoot SignedAggregateAndProof - struct 14.846 us/op 12.673 us/op 1.17
hashTreeRoot SignedAggregateAndProof - tree 11.304 us/op 11.157 us/op 1.01
hashTreeRoot SyncCommitteeMessage - struct 3.4550 us/op 3.0480 us/op 1.13
hashTreeRoot SyncCommitteeMessage - tree 3.1140 us/op 2.8680 us/op 1.09
hashTreeRoot SignedContributionAndProof - struct 8.9540 us/op 7.7430 us/op 1.16
hashTreeRoot SignedContributionAndProof - tree 7.7970 us/op 7.7080 us/op 1.01
hashTreeRoot SignedBeaconBlock - struct 874.15 us/op 769.26 us/op 1.14
hashTreeRoot SignedBeaconBlock - tree 658.92 us/op 667.75 us/op 0.99
hashTreeRoot Validator - struct 5.1890 us/op 4.4490 us/op 1.17
hashTreeRoot Validator - tree 6.5890 us/op 5.7130 us/op 1.15
BeaconState vc 300000 - hashTreeRoot tree 2.1834 s/op 1.9887 s/op 1.10
BeaconState vc 300000 - batchHashTreeRoot tree 4.4509 s/op 3.9133 s/op 1.14
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 838.00 ns/op 846.00 ns/op 0.99
BeaconState.validators vc 300000 - hashTreeRoot tree 2.4179 s/op 2.2238 s/op 1.09
BeaconState.balances vc 300000 - hashTreeRoot tree 28.708 ms/op 32.896 ms/op 0.87
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 3.5737 ms/op 3.5301 ms/op 1.01
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 3.5686 ms/op 3.5304 ms/op 1.01
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 32.276 ms/op 30.882 ms/op 1.05
hash64 x18 9.2650 us/op 8.0850 us/op 1.15
hashTwoObjects x18 6.8810 us/op 6.6340 us/op 1.04
hash64 x1740 701.89 us/op 660.48 us/op 1.06
hashTwoObjects x1740 605.63 us/op 612.95 us/op 0.99
hash64 x2700000 1.0846 s/op 991.68 ms/op 1.09
hashTwoObjects x2700000 936.86 ms/op 948.76 ms/op 0.99
get_exitEpoch - ContainerType 342.00 ns/op 252.00 ns/op 1.36
get_exitEpoch - ContainerNodeStructType 302.00 ns/op 276.00 ns/op 1.09
set_exitEpoch - ContainerType 319.00 ns/op 307.00 ns/op 1.04
set_exitEpoch - ContainerNodeStructType 319.00 ns/op 288.00 ns/op 1.11
get_pubkey - ContainerType 1.6080 us/op 984.00 ns/op 1.63
get_pubkey - ContainerNodeStructType 314.00 ns/op 250.00 ns/op 1.26
hashTreeRoot - ContainerType 694.00 ns/op 551.00 ns/op 1.26
hashTreeRoot - ContainerNodeStructType 702.00 ns/op 452.00 ns/op 1.55
createProof - ContainerType 5.4230 us/op 3.6270 us/op 1.50
createProof - ContainerNodeStructType 26.698 us/op 19.526 us/op 1.37
serialize - ContainerType 2.4860 us/op 1.7760 us/op 1.40
serialize - ContainerNodeStructType 1.9500 us/op 1.2040 us/op 1.62
set_exitEpoch_and_hashTreeRoot - ContainerType 3.2470 us/op 2.7140 us/op 1.20
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 7.4020 us/op 7.0530 us/op 1.05
doBatchHashTreeRootValidators 4.6750 us/op 3.6820 us/op 1.27
ContainerNodeStructViewDU hashTreeRoot 26.216 us/op 23.419 us/op 1.12
Array - for of 9.2720 us/op 5.8770 us/op 1.58
Array - for(;;) 8.6960 us/op 5.7440 us/op 1.51
basicListValue.readonlyValuesArray() 6.0298 ms/op 6.4111 ms/op 0.94
basicListValue.readonlyValuesArray() + loop all 6.5190 ms/op 7.7334 ms/op 0.84
compositeListValue.readonlyValuesArray() 32.852 ms/op 34.295 ms/op 0.96
compositeListValue.readonlyValuesArray() + loop all 32.781 ms/op 25.304 ms/op 1.30
Number64UintType - get balances list 5.5327 ms/op 5.0148 ms/op 1.10
Number64UintType - set balances list 10.499 ms/op 10.287 ms/op 1.02
Number64UintType - get and increase 10 then set 49.145 ms/op 36.190 ms/op 1.36
Number64UintType - increase 10 using applyDelta 18.164 ms/op 14.629 ms/op 1.24
Number64UintType - increase 10 using applyDeltaInBatch 18.169 ms/op 14.741 ms/op 1.23
tree_newTreeFromUint64Deltas 23.066 ms/op 22.463 ms/op 1.03
unsafeUint8ArrayToTree 39.148 ms/op 32.893 ms/op 1.19
bitLength(50) 289.00 ns/op 257.00 ns/op 1.12
bitLengthStr(50) 248.00 ns/op 225.00 ns/op 1.10
bitLength(8000) 297.00 ns/op 252.00 ns/op 1.18
bitLengthStr(8000) 313.00 ns/op 278.00 ns/op 1.13
bitLength(250000) 308.00 ns/op 259.00 ns/op 1.19
bitLengthStr(250000) 314.00 ns/op 312.00 ns/op 1.01
merkleize 32 chunks 12.943 us/op 14.493 us/op 0.89
merkleizeBlocksBytes 32 chunks 4.1500 us/op 3.0030 us/op 1.38
merkleizeBlockArray 32 chunks 7.2450 us/op 6.2270 us/op 1.16
merkleize 128 chunks 51.262 us/op 51.597 us/op 0.99
merkleizeBlocksBytes 128 chunks 11.020 us/op 7.2880 us/op 1.51
merkleizeBlockArray 128 chunks 21.181 us/op 17.457 us/op 1.21
merkleize 512 chunks 201.25 us/op 206.33 us/op 0.98
merkleizeBlocksBytes 512 chunks 36.830 us/op 22.522 us/op 1.64
merkleizeBlockArray 512 chunks 74.189 us/op 61.944 us/op 1.20
merkleize 1024 chunks 406.83 us/op 427.58 us/op 0.95
merkleizeBlocksBytes 1024 chunks 70.632 us/op 42.531 us/op 1.66
merkleizeBlockArray 1024 chunks 144.91 us/op 118.37 us/op 1.22
floor - Math.floor (53) 1.1527 ns/op 1.2451 ns/op 0.93
floor - << 0 (53) 1.1522 ns/op 1.2459 ns/op 0.92
floor - Math.floor (512) 1.1533 ns/op 1.2487 ns/op 0.92
floor - << 0 (512) 1.1528 ns/op 1.2449 ns/op 0.93
fnIf(0) 1.4410 ns/op 1.5560 ns/op 0.93
fnSwitch(0) 2.2373 ns/op 2.1811 ns/op 1.03
fnObj(0) 1.8739 ns/op 1.5628 ns/op 1.20
fnArr(0) 1.8725 ns/op 1.5549 ns/op 1.20
fnIf(4) 2.0866 ns/op 2.1825 ns/op 0.96
fnSwitch(4) 2.2270 ns/op 2.1782 ns/op 1.02
fnObj(4) 1.8723 ns/op 1.5671 ns/op 1.19
fnArr(4) 1.8722 ns/op 1.5570 ns/op 1.20
fnIf(9) 3.7484 ns/op 3.1206 ns/op 1.20
fnSwitch(9) 2.2402 ns/op 2.1899 ns/op 1.02
fnObj(9) 1.8735 ns/op 1.5620 ns/op 1.20
fnArr(9) 1.8720 ns/op 1.5572 ns/op 1.20
Container {a,b,vec} - as struct x100000 129.89 us/op 125.18 us/op 1.04
Container {a,b,vec} - as tree x100000 516.87 us/op 560.69 us/op 0.92
Container {a,vec,b} - as struct x100000 144.54 us/op 155.85 us/op 0.93
Container {a,vec,b} - as tree x100000 552.42 us/op 560.33 us/op 0.99
get 2 props x1000000 - rawObject 288.42 us/op 312.03 us/op 0.92
get 2 props x1000000 - proxy 67.021 ms/op 72.615 ms/op 0.92
get 2 props x1000000 - customObj 288.47 us/op 312.41 us/op 0.92
Simple object binary -> struct 670.00 ns/op 639.00 ns/op 1.05
Simple object binary -> tree_backed 2.0480 us/op 1.6970 us/op 1.21
Simple object struct -> tree_backed 2.8880 us/op 2.2240 us/op 1.30
Simple object tree_backed -> struct 2.1380 us/op 1.5230 us/op 1.40
Simple object struct -> binary 1.4000 us/op 874.00 ns/op 1.60
Simple object tree_backed -> binary 1.8400 us/op 1.2290 us/op 1.50
aggregationBits binary -> struct 550.00 ns/op 481.00 ns/op 1.14
aggregationBits binary -> tree_backed 3.1060 us/op 2.2360 us/op 1.39
aggregationBits struct -> tree_backed 3.9330 us/op 2.6710 us/op 1.47
aggregationBits tree_backed -> struct 1.6630 us/op 975.00 ns/op 1.71
aggregationBits struct -> binary 1.2160 us/op 716.00 ns/op 1.70
aggregationBits tree_backed -> binary 1.3940 us/op 827.00 ns/op 1.69
List(uint8) 100000 binary -> struct 938.57 us/op 919.72 us/op 1.02
List(uint8) 100000 binary -> tree_backed 366.04 us/op 283.33 us/op 1.29
List(uint8) 100000 struct -> tree_backed 1.3118 ms/op 1.3936 ms/op 0.94
List(uint8) 100000 tree_backed -> struct 935.47 us/op 971.83 us/op 0.96
List(uint8) 100000 struct -> binary 945.26 us/op 1.0616 ms/op 0.89
List(uint8) 100000 tree_backed -> binary 103.10 us/op 108.28 us/op 0.95
List(uint64Number) 100000 binary -> struct 1.3654 ms/op 1.3411 ms/op 1.02
List(uint64Number) 100000 binary -> tree_backed 4.8911 ms/op 4.5103 ms/op 1.08
List(uint64Number) 100000 struct -> tree_backed 7.5834 ms/op 7.1436 ms/op 1.06
List(uint64Number) 100000 tree_backed -> struct 2.6739 ms/op 2.5979 ms/op 1.03
List(uint64Number) 100000 struct -> binary 1.4646 ms/op 1.4332 ms/op 1.02
List(uint64Number) 100000 tree_backed -> binary 1.8104 ms/op 1.0756 ms/op 1.68
List(Uint64Bigint) 100000 binary -> struct 3.9434 ms/op 3.9069 ms/op 1.01
List(Uint64Bigint) 100000 binary -> tree_backed 5.6451 ms/op 4.9646 ms/op 1.14
List(Uint64Bigint) 100000 struct -> tree_backed 7.5892 ms/op 6.6034 ms/op 1.15
List(Uint64Bigint) 100000 tree_backed -> struct 5.4808 ms/op 4.9696 ms/op 1.10
List(Uint64Bigint) 100000 struct -> binary 1.8437 ms/op 2.0900 ms/op 0.88
List(Uint64Bigint) 100000 tree_backed -> binary 2.0589 ms/op 1.0931 ms/op 1.88
Vector(Root) 100000 binary -> struct 39.545 ms/op 34.202 ms/op 1.16
Vector(Root) 100000 binary -> tree_backed 37.822 ms/op 33.912 ms/op 1.12
Vector(Root) 100000 struct -> tree_backed 56.790 ms/op 49.456 ms/op 1.15
Vector(Root) 100000 tree_backed -> struct 59.423 ms/op 48.494 ms/op 1.23
Vector(Root) 100000 struct -> binary 3.0542 ms/op 3.0840 ms/op 0.99
Vector(Root) 100000 tree_backed -> binary 7.3009 ms/op 7.0168 ms/op 1.04
List(Validator) 100000 binary -> struct 119.69 ms/op 106.28 ms/op 1.13
List(Validator) 100000 binary -> tree_backed 380.26 ms/op 323.26 ms/op 1.18
List(Validator) 100000 struct -> tree_backed 413.07 ms/op 373.70 ms/op 1.11
List(Validator) 100000 tree_backed -> struct 224.75 ms/op 207.42 ms/op 1.08
List(Validator) 100000 struct -> binary 29.521 ms/op 30.059 ms/op 0.98
List(Validator) 100000 tree_backed -> binary 102.77 ms/op 105.13 ms/op 0.98
List(Validator-NS) 100000 binary -> struct 124.47 ms/op 110.45 ms/op 1.13
List(Validator-NS) 100000 binary -> tree_backed 160.43 ms/op 158.04 ms/op 1.02
List(Validator-NS) 100000 struct -> tree_backed 207.05 ms/op 185.17 ms/op 1.12
List(Validator-NS) 100000 tree_backed -> struct 177.20 ms/op 149.38 ms/op 1.19
List(Validator-NS) 100000 struct -> binary 8.3244 ms/op 7.5555 ms/op 1.10
List(Validator-NS) 100000 tree_backed -> binary 14.651 ms/op 13.129 ms/op 1.12
get epochStatuses - MutableVector 78.888 us/op 105.49 us/op 0.75
get epochStatuses - ViewDU 218.89 us/op 174.43 us/op 1.25
set epochStatuses - ListTreeView 2.2823 ms/op 2.1719 ms/op 1.05
set epochStatuses - ListTreeView - set() 453.69 us/op 469.31 us/op 0.97
set epochStatuses - ListTreeView - commit() 828.00 us/op 769.40 us/op 1.08
bitstring 530.15 ns/op 516.16 ns/op 1.03
bit mask 10.404 ns/op 13.683 ns/op 0.76
struct - increase slot to 1000000 2.5386 ms/op 934.67 us/op 2.72
UintNumberType - increase slot to 1000000 25.957 ms/op 29.302 ms/op 0.89
UintBigintType - increase slot to 1000000 208.56 ms/op 179.06 ms/op 1.16
UintBigint8 x 100000 tree_deserialize 6.4421 ms/op 5.7310 ms/op 1.12
UintBigint8 x 100000 tree_serialize 1.0236 ms/op 1.1295 ms/op 0.91
UintBigint16 x 100000 tree_deserialize 6.4926 ms/op 6.3842 ms/op 1.02
UintBigint16 x 100000 tree_serialize 1.6909 ms/op 1.3928 ms/op 1.21
UintBigint32 x 100000 tree_deserialize 6.9415 ms/op 5.8390 ms/op 1.19
UintBigint32 x 100000 tree_serialize 2.1500 ms/op 1.7317 ms/op 1.24
UintBigint64 x 100000 tree_deserialize 7.6817 ms/op 6.1226 ms/op 1.25
UintBigint64 x 100000 tree_serialize 2.9631 ms/op 1.7219 ms/op 1.72
UintBigint8 x 100000 value_deserialize 375.27 us/op 409.30 us/op 0.92
UintBigint8 x 100000 value_serialize 1.1594 ms/op 783.51 us/op 1.48
UintBigint16 x 100000 value_deserialize 407.32 us/op 467.42 us/op 0.87
UintBigint16 x 100000 value_serialize 1.3054 ms/op 817.74 us/op 1.60
UintBigint32 x 100000 value_deserialize 442.40 us/op 498.77 us/op 0.89
UintBigint32 x 100000 value_serialize 1.3659 ms/op 861.83 us/op 1.58
UintBigint64 x 100000 value_deserialize 505.56 us/op 532.11 us/op 0.95
UintBigint64 x 100000 value_serialize 1.5580 ms/op 1.0390 ms/op 1.50
UintBigint8 x 100000 deserialize 3.7198 ms/op 3.3833 ms/op 1.10
UintBigint8 x 100000 serialize 1.5585 ms/op 1.7067 ms/op 0.91
UintBigint16 x 100000 deserialize 3.7923 ms/op 3.6037 ms/op 1.05
UintBigint16 x 100000 serialize 1.5380 ms/op 1.5416 ms/op 1.00
UintBigint32 x 100000 deserialize 3.8887 ms/op 3.6894 ms/op 1.05
UintBigint32 x 100000 serialize 3.8616 ms/op 2.9007 ms/op 1.33
UintBigint64 x 100000 deserialize 4.3283 ms/op 4.6865 ms/op 0.92
UintBigint64 x 100000 serialize 1.5223 ms/op 1.6695 ms/op 0.91
UintBigint128 x 100000 deserialize 5.8573 ms/op 6.0558 ms/op 0.97
UintBigint128 x 100000 serialize 15.059 ms/op 15.467 ms/op 0.97
UintBigint256 x 100000 deserialize 8.8940 ms/op 9.2868 ms/op 0.96
UintBigint256 x 100000 serialize 43.005 ms/op 46.347 ms/op 0.93
Slice from Uint8Array x25000 2.2764 ms/op 1.3829 ms/op 1.65
Slice from ArrayBuffer x25000 23.350 ms/op 16.435 ms/op 1.42
Slice from ArrayBuffer x25000 + new Uint8Array 26.313 ms/op 18.363 ms/op 1.43
Copy Uint8Array 100000 iterate 1.6079 ms/op 1.6719 ms/op 0.96
Copy Uint8Array 100000 slice 148.70 us/op 113.91 us/op 1.31
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 150.26 us/op 105.76 us/op 1.42
Copy Buffer 100000 Uint8Array.prototype.slice.call 150.21 us/op 110.18 us/op 1.36
Copy Uint8Array 100000 slice + set 317.30 us/op 223.85 us/op 1.42
Copy Uint8Array 100000 subarray + set 148.36 us/op 107.58 us/op 1.38
Copy Uint8Array 100000 slice arrayBuffer 147.84 us/op 102.28 us/op 1.45
Uint64 deserialize 100000 - iterate Uint8Array 1.8463 ms/op 1.9803 ms/op 0.93
Uint64 deserialize 100000 - by Uint32A 1.7331 ms/op 1.8703 ms/op 0.93
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.8878 ms/op 1.8418 ms/op 1.02
Uint64 deserialize 100000 - by DataView.getBigUint64 4.8880 ms/op 5.1221 ms/op 0.95
Uint64 deserialize 100000 - by byte 51.055 ms/op 40.657 ms/op 1.26

by benchmarkbot/action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants