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: bump blst-ts version #6980

Merged
merged 2 commits into from
Jul 26, 2024
Merged

chore: bump blst-ts version #6980

merged 2 commits into from
Jul 26, 2024

Conversation

matthewkeil
Copy link
Member

Motivation

Docker publish is broken because of the blst-ts update. Fixes the yarn.lock so the required optional deps will get downloaded.

@matthewkeil matthewkeil requested a review from a team as a code owner July 26, 2024 17:03
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.49%. Comparing base (2b62754) to head (a19bc5e).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #6980      +/-   ##
============================================
- Coverage     62.51%   62.49%   -0.02%     
============================================
  Files           576      576              
  Lines         61170    61170              
  Branches       2140     2134       -6     
============================================
- Hits          38239    38227      -12     
- Misses        22892    22904      +12     
  Partials         39       39              

Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: f404e03 Previous: 2b62754 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.2850 ms/op 2.0057 ms/op 1.14
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 72.578 us/op 49.449 us/op 1.47
BLS verify - blst 1.1210 ms/op 857.22 us/op 1.31
BLS verifyMultipleSignatures 3 - blst 1.7561 ms/op 1.2021 ms/op 1.46
BLS verifyMultipleSignatures 8 - blst 2.3766 ms/op 1.6664 ms/op 1.43
BLS verifyMultipleSignatures 32 - blst 6.7446 ms/op 4.8432 ms/op 1.39
BLS verifyMultipleSignatures 64 - blst 17.674 ms/op 9.0088 ms/op 1.96
BLS verifyMultipleSignatures 128 - blst 25.489 ms/op 17.143 ms/op 1.49
BLS deserializing 10000 signatures 845.57 ms/op 683.85 ms/op 1.24
BLS deserializing 100000 signatures 8.8241 s/op 6.9351 s/op 1.27
BLS verifyMultipleSignatures - same message - 3 - blst 1.0617 ms/op 904.43 us/op 1.17
BLS verifyMultipleSignatures - same message - 8 - blst 1.2327 ms/op 1.0273 ms/op 1.20
BLS verifyMultipleSignatures - same message - 32 - blst 2.0668 ms/op 1.7231 ms/op 1.20
BLS verifyMultipleSignatures - same message - 64 - blst 3.1381 ms/op 2.6335 ms/op 1.19
BLS verifyMultipleSignatures - same message - 128 - blst 5.4817 ms/op 4.5259 ms/op 1.21
BLS aggregatePubkeys 32 - blst 24.308 us/op 20.694 us/op 1.17
BLS aggregatePubkeys 128 - blst 85.830 us/op 71.956 us/op 1.19
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 67.966 ms/op 56.900 ms/op 1.19
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 74.107 ms/op 69.415 ms/op 1.07
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 48.144 ms/op 34.895 ms/op 1.38
getSlashingsAndExits - default max 160.43 us/op 79.870 us/op 2.01
getSlashingsAndExits - 2k 354.98 us/op 308.16 us/op 1.15
proposeBlockBody type=full, size=empty 7.7636 ms/op 6.1416 ms/op 1.26
isKnown best case - 1 super set check 593.00 ns/op 332.00 ns/op 1.79
isKnown normal case - 2 super set checks 727.00 ns/op 331.00 ns/op 2.20
isKnown worse case - 16 super set checks 704.00 ns/op 320.00 ns/op 2.20
InMemoryCheckpointStateCache - add get delete 10.685 us/op 5.4200 us/op 1.97
validate api signedAggregateAndProof - struct 2.8667 ms/op 1.4663 ms/op 1.95
validate gossip signedAggregateAndProof - struct 2.7991 ms/op 1.5091 ms/op 1.85
validate gossip attestation - vc 640000 1.2327 ms/op 996.28 us/op 1.24
batch validate gossip attestation - vc 640000 - chunk 32 168.86 us/op 147.53 us/op 1.14
batch validate gossip attestation - vc 640000 - chunk 64 151.12 us/op 141.57 us/op 1.07
batch validate gossip attestation - vc 640000 - chunk 128 126.79 us/op 134.85 us/op 0.94
batch validate gossip attestation - vc 640000 - chunk 256 131.22 us/op 128.17 us/op 1.02
pickEth1Vote - no votes 1.7192 ms/op 1.2293 ms/op 1.40
pickEth1Vote - max votes 12.776 ms/op 12.411 ms/op 1.03
pickEth1Vote - Eth1Data hashTreeRoot value x2048 28.935 ms/op 16.226 ms/op 1.78
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 25.897 ms/op 26.435 ms/op 0.98
pickEth1Vote - Eth1Data fastSerialize value x2048 759.41 us/op 653.08 us/op 1.16
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.8383 ms/op 5.4558 ms/op 1.25
bytes32 toHexString 616.00 ns/op 730.00 ns/op 0.84
bytes32 Buffer.toString(hex) 316.00 ns/op 298.00 ns/op 1.06
bytes32 Buffer.toString(hex) from Uint8Array 378.00 ns/op 509.00 ns/op 0.74
bytes32 Buffer.toString(hex) + 0x 262.00 ns/op 312.00 ns/op 0.84
Object access 1 prop 0.13800 ns/op 0.19600 ns/op 0.70
Map access 1 prop 0.13200 ns/op 0.15100 ns/op 0.87
Object get x1000 6.4990 ns/op 6.5720 ns/op 0.99
Map get x1000 6.9450 ns/op 7.2770 ns/op 0.95
Object set x1000 34.026 ns/op 55.003 ns/op 0.62
Map set x1000 23.103 ns/op 29.665 ns/op 0.78
Return object 10000 times 0.29790 ns/op 0.33640 ns/op 0.89
Throw Error 10000 times 3.6915 us/op 4.0106 us/op 0.92
fastMsgIdFn sha256 / 200 bytes 2.2980 us/op 2.5510 us/op 0.90
fastMsgIdFn h32 xxhash / 200 bytes 249.00 ns/op 327.00 ns/op 0.76
fastMsgIdFn h64 xxhash / 200 bytes 302.00 ns/op 305.00 ns/op 0.99
fastMsgIdFn sha256 / 1000 bytes 8.8610 us/op 8.2850 us/op 1.07
fastMsgIdFn h32 xxhash / 1000 bytes 457.00 ns/op 475.00 ns/op 0.96
fastMsgIdFn h64 xxhash / 1000 bytes 446.00 ns/op 396.00 ns/op 1.13
fastMsgIdFn sha256 / 10000 bytes 79.714 us/op 73.883 us/op 1.08
fastMsgIdFn h32 xxhash / 10000 bytes 2.1900 us/op 2.1100 us/op 1.04
fastMsgIdFn h64 xxhash / 10000 bytes 1.4770 us/op 1.3420 us/op 1.10
send data - 1000 256B messages 12.272 ms/op 15.481 ms/op 0.79
send data - 1000 512B messages 16.382 ms/op 19.536 ms/op 0.84
send data - 1000 1024B messages 25.502 ms/op 28.701 ms/op 0.89
send data - 1000 1200B messages 21.381 ms/op 32.474 ms/op 0.66
send data - 1000 2048B messages 36.600 ms/op 40.435 ms/op 0.91
send data - 1000 4096B messages 35.814 ms/op 38.451 ms/op 0.93
send data - 1000 16384B messages 77.823 ms/op 85.175 ms/op 0.91
send data - 1000 65536B messages 262.12 ms/op 249.49 ms/op 1.05
enrSubnets - fastDeserialize 64 bits 1.0910 us/op 1.6730 us/op 0.65
enrSubnets - ssz BitVector 64 bits 376.00 ns/op 504.00 ns/op 0.75
enrSubnets - fastDeserialize 4 bits 163.00 ns/op 219.00 ns/op 0.74
enrSubnets - ssz BitVector 4 bits 435.00 ns/op 481.00 ns/op 0.90
prioritizePeers score -10:0 att 32-0.1 sync 2-0 147.98 us/op 210.62 us/op 0.70
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 165.51 us/op 256.24 us/op 0.65
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 247.01 us/op 357.34 us/op 0.69
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 527.20 us/op 504.79 us/op 1.04
prioritizePeers score 0:0 att 64-1 sync 4-1 599.76 us/op 951.53 us/op 0.63
array of 16000 items push then shift 1.8747 us/op 1.8370 us/op 1.02
LinkedList of 16000 items push then shift 8.2800 ns/op 8.6990 ns/op 0.95
array of 16000 items push then pop 115.97 ns/op 155.79 ns/op 0.74
LinkedList of 16000 items push then pop 8.0620 ns/op 9.9140 ns/op 0.81
array of 24000 items push then shift 2.7416 us/op 2.9887 us/op 0.92
LinkedList of 24000 items push then shift 8.3040 ns/op 9.0800 ns/op 0.91
array of 24000 items push then pop 153.92 ns/op 196.57 ns/op 0.78
LinkedList of 24000 items push then pop 7.3420 ns/op 8.0610 ns/op 0.91
intersect bitArray bitLen 8 6.8300 ns/op 6.9390 ns/op 0.98
intersect array and set length 8 46.436 ns/op 59.445 ns/op 0.78
intersect bitArray bitLen 128 30.936 ns/op 32.297 ns/op 0.96
intersect array and set length 128 681.87 ns/op 956.71 ns/op 0.71
bitArray.getTrueBitIndexes() bitLen 128 1.8470 us/op 2.4240 us/op 0.76
bitArray.getTrueBitIndexes() bitLen 248 3.3080 us/op 4.0800 us/op 0.81
bitArray.getTrueBitIndexes() bitLen 512 7.4390 us/op 8.6000 us/op 0.86
Buffer.concat 32 items 1.1780 us/op 1.1740 us/op 1.00
Uint8Array.set 32 items 1.6770 us/op 1.9340 us/op 0.87
Buffer.copy 2.1620 us/op 2.4830 us/op 0.87
Uint8Array.set - with subarray 2.7790 us/op 3.8490 us/op 0.72
Uint8Array.set - without subarray 1.5650 us/op 1.9930 us/op 0.79
getUint32 - dataview 270.00 ns/op 339.00 ns/op 0.80
getUint32 - manual 194.00 ns/op 279.00 ns/op 0.70
Set add up to 64 items then delete first 2.5529 us/op 3.1922 us/op 0.80
OrderedSet add up to 64 items then delete first 3.4648 us/op 4.9439 us/op 0.70
Set add up to 64 items then delete last 2.6132 us/op 3.1161 us/op 0.84
OrderedSet add up to 64 items then delete last 4.0563 us/op 5.7085 us/op 0.71
Set add up to 64 items then delete middle 2.6476 us/op 3.6762 us/op 0.72
OrderedSet add up to 64 items then delete middle 5.5053 us/op 7.4039 us/op 0.74
Set add up to 128 items then delete first 5.1647 us/op 7.0672 us/op 0.73
OrderedSet add up to 128 items then delete first 7.8139 us/op 10.939 us/op 0.71
Set add up to 128 items then delete last 5.2883 us/op 7.2633 us/op 0.73
OrderedSet add up to 128 items then delete last 7.9886 us/op 11.672 us/op 0.68
Set add up to 128 items then delete middle 5.1392 us/op 7.0610 us/op 0.73
OrderedSet add up to 128 items then delete middle 14.218 us/op 19.281 us/op 0.74
Set add up to 256 items then delete first 10.758 us/op 14.707 us/op 0.73
OrderedSet add up to 256 items then delete first 15.493 us/op 21.559 us/op 0.72
Set add up to 256 items then delete last 10.439 us/op 14.185 us/op 0.74
OrderedSet add up to 256 items then delete last 16.171 us/op 23.301 us/op 0.69
Set add up to 256 items then delete middle 10.465 us/op 14.056 us/op 0.74
OrderedSet add up to 256 items then delete middle 41.897 us/op 50.097 us/op 0.84
transfer serialized Status (84 B) 1.5200 us/op 1.6590 us/op 0.92
copy serialized Status (84 B) 1.2840 us/op 1.4540 us/op 0.88
transfer serialized SignedVoluntaryExit (112 B) 1.7490 us/op 1.7760 us/op 0.98
copy serialized SignedVoluntaryExit (112 B) 1.3580 us/op 1.5070 us/op 0.90
transfer serialized ProposerSlashing (416 B) 2.6790 us/op 2.8630 us/op 0.94
copy serialized ProposerSlashing (416 B) 1.7100 us/op 2.7210 us/op 0.63
transfer serialized Attestation (485 B) 2.6560 us/op 2.7510 us/op 0.97
copy serialized Attestation (485 B) 2.0240 us/op 2.7360 us/op 0.74
transfer serialized AttesterSlashing (33232 B) 2.8300 us/op 3.2390 us/op 0.87
copy serialized AttesterSlashing (33232 B) 6.3500 us/op 9.9090 us/op 0.64
transfer serialized Small SignedBeaconBlock (128000 B) 3.1390 us/op 4.1060 us/op 0.76
copy serialized Small SignedBeaconBlock (128000 B) 17.494 us/op 30.086 us/op 0.58
transfer serialized Avg SignedBeaconBlock (200000 B) 4.0110 us/op 4.6020 us/op 0.87
copy serialized Avg SignedBeaconBlock (200000 B) 25.874 us/op 53.283 us/op 0.49
transfer serialized BlobsSidecar (524380 B) 3.3030 us/op 6.7540 us/op 0.49
copy serialized BlobsSidecar (524380 B) 73.643 us/op 140.39 us/op 0.52
transfer serialized Big SignedBeaconBlock (1000000 B) 3.1690 us/op 8.1490 us/op 0.39
copy serialized Big SignedBeaconBlock (1000000 B) 149.89 us/op 229.04 us/op 0.65
pass gossip attestations to forkchoice per slot 4.0822 ms/op 3.7892 ms/op 1.08
forkChoice updateHead vc 100000 bc 64 eq 0 627.50 us/op 523.09 us/op 1.20
forkChoice updateHead vc 600000 bc 64 eq 0 3.7722 ms/op 3.5156 ms/op 1.07
forkChoice updateHead vc 1000000 bc 64 eq 0 6.2285 ms/op 6.3702 ms/op 0.98
forkChoice updateHead vc 600000 bc 320 eq 0 4.1447 ms/op 3.5319 ms/op 1.17
forkChoice updateHead vc 600000 bc 1200 eq 0 3.2843 ms/op 3.7627 ms/op 0.87
forkChoice updateHead vc 600000 bc 7200 eq 0 4.7300 ms/op 4.7011 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 1000 12.710 ms/op 13.073 ms/op 0.97
forkChoice updateHead vc 600000 bc 64 eq 10000 11.300 ms/op 11.826 ms/op 0.96
forkChoice updateHead vc 600000 bc 64 eq 300000 16.311 ms/op 24.280 ms/op 0.67
computeDeltas 500000 validators 300 proto nodes 3.8192 ms/op 4.1245 ms/op 0.93
computeDeltas 500000 validators 1200 proto nodes 3.6398 ms/op 4.1477 ms/op 0.88
computeDeltas 500000 validators 7200 proto nodes 3.8039 ms/op 3.9213 ms/op 0.97
computeDeltas 750000 validators 300 proto nodes 5.9112 ms/op 5.6961 ms/op 1.04
computeDeltas 750000 validators 1200 proto nodes 5.5029 ms/op 5.5598 ms/op 0.99
computeDeltas 750000 validators 7200 proto nodes 5.5575 ms/op 5.5210 ms/op 1.01
computeDeltas 1400000 validators 300 proto nodes 10.799 ms/op 10.550 ms/op 1.02
computeDeltas 1400000 validators 1200 proto nodes 13.029 ms/op 10.767 ms/op 1.21
computeDeltas 1400000 validators 7200 proto nodes 13.808 ms/op 10.282 ms/op 1.34
computeDeltas 2100000 validators 300 proto nodes 20.133 ms/op 16.380 ms/op 1.23
computeDeltas 2100000 validators 1200 proto nodes 23.038 ms/op 16.303 ms/op 1.41
computeDeltas 2100000 validators 7200 proto nodes 23.742 ms/op 16.666 ms/op 1.42
altair processAttestation - 250000 vs - 7PWei normalcase 3.4253 ms/op 1.9304 ms/op 1.77
altair processAttestation - 250000 vs - 7PWei worstcase 5.2679 ms/op 2.8885 ms/op 1.82
altair processAttestation - setStatus - 1/6 committees join 112.04 us/op 106.27 us/op 1.05
altair processAttestation - setStatus - 1/3 committees join 212.94 us/op 212.60 us/op 1.00
altair processAttestation - setStatus - 1/2 committees join 316.04 us/op 265.82 us/op 1.19
altair processAttestation - setStatus - 2/3 committees join 580.45 us/op 372.81 us/op 1.56
altair processAttestation - setStatus - 4/5 committees join 552.52 us/op 534.71 us/op 1.03
altair processAttestation - setStatus - 100% committees join 611.00 us/op 620.55 us/op 0.98
altair processBlock - 250000 vs - 7PWei normalcase 9.3359 ms/op 4.5106 ms/op 2.07
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.875 ms/op 25.403 ms/op 1.10
altair processBlock - 250000 vs - 7PWei worstcase 37.373 ms/op 36.687 ms/op 1.02
altair processBlock - 250000 vs - 7PWei worstcase hashState 81.675 ms/op 74.828 ms/op 1.09
phase0 processBlock - 250000 vs - 7PWei normalcase 1.9812 ms/op 1.8995 ms/op 1.04
phase0 processBlock - 250000 vs - 7PWei worstcase 20.944 ms/op 23.971 ms/op 0.87
altair processEth1Data - 250000 vs - 7PWei normalcase 331.32 us/op 351.60 us/op 0.94
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 4.7940 us/op 6.9320 us/op 0.69
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 18.099 us/op 28.948 us/op 0.63
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 6.8730 us/op 11.054 us/op 0.62
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.2050 us/op 8.8280 us/op 0.59
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 77.413 us/op 124.52 us/op 0.62
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 681.71 us/op 837.00 us/op 0.81
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 923.52 us/op 1.0546 ms/op 0.88
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 955.24 us/op 1.1734 ms/op 0.81
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.4883 ms/op 3.1375 ms/op 0.79
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.6665 ms/op 1.8736 ms/op 0.89
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.7764 ms/op 4.7624 ms/op 0.79
Tree 40 250000 create 227.93 ms/op 275.69 ms/op 0.83
Tree 40 250000 get(125000) 169.45 ns/op 170.30 ns/op 0.99
Tree 40 250000 set(125000) 756.25 ns/op 876.99 ns/op 0.86
Tree 40 250000 toArray() 16.596 ms/op 22.125 ms/op 0.75
Tree 40 250000 iterate all - toArray() + loop 16.405 ms/op 22.896 ms/op 0.72
Tree 40 250000 iterate all - get(i) 57.008 ms/op 60.428 ms/op 0.94
MutableVector 250000 create 9.8939 ms/op 8.4593 ms/op 1.17
MutableVector 250000 get(125000) 6.3850 ns/op 7.3550 ns/op 0.87
MutableVector 250000 set(125000) 230.55 ns/op 234.44 ns/op 0.98
MutableVector 250000 toArray() 3.5160 ms/op 4.2370 ms/op 0.83
MutableVector 250000 iterate all - toArray() + loop 3.6160 ms/op 4.3408 ms/op 0.83
MutableVector 250000 iterate all - get(i) 1.9923 ms/op 1.7636 ms/op 1.13
Array 250000 create 3.0963 ms/op 3.5332 ms/op 0.88
Array 250000 clone - spread 1.6600 ms/op 1.5366 ms/op 1.08
Array 250000 get(125000) 0.44300 ns/op 0.46100 ns/op 0.96
Array 250000 set(125000) 0.47100 ns/op 0.48500 ns/op 0.97
Array 250000 iterate all - loop 115.08 us/op 110.24 us/op 1.04
effectiveBalanceIncrements clone Uint8Array 300000 33.444 us/op 39.127 us/op 0.85
effectiveBalanceIncrements clone MutableVector 300000 132.00 ns/op 137.00 ns/op 0.96
effectiveBalanceIncrements rw all Uint8Array 300000 230.35 us/op 205.19 us/op 1.12
effectiveBalanceIncrements rw all MutableVector 300000 69.781 ms/op 78.533 ms/op 0.89
phase0 afterProcessEpoch - 250000 vs - 7PWei 101.71 ms/op 96.830 ms/op 1.05
Array.fill - length 1000000 3.6231 ms/op 4.1857 ms/op 0.87
Array push - length 1000000 17.475 ms/op 21.522 ms/op 0.81
Array.get 0.28033 ns/op 0.32039 ns/op 0.87
Uint8Array.get 0.45199 ns/op 0.49802 ns/op 0.91
phase0 beforeProcessEpoch - 250000 vs - 7PWei 23.218 ms/op 29.378 ms/op 0.79
altair processEpoch - mainnet_e81889 382.21 ms/op 384.22 ms/op 0.99
mainnet_e81889 - altair beforeProcessEpoch 28.640 ms/op 34.325 ms/op 0.83
mainnet_e81889 - altair processJustificationAndFinalization 11.976 us/op 20.332 us/op 0.59
mainnet_e81889 - altair processInactivityUpdates 5.6617 ms/op 6.9336 ms/op 0.82
mainnet_e81889 - altair processRewardsAndPenalties 49.274 ms/op 47.208 ms/op 1.04
mainnet_e81889 - altair processRegistryUpdates 1.8260 us/op 2.1100 us/op 0.87
mainnet_e81889 - altair processSlashings 410.00 ns/op 419.00 ns/op 0.98
mainnet_e81889 - altair processEth1DataReset 328.00 ns/op 598.00 ns/op 0.55
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.7958 ms/op 1.8974 ms/op 0.95
mainnet_e81889 - altair processSlashingsReset 2.4990 us/op 4.8250 us/op 0.52
mainnet_e81889 - altair processRandaoMixesReset 3.3480 us/op 5.3530 us/op 0.63
mainnet_e81889 - altair processHistoricalRootsUpdate 339.00 ns/op 602.00 ns/op 0.56
mainnet_e81889 - altair processParticipationFlagUpdates 1.8900 us/op 2.3720 us/op 0.80
mainnet_e81889 - altair processSyncCommitteeUpdates 426.00 ns/op 579.00 ns/op 0.74
mainnet_e81889 - altair afterProcessEpoch 93.184 ms/op 101.50 ms/op 0.92
capella processEpoch - mainnet_e217614 1.2846 s/op 1.4510 s/op 0.89
mainnet_e217614 - capella beforeProcessEpoch 128.15 ms/op 140.80 ms/op 0.91
mainnet_e217614 - capella processJustificationAndFinalization 13.098 us/op 25.075 us/op 0.52
mainnet_e217614 - capella processInactivityUpdates 20.059 ms/op 18.538 ms/op 1.08
mainnet_e217614 - capella processRewardsAndPenalties 250.49 ms/op 248.27 ms/op 1.01
mainnet_e217614 - capella processRegistryUpdates 12.553 us/op 14.221 us/op 0.88
mainnet_e217614 - capella processSlashings 400.00 ns/op 419.00 ns/op 0.95
mainnet_e217614 - capella processEth1DataReset 301.00 ns/op 344.00 ns/op 0.88
mainnet_e217614 - capella processEffectiveBalanceUpdates 9.9951 ms/op 13.309 ms/op 0.75
mainnet_e217614 - capella processSlashingsReset 3.4360 us/op 3.7810 us/op 0.91
mainnet_e217614 - capella processRandaoMixesReset 7.4360 us/op 8.1360 us/op 0.91
mainnet_e217614 - capella processHistoricalRootsUpdate 506.00 ns/op 523.00 ns/op 0.97
mainnet_e217614 - capella processParticipationFlagUpdates 2.1430 us/op 1.8680 us/op 1.15
mainnet_e217614 - capella afterProcessEpoch 284.02 ms/op 266.74 ms/op 1.06
phase0 processEpoch - mainnet_e58758 437.62 ms/op 389.79 ms/op 1.12
mainnet_e58758 - phase0 beforeProcessEpoch 83.117 ms/op 88.289 ms/op 0.94
mainnet_e58758 - phase0 processJustificationAndFinalization 14.832 us/op 17.150 us/op 0.86
mainnet_e58758 - phase0 processRewardsAndPenalties 36.178 ms/op 22.779 ms/op 1.59
mainnet_e58758 - phase0 processRegistryUpdates 7.7320 us/op 8.8550 us/op 0.87
mainnet_e58758 - phase0 processSlashings 383.00 ns/op 437.00 ns/op 0.88
mainnet_e58758 - phase0 processEth1DataReset 310.00 ns/op 414.00 ns/op 0.75
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1142 ms/op 935.64 us/op 1.19
mainnet_e58758 - phase0 processSlashingsReset 3.2690 us/op 3.3620 us/op 0.97
mainnet_e58758 - phase0 processRandaoMixesReset 3.9120 us/op 4.0790 us/op 0.96
mainnet_e58758 - phase0 processHistoricalRootsUpdate 320.00 ns/op 481.00 ns/op 0.67
mainnet_e58758 - phase0 processParticipationRecordUpdates 2.7710 us/op 3.1850 us/op 0.87
mainnet_e58758 - phase0 afterProcessEpoch 86.719 ms/op 81.589 ms/op 1.06
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.1451 ms/op 1.1854 ms/op 0.97
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.0771 ms/op 2.2767 ms/op 0.91
altair processInactivityUpdates - 250000 normalcase 15.400 ms/op 16.474 ms/op 0.93
altair processInactivityUpdates - 250000 worstcase 15.600 ms/op 15.471 ms/op 1.01
phase0 processRegistryUpdates - 250000 normalcase 6.1240 us/op 6.7790 us/op 0.90
phase0 processRegistryUpdates - 250000 badcase_full_deposits 229.86 us/op 262.71 us/op 0.87
phase0 processRegistryUpdates - 250000 worstcase 0.5 117.83 ms/op 105.33 ms/op 1.12
altair processRewardsAndPenalties - 250000 normalcase 50.024 ms/op 36.865 ms/op 1.36
altair processRewardsAndPenalties - 250000 worstcase 45.144 ms/op 38.182 ms/op 1.18
phase0 getAttestationDeltas - 250000 normalcase 7.6851 ms/op 7.8588 ms/op 0.98
phase0 getAttestationDeltas - 250000 worstcase 7.8188 ms/op 7.8173 ms/op 1.00
phase0 processSlashings - 250000 worstcase 76.077 us/op 86.504 us/op 0.88
altair processSyncCommitteeUpdates - 250000 128.92 ms/op 121.20 ms/op 1.06
BeaconState.hashTreeRoot - No change 275.00 ns/op 271.00 ns/op 1.01
BeaconState.hashTreeRoot - 1 full validator 119.82 us/op 93.310 us/op 1.28
BeaconState.hashTreeRoot - 32 full validator 1.2706 ms/op 859.81 us/op 1.48
BeaconState.hashTreeRoot - 512 full validator 13.752 ms/op 8.7465 ms/op 1.57
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 162.24 us/op 100.03 us/op 1.62
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.2690 ms/op 1.8000 ms/op 1.26
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 24.780 ms/op 17.966 ms/op 1.38
BeaconState.hashTreeRoot - 1 balances 114.40 us/op 86.311 us/op 1.33
BeaconState.hashTreeRoot - 32 balances 1.1596 ms/op 1.2135 ms/op 0.96
BeaconState.hashTreeRoot - 512 balances 9.8948 ms/op 6.5865 ms/op 1.50
BeaconState.hashTreeRoot - 250000 balances 199.39 ms/op 161.51 ms/op 1.23
aggregationBits - 2048 els - zipIndexesInBitList 27.125 us/op 23.779 us/op 1.14
byteArrayEquals 32 62.853 ns/op 53.574 ns/op 1.17
Buffer.compare 32 20.902 ns/op 17.362 ns/op 1.20
byteArrayEquals 1024 1.8439 us/op 1.5809 us/op 1.17
Buffer.compare 1024 29.710 ns/op 30.104 ns/op 0.99
byteArrayEquals 16384 29.190 us/op 25.151 us/op 1.16
Buffer.compare 16384 219.29 ns/op 188.85 ns/op 1.16
byteArrayEquals 123687377 217.63 ms/op 194.53 ms/op 1.12
Buffer.compare 123687377 6.0811 ms/op 7.0356 ms/op 0.86
byteArrayEquals 32 - diff last byte 61.006 ns/op 54.430 ns/op 1.12
Buffer.compare 32 - diff last byte 20.482 ns/op 17.322 ns/op 1.18
byteArrayEquals 1024 - diff last byte 1.8033 us/op 1.5904 us/op 1.13
Buffer.compare 1024 - diff last byte 29.673 ns/op 26.436 ns/op 1.12
byteArrayEquals 16384 - diff last byte 28.640 us/op 25.762 us/op 1.11
Buffer.compare 16384 - diff last byte 237.20 ns/op 205.01 ns/op 1.16
byteArrayEquals 123687377 - diff last byte 195.54 ms/op 200.20 ms/op 0.98
Buffer.compare 123687377 - diff last byte 6.0812 ms/op 11.113 ms/op 0.55
byteArrayEquals 32 - random bytes 5.5690 ns/op 5.6530 ns/op 0.99
Buffer.compare 32 - random bytes 17.700 ns/op 18.723 ns/op 0.95
byteArrayEquals 1024 - random bytes 5.2070 ns/op 5.5560 ns/op 0.94
Buffer.compare 1024 - random bytes 17.818 ns/op 18.854 ns/op 0.95
byteArrayEquals 16384 - random bytes 5.1890 ns/op 5.5370 ns/op 0.94
Buffer.compare 16384 - random bytes 17.704 ns/op 19.033 ns/op 0.93
byteArrayEquals 123687377 - random bytes 6.5400 ns/op 7.6600 ns/op 0.85
Buffer.compare 123687377 - random bytes 18.920 ns/op 21.340 ns/op 0.89
regular array get 100000 times 43.418 us/op 43.783 us/op 0.99
wrappedArray get 100000 times 33.437 us/op 38.147 us/op 0.88
arrayWithProxy get 100000 times 15.259 ms/op 16.022 ms/op 0.95
ssz.Root.equals 51.286 ns/op 48.880 ns/op 1.05
byteArrayEquals 50.775 ns/op 48.790 ns/op 1.04
Buffer.compare 11.761 ns/op 11.161 ns/op 1.05
shuffle list - 16384 els 6.4613 ms/op 6.9863 ms/op 0.92
shuffle list - 250000 els 93.995 ms/op 101.82 ms/op 0.92
processSlot - 1 slots 14.675 us/op 22.364 us/op 0.66
processSlot - 32 slots 3.0609 ms/op 3.8948 ms/op 0.79
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 40.812 ms/op 44.408 ms/op 0.92
getCommitteeAssignments - req 1 vs - 250000 vc 2.2449 ms/op 2.3515 ms/op 0.95
getCommitteeAssignments - req 100 vs - 250000 vc 4.2926 ms/op 4.6115 ms/op 0.93
getCommitteeAssignments - req 1000 vs - 250000 vc 4.6005 ms/op 4.8532 ms/op 0.95
findModifiedValidators - 10000 modified validators 264.87 ms/op 538.02 ms/op 0.49
findModifiedValidators - 1000 modified validators 179.51 ms/op 357.65 ms/op 0.50
findModifiedValidators - 100 modified validators 156.75 ms/op 308.14 ms/op 0.51
findModifiedValidators - 10 modified validators 146.00 ms/op 299.63 ms/op 0.49
findModifiedValidators - 1 modified validators 144.14 ms/op 329.58 ms/op 0.44
findModifiedValidators - no difference 155.84 ms/op 293.41 ms/op 0.53
compare ViewDUs 3.1343 s/op 3.7208 s/op 0.84
compare each validator Uint8Array 1.5687 s/op 1.1395 s/op 1.38
compare ViewDU to Uint8Array 1.0422 s/op 1.2340 s/op 0.84
migrate state 1000000 validators, 24 modified, 0 new 633.55 ms/op 626.77 ms/op 1.01
migrate state 1000000 validators, 1700 modified, 1000 new 939.08 ms/op 866.16 ms/op 1.08
migrate state 1000000 validators, 3400 modified, 2000 new 1.1094 s/op 1.1139 s/op 1.00
migrate state 1500000 validators, 24 modified, 0 new 662.62 ms/op 618.10 ms/op 1.07
migrate state 1500000 validators, 1700 modified, 1000 new 875.10 ms/op 991.40 ms/op 0.88
migrate state 1500000 validators, 3400 modified, 2000 new 1.2001 s/op 1.1725 s/op 1.02
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.9300 ns/op 5.1500 ns/op 0.96
state getBlockRootAtSlot - 250000 vs - 7PWei 836.84 ns/op 661.42 ns/op 1.27
computeProposers - vc 250000 9.2967 ms/op 7.9600 ms/op 1.17
computeEpochShuffling - vc 250000 115.67 ms/op 102.11 ms/op 1.13
getNextSyncCommittee - vc 250000 138.01 ms/op 132.23 ms/op 1.04
computeSigningRoot for AttestationData 28.093 us/op 23.650 us/op 1.19
hash AttestationData serialized data then Buffer.toString(base64) 1.5326 us/op 1.7440 us/op 0.88
toHexString serialized data 920.41 ns/op 1.1105 us/op 0.83
Buffer.toString(base64) 186.20 ns/op 227.98 ns/op 0.82

by benchmarkbot/action

@nflaig nflaig merged commit 3ecee07 into unstable Jul 26, 2024
20 checks passed
@nflaig nflaig deleted the mkeil/bump-blst-version branch July 26, 2024 18:21
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.21.0 🎉

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.

3 participants