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: merge v1.17.0 stable back to unstable #6527

Merged
merged 2 commits into from
Mar 11, 2024
Merged

chore: merge v1.17.0 stable back to unstable #6527

merged 2 commits into from
Mar 11, 2024

Conversation

philknows
Copy link
Member

Motivation

As per release.md we must merge new release stable back to unstable.

@philknows philknows requested a review from a team as a code owner March 11, 2024 15:25
@philknows philknows merged commit 6fe93c1 into unstable Mar 11, 2024
35 of 45 checks passed
Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: a4d2444 Previous: cae26be Ratio
getSlashingsAndExits - 2k 354.62 us/op 1.0821 ms/op 0.33
Full benchmark results
Benchmark suite Current: a4d2444 Previous: cae26be Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 694.90 us/op 872.87 us/op 0.80
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 60.190 us/op 105.08 us/op 0.57
BLS verify - blst-native 1.1054 ms/op 1.2985 ms/op 0.85
BLS verifyMultipleSignatures 3 - blst-native 2.3255 ms/op 2.7427 ms/op 0.85
BLS verifyMultipleSignatures 8 - blst-native 5.1843 ms/op 6.0248 ms/op 0.86
BLS verifyMultipleSignatures 32 - blst-native 19.768 ms/op 22.151 ms/op 0.89
BLS verifyMultipleSignatures 64 - blst-native 38.286 ms/op 43.605 ms/op 0.88
BLS verifyMultipleSignatures 128 - blst-native 77.665 ms/op 86.640 ms/op 0.90
BLS deserializing 10000 signatures 840.73 ms/op 903.18 ms/op 0.93
BLS deserializing 100000 signatures 8.6647 s/op 9.5274 s/op 0.91
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2171 ms/op 1.3354 ms/op 0.91
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.3493 ms/op 1.5327 ms/op 0.88
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5273 ms/op 3.0421 ms/op 0.83
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.7344 ms/op 3.7916 ms/op 0.98
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.3549 ms/op 7.6011 ms/op 0.84
BLS aggregatePubkeys 32 - blst-native 24.013 us/op 28.590 us/op 0.84
BLS aggregatePubkeys 128 - blst-native 97.757 us/op 106.97 us/op 0.91
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 60.776 ms/op 67.921 ms/op 0.89
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 53.778 ms/op 61.063 ms/op 0.88
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 28.548 ms/op 34.269 ms/op 0.83
getSlashingsAndExits - default max 203.46 us/op 202.46 us/op 1.00
getSlashingsAndExits - 2k 354.62 us/op 1.0821 ms/op 0.33
proposeBlockBody type=full, size=empty 4.1528 ms/op 5.7834 ms/op 0.72
isKnown best case - 1 super set check 347.00 ns/op 549.00 ns/op 0.63
isKnown normal case - 2 super set checks 340.00 ns/op 445.00 ns/op 0.76
isKnown worse case - 16 super set checks 342.00 ns/op 480.00 ns/op 0.71
CheckpointStateCache - add get delete 4.2210 us/op 8.8900 us/op 0.47
validate api signedAggregateAndProof - struct 2.4359 ms/op 3.1476 ms/op 0.77
validate gossip signedAggregateAndProof - struct 2.4327 ms/op 2.8660 ms/op 0.85
validate gossip attestation - vc 640000 1.1777 ms/op 1.3866 ms/op 0.85
batch validate gossip attestation - vc 640000 - chunk 32 147.89 us/op 163.56 us/op 0.90
batch validate gossip attestation - vc 640000 - chunk 64 121.24 us/op 141.80 us/op 0.86
batch validate gossip attestation - vc 640000 - chunk 128 116.19 us/op 134.91 us/op 0.86
batch validate gossip attestation - vc 640000 - chunk 256 112.15 us/op 128.64 us/op 0.87
pickEth1Vote - no votes 863.34 us/op 1.2527 ms/op 0.69
pickEth1Vote - max votes 8.2524 ms/op 9.0505 ms/op 0.91
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.900 ms/op 16.003 ms/op 0.93
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 18.265 ms/op 24.349 ms/op 0.75
pickEth1Vote - Eth1Data fastSerialize value x2048 438.26 us/op 663.37 us/op 0.66
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.4036 ms/op 4.4169 ms/op 0.77
bytes32 toHexString 515.00 ns/op 481.00 ns/op 1.07
bytes32 Buffer.toString(hex) 343.00 ns/op 286.00 ns/op 1.20
bytes32 Buffer.toString(hex) from Uint8Array 466.00 ns/op 420.00 ns/op 1.11
bytes32 Buffer.toString(hex) + 0x 315.00 ns/op 286.00 ns/op 1.10
Object access 1 prop 0.20400 ns/op 0.15900 ns/op 1.28
Map access 1 prop 0.19400 ns/op 0.14300 ns/op 1.36
Object get x1000 5.7870 ns/op 6.8550 ns/op 0.84
Map get x1000 0.73500 ns/op 0.76000 ns/op 0.97
Object set x1000 28.747 ns/op 49.629 ns/op 0.58
Map set x1000 17.826 ns/op 38.803 ns/op 0.46
Return object 10000 times 0.24140 ns/op 0.23460 ns/op 1.03
Throw Error 10000 times 2.8072 us/op 3.8154 us/op 0.74
fastMsgIdFn sha256 / 200 bytes 2.0410 us/op 3.1870 us/op 0.64
fastMsgIdFn h32 xxhash / 200 bytes 298.00 ns/op 275.00 ns/op 1.08
fastMsgIdFn h64 xxhash / 200 bytes 341.00 ns/op 331.00 ns/op 1.03
fastMsgIdFn sha256 / 1000 bytes 6.3920 us/op 10.957 us/op 0.58
fastMsgIdFn h32 xxhash / 1000 bytes 419.00 ns/op 397.00 ns/op 1.06
fastMsgIdFn h64 xxhash / 1000 bytes 413.00 ns/op 404.00 ns/op 1.02
fastMsgIdFn sha256 / 10000 bytes 53.589 us/op 99.860 us/op 0.54
fastMsgIdFn h32 xxhash / 10000 bytes 1.8510 us/op 1.8920 us/op 0.98
fastMsgIdFn h64 xxhash / 10000 bytes 1.2700 us/op 1.3080 us/op 0.97
send data - 1000 256B messages 11.291 ms/op 17.930 ms/op 0.63
send data - 1000 512B messages 14.893 ms/op 25.647 ms/op 0.58
send data - 1000 1024B messages 24.950 ms/op 40.055 ms/op 0.62
send data - 1000 1200B messages 30.465 ms/op 37.543 ms/op 0.81
send data - 1000 2048B messages 39.722 ms/op 47.279 ms/op 0.84
send data - 1000 4096B messages 31.631 ms/op 42.378 ms/op 0.75
send data - 1000 16384B messages 85.358 ms/op 114.90 ms/op 0.74
send data - 1000 65536B messages 343.34 ms/op 453.34 ms/op 0.76
enrSubnets - fastDeserialize 64 bits 1.0370 us/op 1.2140 us/op 0.85
enrSubnets - ssz BitVector 64 bits 435.00 ns/op 418.00 ns/op 1.04
enrSubnets - fastDeserialize 4 bits 228.00 ns/op 163.00 ns/op 1.40
enrSubnets - ssz BitVector 4 bits 462.00 ns/op 413.00 ns/op 1.12
prioritizePeers score -10:0 att 32-0.1 sync 2-0 70.571 us/op 102.60 us/op 0.69
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 97.885 us/op 123.89 us/op 0.79
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 118.67 us/op 155.95 us/op 0.76
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 288.55 us/op 283.67 us/op 1.02
prioritizePeers score 0:0 att 64-1 sync 4-1 241.51 us/op 341.66 us/op 0.71
array of 16000 items push then shift 1.2916 us/op 1.5799 us/op 0.82
LinkedList of 16000 items push then shift 7.3100 ns/op 8.8580 ns/op 0.83
array of 16000 items push then pop 107.62 ns/op 57.105 ns/op 1.88
LinkedList of 16000 items push then pop 5.8330 ns/op 8.6090 ns/op 0.68
array of 24000 items push then shift 1.8933 us/op 2.3991 us/op 0.79
LinkedList of 24000 items push then shift 6.8810 ns/op 8.7500 ns/op 0.79
array of 24000 items push then pop 87.425 ns/op 119.45 ns/op 0.73
LinkedList of 24000 items push then pop 5.8760 ns/op 8.6410 ns/op 0.68
intersect bitArray bitLen 8 4.8060 ns/op 5.9390 ns/op 0.81
intersect array and set length 8 49.055 ns/op 63.251 ns/op 0.78
intersect bitArray bitLen 128 29.629 ns/op 35.396 ns/op 0.84
intersect array and set length 128 679.51 ns/op 848.83 ns/op 0.80
bitArray.getTrueBitIndexes() bitLen 128 1.2550 us/op 1.3960 us/op 0.90
bitArray.getTrueBitIndexes() bitLen 248 1.9390 us/op 2.5990 us/op 0.75
bitArray.getTrueBitIndexes() bitLen 512 3.5080 us/op 5.1310 us/op 0.68
Buffer.concat 32 items 853.00 ns/op 1.0080 us/op 0.85
Uint8Array.set 32 items 1.3130 us/op 1.8500 us/op 0.71
Set add up to 64 items then delete first 1.6989 us/op 4.3885 us/op 0.39
OrderedSet add up to 64 items then delete first 2.5161 us/op 5.5593 us/op 0.45
Set add up to 64 items then delete last 1.8898 us/op 4.7751 us/op 0.40
OrderedSet add up to 64 items then delete last 2.8004 us/op 5.8093 us/op 0.48
Set add up to 64 items then delete middle 1.8728 us/op 4.6252 us/op 0.40
OrderedSet add up to 64 items then delete middle 4.2314 us/op 7.0239 us/op 0.60
Set add up to 128 items then delete first 3.8026 us/op 9.2877 us/op 0.41
OrderedSet add up to 128 items then delete first 5.8585 us/op 12.609 us/op 0.46
Set add up to 128 items then delete last 3.6855 us/op 8.9729 us/op 0.41
OrderedSet add up to 128 items then delete last 5.5363 us/op 11.372 us/op 0.49
Set add up to 128 items then delete middle 3.8930 us/op 9.0455 us/op 0.43
OrderedSet add up to 128 items then delete middle 10.470 us/op 16.873 us/op 0.62
Set add up to 256 items then delete first 7.4779 us/op 19.167 us/op 0.39
OrderedSet add up to 256 items then delete first 11.910 us/op 26.035 us/op 0.46
Set add up to 256 items then delete last 7.8677 us/op 17.966 us/op 0.44
OrderedSet add up to 256 items then delete last 11.595 us/op 23.282 us/op 0.50
Set add up to 256 items then delete middle 7.1400 us/op 18.104 us/op 0.39
OrderedSet add up to 256 items then delete middle 30.249 us/op 48.064 us/op 0.63
transfer serialized Status (84 B) 1.4510 us/op 1.6500 us/op 0.88
copy serialized Status (84 B) 1.2700 us/op 1.2270 us/op 1.04
transfer serialized SignedVoluntaryExit (112 B) 1.8180 us/op 1.8260 us/op 1.00
copy serialized SignedVoluntaryExit (112 B) 1.2940 us/op 1.3140 us/op 0.98
transfer serialized ProposerSlashing (416 B) 2.7290 us/op 1.9850 us/op 1.37
copy serialized ProposerSlashing (416 B) 2.0640 us/op 2.2870 us/op 0.90
transfer serialized Attestation (485 B) 2.8830 us/op 2.8440 us/op 1.01
copy serialized Attestation (485 B) 2.2130 us/op 3.0410 us/op 0.73
transfer serialized AttesterSlashing (33232 B) 2.2350 us/op 3.1210 us/op 0.72
copy serialized AttesterSlashing (33232 B) 7.4040 us/op 6.2980 us/op 1.18
transfer serialized Small SignedBeaconBlock (128000 B) 2.1830 us/op 3.3500 us/op 0.65
copy serialized Small SignedBeaconBlock (128000 B) 20.242 us/op 25.957 us/op 0.78
transfer serialized Avg SignedBeaconBlock (200000 B) 2.2890 us/op 3.5050 us/op 0.65
copy serialized Avg SignedBeaconBlock (200000 B) 34.147 us/op 22.860 us/op 1.49
transfer serialized BlobsSidecar (524380 B) 2.5910 us/op 3.2860 us/op 0.79
copy serialized BlobsSidecar (524380 B) 206.93 us/op 142.42 us/op 1.45
transfer serialized Big SignedBeaconBlock (1000000 B) 3.6940 us/op 3.5350 us/op 1.04
copy serialized Big SignedBeaconBlock (1000000 B) 141.33 us/op 244.08 us/op 0.58
pass gossip attestations to forkchoice per slot 3.1242 ms/op 3.7169 ms/op 0.84
forkChoice updateHead vc 100000 bc 64 eq 0 442.90 us/op 804.70 us/op 0.55
forkChoice updateHead vc 600000 bc 64 eq 0 2.7480 ms/op 4.2754 ms/op 0.64
forkChoice updateHead vc 1000000 bc 64 eq 0 4.3686 ms/op 6.9537 ms/op 0.63
forkChoice updateHead vc 600000 bc 320 eq 0 2.6448 ms/op 4.2003 ms/op 0.63
forkChoice updateHead vc 600000 bc 1200 eq 0 2.8027 ms/op 4.4940 ms/op 0.62
forkChoice updateHead vc 600000 bc 7200 eq 0 3.6821 ms/op 5.4286 ms/op 0.68
forkChoice updateHead vc 600000 bc 64 eq 1000 10.442 ms/op 10.870 ms/op 0.96
forkChoice updateHead vc 600000 bc 64 eq 10000 10.051 ms/op 11.881 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 300000 12.343 ms/op 16.052 ms/op 0.77
computeDeltas 500000 validators 300 proto nodes 3.3941 ms/op 6.9494 ms/op 0.49
computeDeltas 500000 validators 1200 proto nodes 3.4451 ms/op 6.7827 ms/op 0.51
computeDeltas 500000 validators 7200 proto nodes 3.4820 ms/op 6.8486 ms/op 0.51
computeDeltas 750000 validators 300 proto nodes 5.9489 ms/op 10.191 ms/op 0.58
computeDeltas 750000 validators 1200 proto nodes 7.0430 ms/op 10.318 ms/op 0.68
computeDeltas 750000 validators 7200 proto nodes 5.9408 ms/op 10.207 ms/op 0.58
computeDeltas 1400000 validators 300 proto nodes 11.269 ms/op 19.212 ms/op 0.59
computeDeltas 1400000 validators 1200 proto nodes 10.357 ms/op 19.115 ms/op 0.54
computeDeltas 1400000 validators 7200 proto nodes 9.9353 ms/op 19.524 ms/op 0.51
computeDeltas 2100000 validators 300 proto nodes 14.260 ms/op 28.433 ms/op 0.50
computeDeltas 2100000 validators 1200 proto nodes 14.426 ms/op 28.487 ms/op 0.51
computeDeltas 2100000 validators 7200 proto nodes 14.849 ms/op 27.906 ms/op 0.53
altair processAttestation - 250000 vs - 7PWei normalcase 1.4252 ms/op 3.6152 ms/op 0.39
altair processAttestation - 250000 vs - 7PWei worstcase 2.2901 ms/op 4.9090 ms/op 0.47
altair processAttestation - setStatus - 1/6 committees join 104.83 us/op 221.84 us/op 0.47
altair processAttestation - setStatus - 1/3 committees join 209.72 us/op 445.78 us/op 0.47
altair processAttestation - setStatus - 1/2 committees join 315.07 us/op 659.61 us/op 0.48
altair processAttestation - setStatus - 2/3 committees join 419.17 us/op 725.76 us/op 0.58
altair processAttestation - setStatus - 4/5 committees join 559.34 us/op 1.0850 ms/op 0.52
altair processAttestation - setStatus - 100% committees join 649.78 us/op 1.2231 ms/op 0.53
altair processBlock - 250000 vs - 7PWei normalcase 11.828 ms/op 8.7121 ms/op 1.36
altair processBlock - 250000 vs - 7PWei normalcase hashState 30.731 ms/op 37.988 ms/op 0.81
altair processBlock - 250000 vs - 7PWei worstcase 37.025 ms/op 47.083 ms/op 0.79
altair processBlock - 250000 vs - 7PWei worstcase hashState 87.678 ms/op 101.84 ms/op 0.86
phase0 processBlock - 250000 vs - 7PWei normalcase 2.5222 ms/op 3.6020 ms/op 0.70
phase0 processBlock - 250000 vs - 7PWei worstcase 26.500 ms/op 34.011 ms/op 0.78
altair processEth1Data - 250000 vs - 7PWei normalcase 406.94 us/op 648.42 us/op 0.63
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 11.723 us/op 16.433 us/op 0.71
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 62.704 us/op 76.624 us/op 0.82
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 22.678 us/op 20.857 us/op 1.09
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 13.678 us/op 20.219 us/op 0.68
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 168.82 us/op 221.82 us/op 0.76
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.1018 ms/op 1.5620 ms/op 0.71
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.2466 ms/op 2.0154 ms/op 0.62
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.4736 ms/op 2.2580 ms/op 0.65
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.7297 ms/op 3.7752 ms/op 0.99
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.9740 ms/op 3.0075 ms/op 0.66
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.0493 ms/op 5.3780 ms/op 0.75
Tree 40 250000 create 276.46 ms/op 470.96 ms/op 0.59
Tree 40 250000 get(125000) 122.98 ns/op 211.69 ns/op 0.58
Tree 40 250000 set(125000) 868.99 ns/op 1.1440 us/op 0.76
Tree 40 250000 toArray() 22.849 ms/op 23.931 ms/op 0.95
Tree 40 250000 iterate all - toArray() + loop 22.282 ms/op 24.075 ms/op 0.93
Tree 40 250000 iterate all - get(i) 51.138 ms/op 77.169 ms/op 0.66
MutableVector 250000 create 11.944 ms/op 16.697 ms/op 0.72
MutableVector 250000 get(125000) 6.0770 ns/op 6.7160 ns/op 0.90
MutableVector 250000 set(125000) 200.75 ns/op 311.53 ns/op 0.64
MutableVector 250000 toArray() 3.8251 ms/op 3.1524 ms/op 1.21
MutableVector 250000 iterate all - toArray() + loop 3.2287 ms/op 3.4024 ms/op 0.95
MutableVector 250000 iterate all - get(i) 1.3328 ms/op 1.5654 ms/op 0.85
Array 250000 create 2.8524 ms/op 2.9971 ms/op 0.95
Array 250000 clone - spread 1.0522 ms/op 1.4663 ms/op 0.72
Array 250000 get(125000) 0.98100 ns/op 1.2110 ns/op 0.81
Array 250000 set(125000) 1.1930 ns/op 4.5320 ns/op 0.26
Array 250000 iterate all - loop 157.71 us/op 168.85 us/op 0.93
effectiveBalanceIncrements clone Uint8Array 300000 25.383 us/op 45.093 us/op 0.56
effectiveBalanceIncrements clone MutableVector 300000 377.00 ns/op 437.00 ns/op 0.86
effectiveBalanceIncrements rw all Uint8Array 300000 185.32 us/op 202.69 us/op 0.91
effectiveBalanceIncrements rw all MutableVector 300000 72.756 ms/op 94.412 ms/op 0.77
phase0 afterProcessEpoch - 250000 vs - 7PWei 74.891 ms/op 115.85 ms/op 0.65
phase0 beforeProcessEpoch - 250000 vs - 7PWei 48.545 ms/op 41.654 ms/op 1.17
altair processEpoch - mainnet_e81889 426.66 ms/op 535.26 ms/op 0.80
mainnet_e81889 - altair beforeProcessEpoch 82.239 ms/op 85.629 ms/op 0.96
mainnet_e81889 - altair processJustificationAndFinalization 14.707 us/op 27.474 us/op 0.54
mainnet_e81889 - altair processInactivityUpdates 5.1759 ms/op 6.4009 ms/op 0.81
mainnet_e81889 - altair processRewardsAndPenalties 57.550 ms/op 69.679 ms/op 0.83
mainnet_e81889 - altair processRegistryUpdates 2.3740 us/op 2.7620 us/op 0.86
mainnet_e81889 - altair processSlashings 611.00 ns/op 718.00 ns/op 0.85
mainnet_e81889 - altair processEth1DataReset 970.00 ns/op 852.00 ns/op 1.14
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.5987 ms/op 2.6561 ms/op 0.98
mainnet_e81889 - altair processSlashingsReset 4.2270 us/op 4.3970 us/op 0.96
mainnet_e81889 - altair processRandaoMixesReset 4.6540 us/op 6.8030 us/op 0.68
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1300 us/op 1.1500 us/op 0.98
mainnet_e81889 - altair processParticipationFlagUpdates 2.1940 us/op 2.1630 us/op 1.01
mainnet_e81889 - altair processSyncCommitteeUpdates 853.00 ns/op 1.1510 us/op 0.74
mainnet_e81889 - altair afterProcessEpoch 87.273 ms/op 123.91 ms/op 0.70
capella processEpoch - mainnet_e217614 1.9602 s/op 2.1879 s/op 0.90
mainnet_e217614 - capella beforeProcessEpoch 637.95 ms/op 554.04 ms/op 1.15
mainnet_e217614 - capella processJustificationAndFinalization 29.194 us/op 20.631 us/op 1.42
mainnet_e217614 - capella processInactivityUpdates 28.801 ms/op 20.145 ms/op 1.43
mainnet_e217614 - capella processRewardsAndPenalties 565.08 ms/op 403.73 ms/op 1.40
mainnet_e217614 - capella processRegistryUpdates 22.334 us/op 40.843 us/op 0.55
mainnet_e217614 - capella processSlashings 1.0030 us/op 1.0770 us/op 0.93
mainnet_e217614 - capella processEth1DataReset 636.00 ns/op 836.00 ns/op 0.76
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9454 ms/op 10.888 ms/op 0.36
mainnet_e217614 - capella processSlashingsReset 3.7840 us/op 4.3750 us/op 0.86
mainnet_e217614 - capella processRandaoMixesReset 4.9100 us/op 7.8210 us/op 0.63
mainnet_e217614 - capella processHistoricalRootsUpdate 803.00 ns/op 726.00 ns/op 1.11
mainnet_e217614 - capella processParticipationFlagUpdates 1.3270 us/op 2.9870 us/op 0.44
mainnet_e217614 - capella afterProcessEpoch 204.22 ms/op 315.34 ms/op 0.65
phase0 processEpoch - mainnet_e58758 472.18 ms/op 595.68 ms/op 0.79
mainnet_e58758 - phase0 beforeProcessEpoch 126.80 ms/op 192.11 ms/op 0.66
mainnet_e58758 - phase0 processJustificationAndFinalization 18.508 us/op 26.099 us/op 0.71
mainnet_e58758 - phase0 processRewardsAndPenalties 50.593 ms/op 59.971 ms/op 0.84
mainnet_e58758 - phase0 processRegistryUpdates 10.430 us/op 18.135 us/op 0.58
mainnet_e58758 - phase0 processSlashings 779.00 ns/op 844.00 ns/op 0.92
mainnet_e58758 - phase0 processEth1DataReset 581.00 ns/op 625.00 ns/op 0.93
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.4899 ms/op 2.1424 ms/op 0.70
mainnet_e58758 - phase0 processSlashingsReset 3.3500 us/op 4.4440 us/op 0.75
mainnet_e58758 - phase0 processRandaoMixesReset 6.4630 us/op 5.8200 us/op 1.11
mainnet_e58758 - phase0 processHistoricalRootsUpdate 892.00 ns/op 678.00 ns/op 1.32
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.8560 us/op 5.7710 us/op 1.01
mainnet_e58758 - phase0 afterProcessEpoch 70.692 ms/op 105.42 ms/op 0.67
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0942 ms/op 1.6423 ms/op 0.67
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.1712 ms/op 1.5094 ms/op 0.78
altair processInactivityUpdates - 250000 normalcase 21.582 ms/op 31.340 ms/op 0.69
altair processInactivityUpdates - 250000 worstcase 26.103 ms/op 33.571 ms/op 0.78
phase0 processRegistryUpdates - 250000 normalcase 10.348 us/op 16.009 us/op 0.65
phase0 processRegistryUpdates - 250000 badcase_full_deposits 473.98 us/op 468.49 us/op 1.01
phase0 processRegistryUpdates - 250000 worstcase 0.5 136.09 ms/op 179.33 ms/op 0.76
altair processRewardsAndPenalties - 250000 normalcase 52.441 ms/op 52.523 ms/op 1.00
altair processRewardsAndPenalties - 250000 worstcase 57.503 ms/op 66.929 ms/op 0.86
phase0 getAttestationDeltas - 250000 normalcase 9.2429 ms/op 11.117 ms/op 0.83
phase0 getAttestationDeltas - 250000 worstcase 6.6328 ms/op 11.901 ms/op 0.56
phase0 processSlashings - 250000 worstcase 93.001 us/op 169.56 us/op 0.55
altair processSyncCommitteeUpdates - 250000 129.86 ms/op 174.00 ms/op 0.75
BeaconState.hashTreeRoot - No change 451.00 ns/op 617.00 ns/op 0.73
BeaconState.hashTreeRoot - 1 full validator 119.07 us/op 153.32 us/op 0.78
BeaconState.hashTreeRoot - 32 full validator 1.1973 ms/op 1.6869 ms/op 0.71
BeaconState.hashTreeRoot - 512 full validator 17.024 ms/op 15.858 ms/op 1.07
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 193.78 us/op 175.09 us/op 1.11
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.0559 ms/op 2.4096 ms/op 1.27
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 30.329 ms/op 32.891 ms/op 0.92
BeaconState.hashTreeRoot - 1 balances 151.71 us/op 142.40 us/op 1.07
BeaconState.hashTreeRoot - 32 balances 1.3987 ms/op 1.3603 ms/op 1.03
BeaconState.hashTreeRoot - 512 balances 14.264 ms/op 14.248 ms/op 1.00
BeaconState.hashTreeRoot - 250000 balances 220.17 ms/op 235.65 ms/op 0.93
aggregationBits - 2048 els - zipIndexesInBitList 41.737 us/op 74.245 us/op 0.56
byteArrayEquals 32 64.762 ns/op 76.036 ns/op 0.85
Buffer.compare 32 37.762 ns/op 55.388 ns/op 0.68
byteArrayEquals 1024 1.6974 us/op 2.0712 us/op 0.82
Buffer.compare 1024 42.435 ns/op 72.473 ns/op 0.59
byteArrayEquals 16384 28.011 us/op 33.169 us/op 0.84
Buffer.compare 16384 237.32 ns/op 273.90 ns/op 0.87
byteArrayEquals 123687377 211.57 ms/op 256.50 ms/op 0.82
Buffer.compare 123687377 5.1439 ms/op 7.7967 ms/op 0.66
byteArrayEquals 32 - diff last byte 64.133 ns/op 74.538 ns/op 0.86
Buffer.compare 32 - diff last byte 39.735 ns/op 57.946 ns/op 0.69
byteArrayEquals 1024 - diff last byte 1.7475 us/op 2.0676 us/op 0.85
Buffer.compare 1024 - diff last byte 46.081 ns/op 73.595 ns/op 0.63
byteArrayEquals 16384 - diff last byte 28.276 us/op 32.891 us/op 0.86
Buffer.compare 16384 - diff last byte 224.62 ns/op 275.74 ns/op 0.81
byteArrayEquals 123687377 - diff last byte 214.45 ms/op 247.71 ms/op 0.87
Buffer.compare 123687377 - diff last byte 5.3194 ms/op 7.5059 ms/op 0.71
byteArrayEquals 32 - random bytes 4.6930 ns/op 5.7730 ns/op 0.81
Buffer.compare 32 - random bytes 43.148 ns/op 63.027 ns/op 0.68
byteArrayEquals 1024 - random bytes 4.6910 ns/op 5.6130 ns/op 0.84
Buffer.compare 1024 - random bytes 40.542 ns/op 65.038 ns/op 0.62
byteArrayEquals 16384 - random bytes 4.7030 ns/op 5.5370 ns/op 0.85
Buffer.compare 16384 - random bytes 40.864 ns/op 62.394 ns/op 0.65
byteArrayEquals 123687377 - random bytes 13.730 ns/op 8.8500 ns/op 1.55
Buffer.compare 123687377 - random bytes 49.460 ns/op 70.900 ns/op 0.70
regular array get 100000 times 41.654 us/op 46.523 us/op 0.90
wrappedArray get 100000 times 41.745 us/op 46.794 us/op 0.89
arrayWithProxy get 100000 times 11.137 ms/op 15.702 ms/op 0.71
ssz.Root.equals 55.875 ns/op 55.493 ns/op 1.01
byteArrayEquals 57.203 ns/op 54.322 ns/op 1.05
Buffer.compare 10.273 ns/op 11.991 ns/op 0.86
shuffle list - 16384 els 5.7474 ms/op 8.7131 ms/op 0.66
shuffle list - 250000 els 87.400 ms/op 128.06 ms/op 0.68
processSlot - 1 slots 12.176 us/op 17.999 us/op 0.68
processSlot - 32 slots 2.1671 ms/op 3.3857 ms/op 0.64
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 48.027 ms/op 62.116 ms/op 0.77
getCommitteeAssignments - req 1 vs - 250000 vc 2.4909 ms/op 2.7230 ms/op 0.91
getCommitteeAssignments - req 100 vs - 250000 vc 3.5999 ms/op 3.9411 ms/op 0.91
getCommitteeAssignments - req 1000 vs - 250000 vc 3.9113 ms/op 4.2980 ms/op 0.91
findModifiedValidators - 10000 modified validators 505.52 ms/op 539.19 ms/op 0.94
findModifiedValidators - 1000 modified validators 352.65 ms/op 440.87 ms/op 0.80
findModifiedValidators - 100 modified validators 395.03 ms/op 417.58 ms/op 0.95
findModifiedValidators - 10 modified validators 367.79 ms/op 435.50 ms/op 0.84
findModifiedValidators - 1 modified validators 324.27 ms/op 409.34 ms/op 0.79
findModifiedValidators - no difference 397.03 ms/op 400.07 ms/op 0.99
compare ViewDUs 4.8347 s/op 4.9477 s/op 0.98
compare each validator Uint8Array 1.8652 s/op 1.8725 s/op 1.00
compare ViewDU to Uint8Array 933.94 ms/op 1.1097 s/op 0.84
migrate state 1000000 validators, 24 modified, 0 new 776.23 ms/op 808.72 ms/op 0.96
migrate state 1000000 validators, 1700 modified, 1000 new 1.2315 s/op 1.0909 s/op 1.13
migrate state 1000000 validators, 3400 modified, 2000 new 1.2977 s/op 1.3499 s/op 0.96
migrate state 1500000 validators, 24 modified, 0 new 695.48 ms/op 807.25 ms/op 0.86
migrate state 1500000 validators, 1700 modified, 1000 new 981.54 ms/op 1.1809 s/op 0.83
migrate state 1500000 validators, 3400 modified, 2000 new 1.2874 s/op 1.4008 s/op 0.92
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.1800 ns/op 4.4100 ns/op 1.17
state getBlockRootAtSlot - 250000 vs - 7PWei 415.88 ns/op 878.96 ns/op 0.47
computeProposers - vc 250000 7.3310 ms/op 9.5050 ms/op 0.77
computeEpochShuffling - vc 250000 85.745 ms/op 121.76 ms/op 0.70
getNextSyncCommittee - vc 250000 127.79 ms/op 159.92 ms/op 0.80
computeSigningRoot for AttestationData 21.526 us/op 25.229 us/op 0.85
hash AttestationData serialized data then Buffer.toString(base64) 1.3536 us/op 2.3180 us/op 0.58
toHexString serialized data 789.29 ns/op 1.0993 us/op 0.72
Buffer.toString(base64) 171.13 ns/op 232.76 ns/op 0.74

by benchmarkbot/action

@wemeetagain
Copy link
Member

🎉 This PR is included in v1.18.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