Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ignore binary tarballs in git #462

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jan 23, 2025

Tarballs may be produced via npm pack locally to do some testing but we don't want to track those in git

@nflaig nflaig requested a review from a team as a code owner January 23, 2025 20:02
@wemeetagain wemeetagain merged commit 776ed39 into master Jan 23, 2025
8 checks passed
@wemeetagain wemeetagain deleted the nflaig/gitignore-tar branch January 23, 2025 20:14
Copy link

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 595fb16 Previous: 7e0a540 Ratio
digestTwoHashObjects 50023 times 48.213 ms/op 48.529 ms/op 0.99
digest2Bytes32 50023 times 54.683 ms/op 55.244 ms/op 0.99
digest 50023 times 53.695 ms/op 53.950 ms/op 1.00
input length 32 1.1720 us/op 1.2100 us/op 0.97
input length 64 1.3420 us/op 1.3650 us/op 0.98
input length 128 2.2370 us/op 2.3000 us/op 0.97
input length 256 3.3860 us/op 3.3870 us/op 1.00
input length 512 5.5090 us/op 5.5980 us/op 0.98
input length 1024 10.841 us/op 10.795 us/op 1.00
digest 1000000 times 863.81 ms/op 879.63 ms/op 0.98
hashObjectToByteArray 50023 times 1.2301 ms/op 1.2291 ms/op 1.00
byteArrayToHashObject 50023 times 1.5296 ms/op 1.6577 ms/op 0.92
digest64 200092 times 214.33 ms/op 216.71 ms/op 0.99
hash 200092 times using batchHash4UintArray64s 234.63 ms/op 236.41 ms/op 0.99
digest64HashObjects 200092 times 192.58 ms/op 193.25 ms/op 1.00
hash 200092 times using batchHash4HashObjectInputs 195.30 ms/op 201.39 ms/op 0.97
getGindicesAtDepth 3.4700 us/op 3.6170 us/op 0.96
iterateAtDepth 6.2190 us/op 6.6470 us/op 0.94
getGindexBits 381.00 ns/op 391.00 ns/op 0.97
gindexIterator 838.00 ns/op 861.00 ns/op 0.97
HashComputationLevel.push then loop 25.534 ms/op 26.336 ms/op 0.97
HashComputation[] push then loop 37.950 ms/op 48.431 ms/op 0.78
hash 2 Uint8Array 500000 times - hashtree 217.40 ms/op 237.63 ms/op 0.91
hashTwoObjects 500000 times - hashtree 220.41 ms/op 227.72 ms/op 0.97
executeHashComputations - hashtree 9.9661 ms/op 10.604 ms/op 0.94
hash 2 Uint8Array 500000 times - as-sha256 560.73 ms/op 558.70 ms/op 1.00
hashTwoObjects 500000 times - as-sha256 508.09 ms/op 514.00 ms/op 0.99
executeHashComputations - as-sha256 47.822 ms/op 45.849 ms/op 1.04
hash 2 Uint8Array 500000 times - noble 1.2407 s/op 1.2034 s/op 1.03
hashTwoObjects 500000 times - noble 1.6826 s/op 1.6305 s/op 1.03
executeHashComputations - noble 36.475 ms/op 36.707 ms/op 0.99
getHashComputations 2.3972 ms/op 2.7293 ms/op 0.88
executeHashComputations 9.5789 ms/op 9.6419 ms/op 0.99
get root 15.324 ms/op 15.479 ms/op 0.99
getNodeH() x7812.5 avg hindex 12.200 us/op 12.320 us/op 0.99
getNodeH() x7812.5 index 0 7.5830 us/op 7.5940 us/op 1.00
getNodeH() x7812.5 index 7 7.6620 us/op 7.6170 us/op 1.01
getNodeH() x7812.5 index 7 with key array 6.4060 us/op 6.3840 us/op 1.00
new LeafNode() x7812.5 312.63 us/op 312.47 us/op 1.00
getHashComputations 250000 nodes 14.889 ms/op 14.856 ms/op 1.00
batchHash 250000 nodes 86.527 ms/op 99.120 ms/op 0.87
get root 250000 nodes 115.73 ms/op 116.32 ms/op 0.99
getHashComputations 500000 nodes 28.320 ms/op 35.989 ms/op 0.79
batchHash 500000 nodes 155.28 ms/op 154.25 ms/op 1.01
get root 500000 nodes 232.07 ms/op 233.84 ms/op 0.99
getHashComputations 1000000 nodes 92.814 ms/op 85.381 ms/op 1.09
batchHash 1000000 nodes 307.85 ms/op 310.17 ms/op 0.99
get root 1000000 nodes 463.10 ms/op 465.09 ms/op 1.00
multiproof - depth 15, 1 requested leaves 8.6430 us/op 7.9240 us/op 1.09
tree offset multiproof - depth 15, 1 requested leaves 18.781 us/op 18.309 us/op 1.03
compact multiproof - depth 15, 1 requested leaves 3.1180 us/op 2.9560 us/op 1.05
multiproof - depth 15, 2 requested leaves 12.241 us/op 11.536 us/op 1.06
tree offset multiproof - depth 15, 2 requested leaves 21.506 us/op 21.588 us/op 1.00
compact multiproof - depth 15, 2 requested leaves 3.0510 us/op 2.9620 us/op 1.03
multiproof - depth 15, 3 requested leaves 16.718 us/op 15.950 us/op 1.05
tree offset multiproof - depth 15, 3 requested leaves 28.224 us/op 27.514 us/op 1.03
compact multiproof - depth 15, 3 requested leaves 3.8220 us/op 3.6860 us/op 1.04
multiproof - depth 15, 4 requested leaves 21.673 us/op 21.535 us/op 1.01
tree offset multiproof - depth 15, 4 requested leaves 36.142 us/op 34.014 us/op 1.06
compact multiproof - depth 15, 4 requested leaves 4.4470 us/op 4.2420 us/op 1.05
packedRootsBytesToLeafNodes bytes 4000 offset 0 5.8030 us/op 5.5840 us/op 1.04
packedRootsBytesToLeafNodes bytes 4000 offset 1 5.7360 us/op 5.5130 us/op 1.04
packedRootsBytesToLeafNodes bytes 4000 offset 2 5.7000 us/op 5.5250 us/op 1.03
packedRootsBytesToLeafNodes bytes 4000 offset 3 5.7550 us/op 5.6080 us/op 1.03
subtreeFillToContents depth 40 count 250000 50.094 ms/op 47.888 ms/op 1.05
setRoot - gindexBitstring 20.481 ms/op 20.908 ms/op 0.98
setRoot - gindex 21.314 ms/op 21.839 ms/op 0.98
getRoot - gindexBitstring 2.5172 ms/op 2.4933 ms/op 1.01
getRoot - gindex 3.2088 ms/op 3.1464 ms/op 1.02
getHashObject then setHashObject 21.434 ms/op 22.007 ms/op 0.97
setNodeWithFn 19.432 ms/op 19.947 ms/op 0.97
getNodeAtDepth depth 0 x100000 280.09 us/op 280.58 us/op 1.00
setNodeAtDepth depth 0 x100000 2.4760 ms/op 2.5724 ms/op 0.96
getNodesAtDepth depth 0 x100000 311.76 us/op 313.56 us/op 0.99
setNodesAtDepth depth 0 x100000 784.76 us/op 766.40 us/op 1.02
getNodeAtDepth depth 1 x100000 342.12 us/op 342.49 us/op 1.00
setNodeAtDepth depth 1 x100000 7.9845 ms/op 9.5675 ms/op 0.83
getNodesAtDepth depth 1 x100000 436.45 us/op 436.35 us/op 1.00
setNodesAtDepth depth 1 x100000 7.3625 ms/op 8.1740 ms/op 0.90
getNodeAtDepth depth 2 x100000 740.02 us/op 735.08 us/op 1.01
setNodeAtDepth depth 2 x100000 15.084 ms/op 18.162 ms/op 0.83
getNodesAtDepth depth 2 x100000 17.839 ms/op 18.383 ms/op 0.97
setNodesAtDepth depth 2 x100000 24.086 ms/op 24.264 ms/op 0.99
tree.getNodesAtDepth - gindexes 9.0234 ms/op 8.4081 ms/op 1.07
tree.getNodesAtDepth - push all nodes 2.3156 ms/op 2.3970 ms/op 0.97
tree.getNodesAtDepth - navigation 311.52 us/op 311.49 us/op 1.00
tree.setNodesAtDepth - indexes 719.64 us/op 703.73 us/op 1.02
set at depth 8 736.00 ns/op 677.00 ns/op 1.09
set at depth 16 1.1430 us/op 1.2660 us/op 0.90
set at depth 32 1.9390 us/op 2.1640 us/op 0.90
iterateNodesAtDepth 8 256 13.808 us/op 14.403 us/op 0.96
getNodesAtDepth 8 256 3.7680 us/op 3.7790 us/op 1.00
iterateNodesAtDepth 16 65536 4.8370 ms/op 4.3729 ms/op 1.11
getNodesAtDepth 16 65536 1.9966 ms/op 2.0576 ms/op 0.97
iterateNodesAtDepth 32 250000 16.671 ms/op 18.258 ms/op 0.91
getNodesAtDepth 32 250000 4.7740 ms/op 4.4631 ms/op 1.07
iterateNodesAtDepth 40 250000 17.115 ms/op 15.192 ms/op 1.13
getNodesAtDepth 40 250000 4.9133 ms/op 4.4458 ms/op 1.11
250000 validators root getter 117.94 ms/op 117.50 ms/op 1.00
250000 validators batchHash() 101.51 ms/op 82.860 ms/op 1.23
250000 validators hashComputations 15.269 ms/op 17.301 ms/op 0.88
bitlist bytes to struct (120,90) 837.00 ns/op 752.00 ns/op 1.11
bitlist bytes to tree (120,90) 3.2190 us/op 2.3620 us/op 1.36
bitlist bytes to struct (2048,2048) 1.2260 us/op 999.00 ns/op 1.23
bitlist bytes to tree (2048,2048) 4.1460 us/op 3.8200 us/op 1.09
ByteListType - deserialize 7.3460 ms/op 7.0056 ms/op 1.05
BasicListType - deserialize 15.120 ms/op 13.253 ms/op 1.14
ByteListType - serialize 7.7041 ms/op 7.5901 ms/op 1.02
BasicListType - serialize 10.059 ms/op 9.6562 ms/op 1.04
BasicListType - tree_convertToStruct 25.049 ms/op 24.609 ms/op 1.02
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.8048 ms/op 4.5739 ms/op 1.05
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.3817 ms/op 4.3953 ms/op 1.00
Array.push len 300000 empty Array - number 6.7264 ms/op 6.5084 ms/op 1.03
Array.set len 300000 from new Array - number 2.1027 ms/op 1.7685 ms/op 1.19
Array.set len 300000 - number 5.7273 ms/op 5.3824 ms/op 1.06
Uint8Array.set len 300000 485.25 us/op 479.79 us/op 1.01
Uint32Array.set len 300000 547.87 us/op 545.96 us/op 1.00
Container({a: uint8, b: uint8}) getViewDU x300000 27.127 ms/op 25.344 ms/op 1.07
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 10.562 ms/op 10.415 ms/op 1.01
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 205.91 ms/op 200.12 ms/op 1.03
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 245.93 ms/op 245.33 ms/op 1.00
List(Container) len 300000 ViewDU.get(i) 7.1568 ms/op 6.5924 ms/op 1.09
List(Container) len 300000 ViewDU.getReadonly(i) 6.3191 ms/op 6.4590 ms/op 0.98
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 34.112 ms/op 38.366 ms/op 0.89
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 6.0807 ms/op 5.3177 ms/op 1.14
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 5.9417 ms/op 6.2115 ms/op 0.96
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 5.8558 ms/op 5.9959 ms/op 0.98
Array.push len 300000 empty Array - object 6.9377 ms/op 6.5023 ms/op 1.07
Array.set len 300000 from new Array - object 1.8468 ms/op 2.0024 ms/op 0.92
Array.set len 300000 - object 5.7471 ms/op 6.3993 ms/op 0.90
cachePermanentRootStruct no cache 5.1170 us/op 5.4640 us/op 0.94
cachePermanentRootStruct with cache 196.00 ns/op 204.00 ns/op 0.96
epochParticipation len 250000 rws 7813 2.3469 ms/op 2.4296 ms/op 0.97
BeaconState ViewDU hashTreeRoot() vc=200000 112.15 ms/op 112.84 ms/op 0.99
BeaconState ViewDU recursive hash - commit step vc=200000 4.3754 ms/op 4.8086 ms/op 0.91
BeaconState ViewDU validator tree creation vc=10000 39.169 ms/op 40.402 ms/op 0.97
BeaconState ViewDU batchHashTreeRoot vc=200000 101.44 ms/op 106.06 ms/op 0.96
BeaconState ViewDU hashTreeRoot - commit step vc=200000 90.694 ms/op 94.112 ms/op 0.96
BeaconState ViewDU hashTreeRoot - hash step vc=200000 17.535 ms/op 17.590 ms/op 1.00
deserialize Attestation - tree 3.6870 us/op 4.2660 us/op 0.86
deserialize Attestation - struct 1.9220 us/op 2.3270 us/op 0.83
deserialize SignedAggregateAndProof - tree 5.0000 us/op 5.8980 us/op 0.85
deserialize SignedAggregateAndProof - struct 2.9930 us/op 3.7810 us/op 0.79
deserialize SyncCommitteeMessage - tree 1.4150 us/op 1.7050 us/op 0.83
deserialize SyncCommitteeMessage - struct 1.1070 us/op 1.0590 us/op 1.05
deserialize SignedContributionAndProof - tree 3.0180 us/op 3.3600 us/op 0.90
deserialize SignedContributionAndProof - struct 2.2090 us/op 2.7690 us/op 0.80
deserialize SignedBeaconBlock - tree 283.33 us/op 330.81 us/op 0.86
deserialize SignedBeaconBlock - struct 119.11 us/op 145.17 us/op 0.82
BeaconState vc 300000 - deserialize tree 626.22 ms/op 716.48 ms/op 0.87
BeaconState vc 300000 - serialize tree 155.68 ms/op 144.22 ms/op 1.08
BeaconState.historicalRoots vc 300000 - deserialize tree 958.00 ns/op 962.00 ns/op 1.00
BeaconState.historicalRoots vc 300000 - serialize tree 638.00 ns/op 772.00 ns/op 0.83
BeaconState.validators vc 300000 - deserialize tree 600.15 ms/op 637.69 ms/op 0.94
BeaconState.validators vc 300000 - serialize tree 107.42 ms/op 121.53 ms/op 0.88
BeaconState.balances vc 300000 - deserialize tree 28.010 ms/op 29.181 ms/op 0.96
BeaconState.balances vc 300000 - serialize tree 4.6307 ms/op 5.7137 ms/op 0.81
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 1.0153 ms/op 1.3737 ms/op 0.74
BeaconState.previousEpochParticipation vc 300000 - serialize tree 351.77 us/op 366.55 us/op 0.96
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 1.0246 ms/op 1.3654 ms/op 0.75
BeaconState.currentEpochParticipation vc 300000 - serialize tree 341.86 us/op 354.21 us/op 0.97
BeaconState.inactivityScores vc 300000 - deserialize tree 28.799 ms/op 30.221 ms/op 0.95
BeaconState.inactivityScores vc 300000 - serialize tree 5.1289 ms/op 5.5013 ms/op 0.93
hashTreeRoot Attestation - struct 23.884 us/op 18.830 us/op 1.27
hashTreeRoot Attestation - tree 9.3000 us/op 9.3690 us/op 0.99
hashTreeRoot SignedAggregateAndProof - struct 27.846 us/op 25.954 us/op 1.07
hashTreeRoot SignedAggregateAndProof - tree 13.901 us/op 13.990 us/op 0.99
hashTreeRoot SyncCommitteeMessage - struct 7.0530 us/op 6.8870 us/op 1.02
hashTreeRoot SyncCommitteeMessage - tree 3.8150 us/op 4.0600 us/op 0.94
hashTreeRoot SignedContributionAndProof - struct 18.881 us/op 17.851 us/op 1.06
hashTreeRoot SignedContributionAndProof - tree 9.5580 us/op 9.6760 us/op 0.99
hashTreeRoot SignedBeaconBlock - struct 1.2984 ms/op 1.3046 ms/op 1.00
hashTreeRoot SignedBeaconBlock - tree 817.57 us/op 805.87 us/op 1.01
hashTreeRoot Validator - struct 8.1410 us/op 7.8850 us/op 1.03
hashTreeRoot Validator - tree 7.3400 us/op 7.3400 us/op 1.00
BeaconState vc 300000 - hashTreeRoot tree 2.2549 s/op 2.2344 s/op 1.01
BeaconState vc 300000 - batchHashTreeRoot tree 4.1384 s/op 4.3588 s/op 0.95
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.0200 us/op 1.1730 us/op 0.87
BeaconState.validators vc 300000 - hashTreeRoot tree 2.4909 s/op 2.5275 s/op 0.99
BeaconState.balances vc 300000 - hashTreeRoot tree 35.052 ms/op 57.792 ms/op 0.61
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 4.3416 ms/op 4.2820 ms/op 1.01
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 4.3408 ms/op 4.2738 ms/op 1.02
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 38.483 ms/op 34.589 ms/op 1.11
hash64 x18 8.6480 us/op 9.0910 us/op 0.95
hashTwoObjects x18 7.9200 us/op 8.4740 us/op 0.93
hash64 x1740 777.80 us/op 862.84 us/op 0.90
hashTwoObjects x1740 729.20 us/op 771.67 us/op 0.94
hash64 x2700000 1.2599 s/op 1.3219 s/op 0.95
hashTwoObjects x2700000 1.1378 s/op 1.2111 s/op 0.94
get_exitEpoch - ContainerType 236.00 ns/op 307.00 ns/op 0.77
get_exitEpoch - ContainerNodeStructType 231.00 ns/op 303.00 ns/op 0.76
set_exitEpoch - ContainerType 268.00 ns/op 334.00 ns/op 0.80
set_exitEpoch - ContainerNodeStructType 253.00 ns/op 306.00 ns/op 0.83
get_pubkey - ContainerType 967.00 ns/op 1.1630 us/op 0.83
get_pubkey - ContainerNodeStructType 226.00 ns/op 318.00 ns/op 0.71
hashTreeRoot - ContainerType 404.00 ns/op 496.00 ns/op 0.81
hashTreeRoot - ContainerNodeStructType 382.00 ns/op 486.00 ns/op 0.79
createProof - ContainerType 4.1350 us/op 4.8110 us/op 0.86
createProof - ContainerNodeStructType 21.834 us/op 24.116 us/op 0.91
serialize - ContainerType 1.6540 us/op 1.8040 us/op 0.92
serialize - ContainerNodeStructType 1.4080 us/op 1.7010 us/op 0.83
set_exitEpoch_and_hashTreeRoot - ContainerType 3.0680 us/op 3.0200 us/op 1.02
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 7.3850 us/op 8.4400 us/op 0.88
Array - for of 5.6510 us/op 8.7150 us/op 0.65
Array - for(;;) 5.5210 us/op 8.6460 us/op 0.64
basicListValue.readonlyValuesArray() 4.1972 ms/op 6.5046 ms/op 0.65
basicListValue.readonlyValuesArray() + loop all 4.3775 ms/op 6.6971 ms/op 0.65
compositeListValue.readonlyValuesArray() 27.035 ms/op 36.009 ms/op 0.75
compositeListValue.readonlyValuesArray() + loop all 34.470 ms/op 32.279 ms/op 1.07
Number64UintType - get balances list 4.3163 ms/op 4.8869 ms/op 0.88
Number64UintType - set balances list 10.541 ms/op 10.557 ms/op 1.00
Number64UintType - get and increase 10 then set 37.589 ms/op 43.533 ms/op 0.86
Number64UintType - increase 10 using applyDelta 16.641 ms/op 19.685 ms/op 0.85
Number64UintType - increase 10 using applyDeltaInBatch 16.733 ms/op 18.793 ms/op 0.89
tree_newTreeFromUint64Deltas 20.270 ms/op 21.997 ms/op 0.92
unsafeUint8ArrayToTree 41.886 ms/op 41.797 ms/op 1.00
bitLength(50) 234.00 ns/op 269.00 ns/op 0.87
bitLengthStr(50) 213.00 ns/op 247.00 ns/op 0.86
bitLength(8000) 214.00 ns/op 277.00 ns/op 0.77
bitLengthStr(8000) 255.00 ns/op 302.00 ns/op 0.84
bitLength(250000) 218.00 ns/op 298.00 ns/op 0.73
bitLengthStr(250000) 293.00 ns/op 357.00 ns/op 0.82
floor - Math.floor (53) 1.2563 ns/op 1.3072 ns/op 0.96
floor - << 0 (53) 1.2434 ns/op 1.2616 ns/op 0.99
floor - Math.floor (512) 1.2441 ns/op 1.2439 ns/op 1.00
floor - << 0 (512) 1.2432 ns/op 1.2461 ns/op 1.00
fnIf(0) 1.5547 ns/op 1.5584 ns/op 1.00
fnSwitch(0) 2.1810 ns/op 2.1778 ns/op 1.00
fnObj(0) 1.5544 ns/op 1.5581 ns/op 1.00
fnArr(0) 1.5605 ns/op 1.5664 ns/op 1.00
fnIf(4) 2.1743 ns/op 2.1799 ns/op 1.00
fnSwitch(4) 2.1744 ns/op 2.1785 ns/op 1.00
fnObj(4) 1.5626 ns/op 1.5749 ns/op 0.99
fnArr(4) 1.5590 ns/op 1.5554 ns/op 1.00
fnIf(9) 3.1078 ns/op 3.1109 ns/op 1.00
fnSwitch(9) 2.1787 ns/op 2.1776 ns/op 1.00
fnObj(9) 1.5554 ns/op 1.5584 ns/op 1.00
fnArr(9) 1.5600 ns/op 1.5553 ns/op 1.00
Container {a,b,vec} - as struct x100000 125.02 us/op 124.71 us/op 1.00
Container {a,b,vec} - as tree x100000 560.25 us/op 560.04 us/op 1.00
Container {a,vec,b} - as struct x100000 155.55 us/op 156.41 us/op 0.99
Container {a,vec,b} - as tree x100000 560.03 us/op 560.17 us/op 1.00
get 2 props x1000000 - rawObject 315.05 us/op 312.05 us/op 1.01
get 2 props x1000000 - proxy 74.561 ms/op 73.097 ms/op 1.02
get 2 props x1000000 - customObj 315.97 us/op 311.04 us/op 1.02
Simple object binary -> struct 932.00 ns/op 645.00 ns/op 1.44
Simple object binary -> tree_backed 2.4760 us/op 1.8820 us/op 1.32
Simple object struct -> tree_backed 2.8270 us/op 2.5670 us/op 1.10
Simple object tree_backed -> struct 2.5070 us/op 1.8350 us/op 1.37
Simple object struct -> binary 1.2430 us/op 939.00 ns/op 1.32
Simple object tree_backed -> binary 2.1680 us/op 1.5640 us/op 1.39
aggregationBits binary -> struct 918.00 ns/op 585.00 ns/op 1.57
aggregationBits binary -> tree_backed 2.7280 us/op 2.4070 us/op 1.13
aggregationBits struct -> tree_backed 3.0900 us/op 2.9940 us/op 1.03
aggregationBits tree_backed -> struct 1.2520 us/op 1.1640 us/op 1.08
aggregationBits struct -> binary 824.00 ns/op 717.00 ns/op 1.15
aggregationBits tree_backed -> binary 1.0600 us/op 1.0550 us/op 1.00
List(uint8) 100000 binary -> struct 1.7159 ms/op 1.8198 ms/op 0.94
List(uint8) 100000 binary -> tree_backed 274.85 us/op 346.86 us/op 0.79
List(uint8) 100000 struct -> tree_backed 1.3956 ms/op 1.5056 ms/op 0.93
List(uint8) 100000 tree_backed -> struct 1.2396 ms/op 1.1729 ms/op 1.06
List(uint8) 100000 struct -> binary 1.1098 ms/op 1.1012 ms/op 1.01
List(uint8) 100000 tree_backed -> binary 114.26 us/op 114.14 us/op 1.00
List(uint64Number) 100000 binary -> struct 1.3724 ms/op 1.4289 ms/op 0.96
List(uint64Number) 100000 binary -> tree_backed 4.8704 ms/op 4.8624 ms/op 1.00
List(uint64Number) 100000 struct -> tree_backed 6.9409 ms/op 6.8250 ms/op 1.02
List(uint64Number) 100000 tree_backed -> struct 2.5423 ms/op 2.5345 ms/op 1.00
List(uint64Number) 100000 struct -> binary 1.5136 ms/op 1.5664 ms/op 0.97
List(uint64Number) 100000 tree_backed -> binary 1.1386 ms/op 1.0826 ms/op 1.05
List(Uint64Bigint) 100000 binary -> struct 4.0539 ms/op 4.2511 ms/op 0.95
List(Uint64Bigint) 100000 binary -> tree_backed 5.3313 ms/op 4.6920 ms/op 1.14
List(Uint64Bigint) 100000 struct -> tree_backed 7.5428 ms/op 7.3350 ms/op 1.03
List(Uint64Bigint) 100000 tree_backed -> struct 5.1416 ms/op 5.0881 ms/op 1.01
List(Uint64Bigint) 100000 struct -> binary 2.0624 ms/op 2.0967 ms/op 0.98
List(Uint64Bigint) 100000 tree_backed -> binary 1.1622 ms/op 1.0807 ms/op 1.08
Vector(Root) 100000 binary -> struct 35.050 ms/op 36.393 ms/op 0.96
Vector(Root) 100000 binary -> tree_backed 41.348 ms/op 34.999 ms/op 1.18
Vector(Root) 100000 struct -> tree_backed 50.504 ms/op 52.177 ms/op 0.97
Vector(Root) 100000 tree_backed -> struct 50.387 ms/op 53.658 ms/op 0.94
Vector(Root) 100000 struct -> binary 3.0743 ms/op 2.8704 ms/op 1.07
Vector(Root) 100000 tree_backed -> binary 7.4847 ms/op 7.4937 ms/op 1.00
List(Validator) 100000 binary -> struct 105.06 ms/op 99.657 ms/op 1.05
List(Validator) 100000 binary -> tree_backed 343.66 ms/op 363.03 ms/op 0.95
List(Validator) 100000 struct -> tree_backed 391.86 ms/op 389.34 ms/op 1.01
List(Validator) 100000 tree_backed -> struct 220.97 ms/op 221.44 ms/op 1.00
List(Validator) 100000 struct -> binary 28.909 ms/op 29.061 ms/op 0.99
List(Validator) 100000 tree_backed -> binary 108.64 ms/op 108.09 ms/op 1.01
List(Validator-NS) 100000 binary -> struct 115.41 ms/op 109.17 ms/op 1.06
List(Validator-NS) 100000 binary -> tree_backed 161.51 ms/op 168.32 ms/op 0.96
List(Validator-NS) 100000 struct -> tree_backed 204.39 ms/op 211.67 ms/op 0.97
List(Validator-NS) 100000 tree_backed -> struct 171.96 ms/op 172.15 ms/op 1.00
List(Validator-NS) 100000 struct -> binary 29.098 ms/op 28.920 ms/op 1.01
List(Validator-NS) 100000 tree_backed -> binary 34.369 ms/op 35.820 ms/op 0.96
get epochStatuses - MutableVector 102.70 us/op 91.386 us/op 1.12
get epochStatuses - ViewDU 207.47 us/op 209.16 us/op 0.99
set epochStatuses - ListTreeView 2.0957 ms/op 2.0436 ms/op 1.03
set epochStatuses - ListTreeView - set() 450.57 us/op 474.87 us/op 0.95
set epochStatuses - ListTreeView - commit() 728.84 us/op 778.49 us/op 0.94
bitstring 517.61 ns/op 513.54 ns/op 1.01
bit mask 13.791 ns/op 13.979 ns/op 0.99
struct - increase slot to 1000000 932.35 us/op 933.28 us/op 1.00
UintNumberType - increase slot to 1000000 27.706 ms/op 28.433 ms/op 0.97
UintBigintType - increase slot to 1000000 168.59 ms/op 177.59 ms/op 0.95
UintBigint8 x 100000 tree_deserialize 5.0012 ms/op 6.6145 ms/op 0.76
UintBigint8 x 100000 tree_serialize 1.1270 ms/op 2.4970 ms/op 0.45
UintBigint16 x 100000 tree_deserialize 5.8884 ms/op 5.2777 ms/op 1.12
UintBigint16 x 100000 tree_serialize 1.3972 ms/op 1.3691 ms/op 1.02
UintBigint32 x 100000 tree_deserialize 5.6014 ms/op 5.5605 ms/op 1.01
UintBigint32 x 100000 tree_serialize 1.8831 ms/op 1.8561 ms/op 1.01
UintBigint64 x 100000 tree_deserialize 6.7318 ms/op 5.9421 ms/op 1.13
UintBigint64 x 100000 tree_serialize 2.5896 ms/op 2.5064 ms/op 1.03
UintBigint8 x 100000 value_deserialize 435.08 us/op 435.46 us/op 1.00
UintBigint8 x 100000 value_serialize 795.34 us/op 771.90 us/op 1.03
UintBigint16 x 100000 value_deserialize 468.06 us/op 466.36 us/op 1.00
UintBigint16 x 100000 value_serialize 849.85 us/op 819.45 us/op 1.04
UintBigint32 x 100000 value_deserialize 497.73 us/op 503.14 us/op 0.99
UintBigint32 x 100000 value_serialize 875.86 us/op 870.67 us/op 1.01
UintBigint64 x 100000 value_deserialize 566.96 us/op 562.37 us/op 1.01
UintBigint64 x 100000 value_serialize 1.0767 ms/op 1.0653 ms/op 1.01
UintBigint8 x 100000 deserialize 3.2747 ms/op 3.2188 ms/op 1.02
UintBigint8 x 100000 serialize 1.5600 ms/op 1.5257 ms/op 1.02
UintBigint16 x 100000 deserialize 3.3764 ms/op 3.4603 ms/op 0.98
UintBigint16 x 100000 serialize 1.5947 ms/op 1.6164 ms/op 0.99
UintBigint32 x 100000 deserialize 3.6067 ms/op 3.2715 ms/op 1.10
UintBigint32 x 100000 serialize 2.9045 ms/op 2.8403 ms/op 1.02
UintBigint64 x 100000 deserialize 4.7466 ms/op 4.2585 ms/op 1.11
UintBigint64 x 100000 serialize 1.6309 ms/op 1.6745 ms/op 0.97
UintBigint128 x 100000 deserialize 5.6196 ms/op 5.5619 ms/op 1.01
UintBigint128 x 100000 serialize 15.496 ms/op 14.553 ms/op 1.06
UintBigint256 x 100000 deserialize 8.4393 ms/op 9.1865 ms/op 0.92
UintBigint256 x 100000 serialize 45.078 ms/op 41.402 ms/op 1.09
Slice from Uint8Array x25000 1.3258 ms/op 1.2909 ms/op 1.03
Slice from ArrayBuffer x25000 16.119 ms/op 15.965 ms/op 1.01
Slice from ArrayBuffer x25000 + new Uint8Array 18.302 ms/op 17.121 ms/op 1.07
Copy Uint8Array 100000 iterate 2.6546 ms/op 2.6487 ms/op 1.00
Copy Uint8Array 100000 slice 104.58 us/op 95.470 us/op 1.10
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 100.38 us/op 111.50 us/op 0.90
Copy Buffer 100000 Uint8Array.prototype.slice.call 106.34 us/op 114.75 us/op 0.93
Copy Uint8Array 100000 slice + set 203.14 us/op 234.78 us/op 0.87
Copy Uint8Array 100000 subarray + set 105.12 us/op 114.76 us/op 0.92
Copy Uint8Array 100000 slice arrayBuffer 103.55 us/op 112.47 us/op 0.92
Uint64 deserialize 100000 - iterate Uint8Array 2.0785 ms/op 2.1252 ms/op 0.98
Uint64 deserialize 100000 - by Uint32A 2.0204 ms/op 1.9165 ms/op 1.05
Uint64 deserialize 100000 - by DataView.getUint32 x2 2.0437 ms/op 1.9553 ms/op 1.05
Uint64 deserialize 100000 - by DataView.getBigUint64 5.2974 ms/op 5.0147 ms/op 1.06
Uint64 deserialize 100000 - by byte 41.362 ms/op 40.801 ms/op 1.01

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