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 stable v1.12.1 back to unstable #6184

Closed
wants to merge 1 commit into from

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Dec 13, 2023

Motivation

Merge stable back to unstable after v1.12.1 hotfix release, fix conflicts in #6183

Description

  • Create this branch from latest stable branch
  • git rebase origin/unstable

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Merging #6184 (11fbf1d) into unstable (5b38552) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6184   +/-   ##
=========================================
  Coverage     90.35%   90.35%           
=========================================
  Files            78       78           
  Lines          8087     8087           
  Branches        490      490           
=========================================
  Hits           7307     7307           
  Misses          772      772           
  Partials          8        8           

Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 277f1d5 Previous: 5b38552 Ratio
isKnown normal case - 2 super set checks 314.00 ns/op 944.00 ns/op 0.33
isKnown worse case - 16 super set checks 306.00 ns/op 975.00 ns/op 0.31
Full benchmark results
Benchmark suite Current: 277f1d5 Previous: 5b38552 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 569.24 us/op 932.15 us/op 0.61
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 89.031 us/op 86.614 us/op 1.03
BLS verify - blst-native 1.3300 ms/op 1.3151 ms/op 1.01
BLS verifyMultipleSignatures 3 - blst-native 2.7931 ms/op 2.7713 ms/op 1.01
BLS verifyMultipleSignatures 8 - blst-native 6.1423 ms/op 6.0851 ms/op 1.01
BLS verifyMultipleSignatures 32 - blst-native 22.481 ms/op 22.229 ms/op 1.01
BLS verifyMultipleSignatures 64 - blst-native 44.269 ms/op 43.862 ms/op 1.01
BLS verifyMultipleSignatures 128 - blst-native 87.847 ms/op 87.050 ms/op 1.01
BLS deserializing 10000 signatures 933.23 ms/op 951.59 ms/op 0.98
BLS deserializing 100000 signatures 9.4037 s/op 9.5707 s/op 0.98
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3218 ms/op 1.4022 ms/op 0.94
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.6056 ms/op 1.5838 ms/op 1.01
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.8382 ms/op 2.3935 ms/op 1.19
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.2148 ms/op 3.5470 ms/op 1.19
BLS verifyMultipleSignatures - same message - 128 - blst-native 7.6896 ms/op 5.7596 ms/op 1.34
BLS aggregatePubkeys 32 - blst-native 25.478 us/op 27.629 us/op 0.92
BLS aggregatePubkeys 128 - blst-native 99.738 us/op 104.40 us/op 0.96
getAttestationsForBlock 43.497 ms/op 64.518 ms/op 0.67
getSlashingsAndExits - default max 140.58 us/op 221.91 us/op 0.63
getSlashingsAndExits - 2k 334.50 us/op 656.30 us/op 0.51
proposeBlockBody type=full, size=empty 4.9757 ms/op 8.5499 ms/op 0.58
isKnown best case - 1 super set check 323.00 ns/op 827.00 ns/op 0.39
isKnown normal case - 2 super set checks 314.00 ns/op 944.00 ns/op 0.33
isKnown worse case - 16 super set checks 306.00 ns/op 975.00 ns/op 0.31
CheckpointStateCache - add get delete 5.6040 us/op 11.762 us/op 0.48
validate api signedAggregateAndProof - struct 2.7508 ms/op 3.5725 ms/op 0.77
validate gossip signedAggregateAndProof - struct 2.7524 ms/op 3.4506 ms/op 0.80
validate gossip attestation - vc 640000 1.3442 ms/op 1.6817 ms/op 0.80
batch validate gossip attestation - vc 640000 - chunk 32 158.86 us/op 228.52 us/op 0.70
batch validate gossip attestation - vc 640000 - chunk 64 139.26 us/op 190.55 us/op 0.73
batch validate gossip attestation - vc 640000 - chunk 128 131.12 us/op 178.05 us/op 0.74
batch validate gossip attestation - vc 640000 - chunk 256 125.58 us/op 185.02 us/op 0.68
pickEth1Vote - no votes 1.1357 ms/op 1.6067 ms/op 0.71
pickEth1Vote - max votes 8.8995 ms/op 22.843 ms/op 0.39
pickEth1Vote - Eth1Data hashTreeRoot value x2048 16.811 ms/op 22.926 ms/op 0.73
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.798 ms/op 44.056 ms/op 0.63
pickEth1Vote - Eth1Data fastSerialize value x2048 594.97 us/op 1.3324 ms/op 0.45
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.2767 ms/op 10.216 ms/op 0.71
bytes32 toHexString 485.00 ns/op 901.00 ns/op 0.54
bytes32 Buffer.toString(hex) 278.00 ns/op 326.00 ns/op 0.85
bytes32 Buffer.toString(hex) from Uint8Array 406.00 ns/op 642.00 ns/op 0.63
bytes32 Buffer.toString(hex) + 0x 279.00 ns/op 398.00 ns/op 0.70
Object access 1 prop 0.14900 ns/op 0.24200 ns/op 0.62
Map access 1 prop 0.13800 ns/op 0.16700 ns/op 0.83
Object get x1000 7.4070 ns/op 11.293 ns/op 0.66
Map get x1000 0.71900 ns/op 0.94700 ns/op 0.76
Object set x1000 48.616 ns/op 88.531 ns/op 0.55
Map set x1000 37.877 ns/op 60.020 ns/op 0.63
Return object 10000 times 0.23220 ns/op 0.32310 ns/op 0.72
Throw Error 10000 times 3.7746 us/op 4.8456 us/op 0.78
fastMsgIdFn sha256 / 200 bytes 3.2040 us/op 3.7560 us/op 0.85
fastMsgIdFn h32 xxhash / 200 bytes 264.00 ns/op 387.00 ns/op 0.68
fastMsgIdFn h64 xxhash / 200 bytes 327.00 ns/op 435.00 ns/op 0.75
fastMsgIdFn sha256 / 1000 bytes 11.137 us/op 12.859 us/op 0.87
fastMsgIdFn h32 xxhash / 1000 bytes 390.00 ns/op 532.00 ns/op 0.73
fastMsgIdFn h64 xxhash / 1000 bytes 401.00 ns/op 569.00 ns/op 0.70
fastMsgIdFn sha256 / 10000 bytes 101.75 us/op 113.77 us/op 0.89
fastMsgIdFn h32 xxhash / 10000 bytes 1.8810 us/op 2.2330 us/op 0.84
fastMsgIdFn h64 xxhash / 10000 bytes 1.2940 us/op 1.5240 us/op 0.85
send data - 1000 256B messages 18.292 ms/op 24.987 ms/op 0.73
send data - 1000 512B messages 25.355 ms/op 35.788 ms/op 0.71
send data - 1000 1024B messages 39.761 ms/op 53.098 ms/op 0.75
send data - 1000 1200B messages 36.991 ms/op 43.716 ms/op 0.85
send data - 1000 2048B messages 42.623 ms/op 55.710 ms/op 0.77
send data - 1000 4096B messages 42.173 ms/op 51.251 ms/op 0.82
send data - 1000 16384B messages 118.24 ms/op 146.14 ms/op 0.81
send data - 1000 65536B messages 453.44 ms/op 561.66 ms/op 0.81
enrSubnets - fastDeserialize 64 bits 1.2290 us/op 1.8860 us/op 0.65
enrSubnets - ssz BitVector 64 bits 420.00 ns/op 580.00 ns/op 0.72
enrSubnets - fastDeserialize 4 bits 163.00 ns/op 249.00 ns/op 0.65
enrSubnets - ssz BitVector 4 bits 415.00 ns/op 572.00 ns/op 0.73
prioritizePeers score -10:0 att 32-0.1 sync 2-0 98.009 us/op 131.19 us/op 0.75
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 123.28 us/op 170.04 us/op 0.72
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 157.22 us/op 218.03 us/op 0.72
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 283.73 us/op 373.13 us/op 0.76
prioritizePeers score 0:0 att 64-1 sync 4-1 341.32 us/op 404.64 us/op 0.84
array of 16000 items push then shift 1.6196 us/op 2.0347 us/op 0.80
LinkedList of 16000 items push then shift 8.8190 ns/op 13.272 ns/op 0.66
array of 16000 items push then pop 78.292 ns/op 138.33 ns/op 0.57
LinkedList of 16000 items push then pop 8.6090 ns/op 11.047 ns/op 0.78
array of 24000 items push then shift 2.4081 us/op 3.0447 us/op 0.79
LinkedList of 24000 items push then shift 8.7580 ns/op 11.850 ns/op 0.74
array of 24000 items push then pop 114.78 ns/op 181.55 ns/op 0.63
LinkedList of 24000 items push then pop 8.4670 ns/op 10.310 ns/op 0.82
intersect bitArray bitLen 8 6.4960 ns/op 8.1100 ns/op 0.80
intersect array and set length 8 60.478 ns/op 95.733 ns/op 0.63
intersect bitArray bitLen 128 33.107 ns/op 42.151 ns/op 0.79
intersect array and set length 128 836.42 ns/op 1.4963 us/op 0.56
bitArray.getTrueBitIndexes() bitLen 128 1.3770 us/op 2.0000 us/op 0.69
bitArray.getTrueBitIndexes() bitLen 248 2.3060 us/op 3.2500 us/op 0.71
bitArray.getTrueBitIndexes() bitLen 512 4.6520 us/op 6.7700 us/op 0.69
Buffer.concat 32 items 928.00 ns/op 1.2400 us/op 0.75
Uint8Array.set 32 items 1.8260 us/op 2.5490 us/op 0.72
Set add up to 64 items then delete first 4.2540 us/op 5.4530 us/op 0.78
OrderedSet add up to 64 items then delete first 5.3151 us/op 7.0902 us/op 0.75
Set add up to 64 items then delete last 4.5187 us/op 5.6814 us/op 0.80
OrderedSet add up to 64 items then delete last 5.6460 us/op 7.4495 us/op 0.76
Set add up to 64 items then delete middle 4.4857 us/op 5.6874 us/op 0.79
OrderedSet add up to 64 items then delete middle 6.8683 us/op 9.2359 us/op 0.74
Set add up to 128 items then delete first 9.1262 us/op 11.388 us/op 0.80
OrderedSet add up to 128 items then delete first 12.043 us/op 15.993 us/op 0.75
Set add up to 128 items then delete last 8.9841 us/op 11.150 us/op 0.81
OrderedSet add up to 128 items then delete last 11.352 us/op 14.938 us/op 0.76
Set add up to 128 items then delete middle 8.9800 us/op 11.199 us/op 0.80
OrderedSet add up to 128 items then delete middle 16.609 us/op 22.387 us/op 0.74
Set add up to 256 items then delete first 18.461 us/op 23.175 us/op 0.80
OrderedSet add up to 256 items then delete first 24.711 us/op 32.565 us/op 0.76
Set add up to 256 items then delete last 17.752 us/op 22.290 us/op 0.80
OrderedSet add up to 256 items then delete last 22.859 us/op 30.788 us/op 0.74
Set add up to 256 items then delete middle 17.902 us/op 22.471 us/op 0.80
OrderedSet add up to 256 items then delete middle 44.164 us/op 64.510 us/op 0.68
transfer serialized Status (84 B) 1.7910 us/op 2.1540 us/op 0.83
copy serialized Status (84 B) 1.4370 us/op 1.9080 us/op 0.75
transfer serialized SignedVoluntaryExit (112 B) 1.9660 us/op 2.3920 us/op 0.82
copy serialized SignedVoluntaryExit (112 B) 1.5760 us/op 2.0480 us/op 0.77
transfer serialized ProposerSlashing (416 B) 3.0750 us/op 3.3710 us/op 0.91
copy serialized ProposerSlashing (416 B) 2.9140 us/op 2.8290 us/op 1.03
transfer serialized Attestation (485 B) 3.1400 us/op 2.5000 us/op 1.26
copy serialized Attestation (485 B) 2.9580 us/op 3.1940 us/op 0.93
transfer serialized AttesterSlashing (33232 B) 2.9800 us/op 3.9060 us/op 0.76
copy serialized AttesterSlashing (33232 B) 6.1760 us/op 11.305 us/op 0.55
transfer serialized Small SignedBeaconBlock (128000 B) 3.1280 us/op 4.2780 us/op 0.73
copy serialized Small SignedBeaconBlock (128000 B) 14.609 us/op 29.960 us/op 0.49
transfer serialized Avg SignedBeaconBlock (200000 B) 3.4210 us/op 4.8380 us/op 0.71
copy serialized Avg SignedBeaconBlock (200000 B) 21.271 us/op 41.402 us/op 0.51
transfer serialized BlobsSidecar (524380 B) 3.1470 us/op 5.5290 us/op 0.57
copy serialized BlobsSidecar (524380 B) 85.696 us/op 114.18 us/op 0.75
transfer serialized Big SignedBeaconBlock (1000000 B) 3.2810 us/op 5.3170 us/op 0.62
copy serialized Big SignedBeaconBlock (1000000 B) 150.77 us/op 282.87 us/op 0.53
pass gossip attestations to forkchoice per slot 3.7685 ms/op 4.7426 ms/op 0.79
forkChoice updateHead vc 100000 bc 64 eq 0 707.85 us/op 807.76 us/op 0.88
forkChoice updateHead vc 600000 bc 64 eq 0 4.6828 ms/op 5.4307 ms/op 0.86
forkChoice updateHead vc 1000000 bc 64 eq 0 6.9073 ms/op 8.7898 ms/op 0.79
forkChoice updateHead vc 600000 bc 320 eq 0 4.1212 ms/op 4.7427 ms/op 0.87
forkChoice updateHead vc 600000 bc 1200 eq 0 4.2898 ms/op 5.1588 ms/op 0.83
forkChoice updateHead vc 600000 bc 7200 eq 0 5.4061 ms/op 6.4337 ms/op 0.84
forkChoice updateHead vc 600000 bc 64 eq 1000 11.086 ms/op 11.983 ms/op 0.93
forkChoice updateHead vc 600000 bc 64 eq 10000 11.740 ms/op 12.771 ms/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 300000 15.733 ms/op 21.058 ms/op 0.75
computeDeltas 500000 validators 300 proto nodes 6.6978 ms/op 7.1816 ms/op 0.93
computeDeltas 500000 validators 1200 proto nodes 6.6251 ms/op 7.0424 ms/op 0.94
computeDeltas 500000 validators 7200 proto nodes 6.5859 ms/op 7.2540 ms/op 0.91
computeDeltas 750000 validators 300 proto nodes 9.8757 ms/op 10.221 ms/op 0.97
computeDeltas 750000 validators 1200 proto nodes 9.7661 ms/op 9.9537 ms/op 0.98
computeDeltas 750000 validators 7200 proto nodes 9.7878 ms/op 10.001 ms/op 0.98
computeDeltas 1400000 validators 300 proto nodes 19.246 ms/op 19.532 ms/op 0.99
computeDeltas 1400000 validators 1200 proto nodes 18.776 ms/op 18.793 ms/op 1.00
computeDeltas 1400000 validators 7200 proto nodes 18.826 ms/op 18.960 ms/op 0.99
computeDeltas 2100000 validators 300 proto nodes 27.988 ms/op 29.108 ms/op 0.96
computeDeltas 2100000 validators 1200 proto nodes 28.215 ms/op 28.905 ms/op 0.98
computeDeltas 2100000 validators 7200 proto nodes 28.551 ms/op 27.762 ms/op 1.03
computeProposerBoostScoreFromBalances 500000 validators 3.6724 ms/op 3.7147 ms/op 0.99
computeProposerBoostScoreFromBalances 750000 validators 3.6722 ms/op 3.6592 ms/op 1.00
computeProposerBoostScoreFromBalances 1400000 validators 3.6680 ms/op 3.6755 ms/op 1.00
computeProposerBoostScoreFromBalances 2100000 validators 3.6780 ms/op 3.7356 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.2196 ms/op 2.4304 ms/op 0.91
altair processAttestation - 250000 vs - 7PWei worstcase 3.2463 ms/op 3.2969 ms/op 0.98
altair processAttestation - setStatus - 1/6 committees join 177.61 us/op 183.17 us/op 0.97
altair processAttestation - setStatus - 1/3 committees join 339.32 us/op 364.61 us/op 0.93
altair processAttestation - setStatus - 1/2 committees join 459.14 us/op 488.87 us/op 0.94
altair processAttestation - setStatus - 2/3 committees join 586.82 us/op 613.58 us/op 0.96
altair processAttestation - setStatus - 4/5 committees join 780.89 us/op 838.98 us/op 0.93
altair processAttestation - setStatus - 100% committees join 918.48 us/op 1.0222 ms/op 0.90
altair processBlock - 250000 vs - 7PWei normalcase 9.6896 ms/op 10.659 ms/op 0.91
altair processBlock - 250000 vs - 7PWei normalcase hashState 32.039 ms/op 36.966 ms/op 0.87
altair processBlock - 250000 vs - 7PWei worstcase 36.463 ms/op 42.295 ms/op 0.86
altair processBlock - 250000 vs - 7PWei worstcase hashState 89.773 ms/op 98.542 ms/op 0.91
phase0 processBlock - 250000 vs - 7PWei normalcase 2.5548 ms/op 3.5061 ms/op 0.73
phase0 processBlock - 250000 vs - 7PWei worstcase 30.262 ms/op 35.706 ms/op 0.85
altair processEth1Data - 250000 vs - 7PWei normalcase 569.18 us/op 798.52 us/op 0.71
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.580 us/op 14.486 us/op 0.73
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 59.805 us/op 100.66 us/op 0.59
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 10.592 us/op 14.683 us/op 0.72
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 9.3100 us/op 15.764 us/op 0.59
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 160.10 us/op 187.24 us/op 0.86
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4103 ms/op 1.6044 ms/op 0.88
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.5564 ms/op 2.1537 ms/op 0.72
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.8758 ms/op 2.2204 ms/op 0.84
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.1273 ms/op 4.1355 ms/op 1.00
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2341 ms/op 3.1831 ms/op 0.70
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.2821 ms/op 8.3333 ms/op 0.63
Tree 40 250000 create 344.42 ms/op 458.48 ms/op 0.75
Tree 40 250000 get(125000) 194.37 ns/op 251.89 ns/op 0.77
Tree 40 250000 set(125000) 1.0361 us/op 1.3007 us/op 0.80
Tree 40 250000 toArray() 18.527 ms/op 25.533 ms/op 0.73
Tree 40 250000 iterate all - toArray() + loop 18.853 ms/op 25.508 ms/op 0.74
Tree 40 250000 iterate all - get(i) 66.331 ms/op 82.815 ms/op 0.80
MutableVector 250000 create 13.307 ms/op 15.895 ms/op 0.84
MutableVector 250000 get(125000) 6.3930 ns/op 7.3430 ns/op 0.87
MutableVector 250000 set(125000) 269.58 ns/op 403.02 ns/op 0.67
MutableVector 250000 toArray() 3.2680 ms/op 4.7973 ms/op 0.68
MutableVector 250000 iterate all - toArray() + loop 3.1796 ms/op 5.3797 ms/op 0.59
MutableVector 250000 iterate all - get(i) 1.5139 ms/op 1.7012 ms/op 0.89
Array 250000 create 4.5018 ms/op 6.6008 ms/op 0.68
Array 250000 clone - spread 1.2455 ms/op 1.4444 ms/op 0.86
Array 250000 get(125000) 1.0300 ns/op 1.3720 ns/op 0.75
Array 250000 set(125000) 4.1010 ns/op 5.1930 ns/op 0.79
Array 250000 iterate all - loop 164.23 us/op 181.04 us/op 0.91
effectiveBalanceIncrements clone Uint8Array 300000 26.019 us/op 46.645 us/op 0.56
effectiveBalanceIncrements clone MutableVector 300000 352.00 ns/op 424.00 ns/op 0.83
effectiveBalanceIncrements rw all Uint8Array 300000 197.01 us/op 241.19 us/op 0.82
effectiveBalanceIncrements rw all MutableVector 300000 82.179 ms/op 119.37 ms/op 0.69
phase0 afterProcessEpoch - 250000 vs - 7PWei 111.00 ms/op 136.68 ms/op 0.81
phase0 beforeProcessEpoch - 250000 vs - 7PWei 49.962 ms/op 68.890 ms/op 0.73
altair processEpoch - mainnet_e81889 489.09 ms/op 591.79 ms/op 0.83
mainnet_e81889 - altair beforeProcessEpoch 81.533 ms/op 95.287 ms/op 0.86
mainnet_e81889 - altair processJustificationAndFinalization 14.421 us/op 18.900 us/op 0.76
mainnet_e81889 - altair processInactivityUpdates 5.6918 ms/op 6.6314 ms/op 0.86
mainnet_e81889 - altair processRewardsAndPenalties 62.507 ms/op 66.334 ms/op 0.94
mainnet_e81889 - altair processRegistryUpdates 2.4550 us/op 3.3880 us/op 0.72
mainnet_e81889 - altair processSlashings 428.00 ns/op 514.00 ns/op 0.83
mainnet_e81889 - altair processEth1DataReset 436.00 ns/op 788.00 ns/op 0.55
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4303 ms/op 1.8391 ms/op 0.78
mainnet_e81889 - altair processSlashingsReset 3.9530 us/op 4.8620 us/op 0.81
mainnet_e81889 - altair processRandaoMixesReset 3.9930 us/op 12.066 us/op 0.33
mainnet_e81889 - altair processHistoricalRootsUpdate 737.00 ns/op 1.5030 us/op 0.49
mainnet_e81889 - altair processParticipationFlagUpdates 1.9730 us/op 4.4890 us/op 0.44
mainnet_e81889 - altair processSyncCommitteeUpdates 671.00 ns/op 1.1500 us/op 0.58
mainnet_e81889 - altair afterProcessEpoch 116.81 ms/op 129.21 ms/op 0.90
capella processEpoch - mainnet_e217614 2.0841 s/op 2.5908 s/op 0.80
mainnet_e217614 - capella beforeProcessEpoch 538.58 ms/op 593.81 ms/op 0.91
mainnet_e217614 - capella processJustificationAndFinalization 16.688 us/op 21.988 us/op 0.76
mainnet_e217614 - capella processInactivityUpdates 19.149 ms/op 23.352 ms/op 0.82
mainnet_e217614 - capella processRewardsAndPenalties 439.41 ms/op 473.93 ms/op 0.93
mainnet_e217614 - capella processRegistryUpdates 45.294 us/op 30.320 us/op 1.49
mainnet_e217614 - capella processSlashings 1.0350 us/op 1.0440 us/op 0.99
mainnet_e217614 - capella processEth1DataReset 1.4790 us/op 1.0010 us/op 1.48
mainnet_e217614 - capella processEffectiveBalanceUpdates 16.046 ms/op 5.7846 ms/op 2.77
mainnet_e217614 - capella processSlashingsReset 7.8860 us/op 5.5000 us/op 1.43
mainnet_e217614 - capella processRandaoMixesReset 13.223 us/op 6.9300 us/op 1.91
mainnet_e217614 - capella processHistoricalRootsUpdate 2.0380 us/op 942.00 ns/op 2.16
mainnet_e217614 - capella processParticipationFlagUpdates 4.6710 us/op 2.6670 us/op 1.75
mainnet_e217614 - capella afterProcessEpoch 365.75 ms/op 328.28 ms/op 1.11
phase0 processEpoch - mainnet_e58758 812.30 ms/op 578.85 ms/op 1.40
mainnet_e58758 - phase0 beforeProcessEpoch 257.77 ms/op 161.61 ms/op 1.60
mainnet_e58758 - phase0 processJustificationAndFinalization 36.143 us/op 29.823 us/op 1.21
mainnet_e58758 - phase0 processRewardsAndPenalties 67.419 ms/op 68.431 ms/op 0.99
mainnet_e58758 - phase0 processRegistryUpdates 27.531 us/op 13.691 us/op 2.01
mainnet_e58758 - phase0 processSlashings 883.00 ns/op 869.00 ns/op 1.02
mainnet_e58758 - phase0 processEth1DataReset 740.00 ns/op 915.00 ns/op 0.81
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3131 ms/op 2.2840 ms/op 0.57
mainnet_e58758 - phase0 processSlashingsReset 7.2120 us/op 6.5480 us/op 1.10
mainnet_e58758 - phase0 processRandaoMixesReset 10.610 us/op 7.9370 us/op 1.34
mainnet_e58758 - phase0 processHistoricalRootsUpdate 782.00 ns/op 938.00 ns/op 0.83
mainnet_e58758 - phase0 processParticipationRecordUpdates 12.540 us/op 7.5840 us/op 1.65
mainnet_e58758 - phase0 afterProcessEpoch 101.69 ms/op 107.26 ms/op 0.95
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.7887 ms/op 1.6759 ms/op 1.07
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.0164 ms/op 1.9032 ms/op 1.06
altair processInactivityUpdates - 250000 normalcase 45.944 ms/op 33.473 ms/op 1.37
altair processInactivityUpdates - 250000 worstcase 62.089 ms/op 39.986 ms/op 1.55
phase0 processRegistryUpdates - 250000 normalcase 16.016 us/op 16.841 us/op 0.95
phase0 processRegistryUpdates - 250000 badcase_full_deposits 687.04 us/op 546.37 us/op 1.26
phase0 processRegistryUpdates - 250000 worstcase 0.5 197.11 ms/op 203.20 ms/op 0.97
altair processRewardsAndPenalties - 250000 normalcase 73.949 ms/op 72.340 ms/op 1.02
altair processRewardsAndPenalties - 250000 worstcase 63.498 ms/op 70.397 ms/op 0.90
phase0 getAttestationDeltas - 250000 normalcase 11.190 ms/op 12.451 ms/op 0.90
phase0 getAttestationDeltas - 250000 worstcase 9.9791 ms/op 12.005 ms/op 0.83
phase0 processSlashings - 250000 worstcase 101.44 us/op 147.32 us/op 0.69
altair processSyncCommitteeUpdates - 250000 167.88 ms/op 192.44 ms/op 0.87
BeaconState.hashTreeRoot - No change 243.00 ns/op 292.00 ns/op 0.83
BeaconState.hashTreeRoot - 1 full validator 140.16 us/op 172.66 us/op 0.81
BeaconState.hashTreeRoot - 32 full validator 1.6143 ms/op 1.9534 ms/op 0.83
BeaconState.hashTreeRoot - 512 full validator 16.766 ms/op 21.015 ms/op 0.80
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 174.52 us/op 200.56 us/op 0.87
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.4017 ms/op 2.6076 ms/op 1.30
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 32.036 ms/op 39.284 ms/op 0.82
BeaconState.hashTreeRoot - 1 balances 156.80 us/op 208.54 us/op 0.75
BeaconState.hashTreeRoot - 32 balances 1.5064 ms/op 1.5426 ms/op 0.98
BeaconState.hashTreeRoot - 512 balances 18.025 ms/op 17.568 ms/op 1.03
BeaconState.hashTreeRoot - 250000 balances 249.35 ms/op 296.87 ms/op 0.84
aggregationBits - 2048 els - zipIndexesInBitList 25.840 us/op 30.641 us/op 0.84
byteArrayEquals 32 76.680 ns/op 83.219 ns/op 0.92
Buffer.compare 32 56.807 ns/op 66.228 ns/op 0.86
byteArrayEquals 1024 2.0985 us/op 2.2442 us/op 0.94
Buffer.compare 1024 72.417 ns/op 81.026 ns/op 0.89
byteArrayEquals 16384 33.302 us/op 37.711 us/op 0.88
Buffer.compare 16384 267.56 ns/op 313.27 ns/op 0.85
byteArrayEquals 123687377 255.28 ms/op 279.87 ms/op 0.91
Buffer.compare 123687377 6.4733 ms/op 9.3687 ms/op 0.69
byteArrayEquals 32 - diff last byte 71.202 ns/op 90.964 ns/op 0.78
Buffer.compare 32 - diff last byte 57.641 ns/op 70.334 ns/op 0.82
byteArrayEquals 1024 - diff last byte 2.0298 us/op 2.3162 us/op 0.88
Buffer.compare 1024 - diff last byte 73.431 ns/op 77.442 ns/op 0.95
byteArrayEquals 16384 - diff last byte 32.302 us/op 37.416 us/op 0.86
Buffer.compare 16384 - diff last byte 277.45 ns/op 288.06 ns/op 0.96
byteArrayEquals 123687377 - diff last byte 249.24 ms/op 283.64 ms/op 0.88
Buffer.compare 123687377 - diff last byte 7.7559 ms/op 9.3080 ms/op 0.83
byteArrayEquals 32 - random bytes 5.7410 ns/op 7.6990 ns/op 0.75
Buffer.compare 32 - random bytes 62.545 ns/op 66.309 ns/op 0.94
byteArrayEquals 1024 - random bytes 5.5240 ns/op 6.2590 ns/op 0.88
Buffer.compare 1024 - random bytes 61.472 ns/op 65.224 ns/op 0.94
byteArrayEquals 16384 - random bytes 7.5940 ns/op 6.6930 ns/op 1.13
Buffer.compare 16384 - random bytes 61.062 ns/op 68.291 ns/op 0.89
byteArrayEquals 123687377 - random bytes 8.8100 ns/op 11.000 ns/op 0.80
Buffer.compare 123687377 - random bytes 70.300 ns/op 78.280 ns/op 0.90
regular array get 100000 times 46.013 us/op 48.262 us/op 0.95
wrappedArray get 100000 times 45.628 us/op 51.803 us/op 0.88
arrayWithProxy get 100000 times 14.852 ms/op 15.492 ms/op 0.96
ssz.Root.equals 56.878 ns/op 61.284 ns/op 0.93
byteArrayEquals 53.317 ns/op 58.730 ns/op 0.91
Buffer.compare 11.340 ns/op 12.833 ns/op 0.88
shuffle list - 16384 els 7.2007 ms/op 7.4544 ms/op 0.97
shuffle list - 250000 els 106.43 ms/op 113.49 ms/op 0.94
processSlot - 1 slots 16.445 us/op 18.158 us/op 0.91
processSlot - 32 slots 3.2304 ms/op 3.4751 ms/op 0.93
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 58.146 ms/op 65.219 ms/op 0.89
getCommitteeAssignments - req 1 vs - 250000 vc 2.5889 ms/op 2.7381 ms/op 0.95
getCommitteeAssignments - req 100 vs - 250000 vc 3.7707 ms/op 3.9731 ms/op 0.95
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1999 ms/op 4.2587 ms/op 0.99
findModifiedValidators - 10000 modified validators 553.55 ms/op 619.21 ms/op 0.89
findModifiedValidators - 1000 modified validators 427.57 ms/op 542.71 ms/op 0.79
findModifiedValidators - 100 modified validators 404.84 ms/op 511.65 ms/op 0.79
findModifiedValidators - 10 modified validators 406.07 ms/op 445.13 ms/op 0.91
findModifiedValidators - 1 modified validators 397.62 ms/op 482.17 ms/op 0.82
findModifiedValidators - no difference 425.56 ms/op 441.80 ms/op 0.96
compare ViewDUs 4.2925 s/op 5.2441 s/op 0.82
compare each validator Uint8Array 1.2447 s/op 1.9878 s/op 0.63
compare ViewDU to Uint8Array 1.1003 s/op 1.5111 s/op 0.73
migrate state 1000000 validators, 24 modified, 0 new 742.15 ms/op 954.03 ms/op 0.78
migrate state 1000000 validators, 1700 modified, 1000 new 1.0275 s/op 1.1908 s/op 0.86
migrate state 1000000 validators, 3400 modified, 2000 new 1.2804 s/op 1.4348 s/op 0.89
migrate state 1500000 validators, 24 modified, 0 new 758.59 ms/op 891.84 ms/op 0.85
migrate state 1500000 validators, 1700 modified, 1000 new 1.0055 s/op 1.2043 s/op 0.83
migrate state 1500000 validators, 3400 modified, 2000 new 1.2572 s/op 1.4378 s/op 0.87
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.2500 ns/op 5.6800 ns/op 0.75
state getBlockRootAtSlot - 250000 vs - 7PWei 916.47 ns/op 661.81 ns/op 1.38
computeProposers - vc 250000 9.7659 ms/op 9.8008 ms/op 1.00
computeEpochShuffling - vc 250000 103.80 ms/op 113.09 ms/op 0.92
getNextSyncCommittee - vc 250000 158.36 ms/op 174.18 ms/op 0.91
computeSigningRoot for AttestationData 28.967 us/op 30.813 us/op 0.94
hash AttestationData serialized data then Buffer.toString(base64) 2.3276 us/op 2.4742 us/op 0.94
toHexString serialized data 1.0479 us/op 1.3592 us/op 0.77
Buffer.toString(base64) 228.74 ns/op 273.97 ns/op 0.83

by benchmarkbot/action

@twoeths twoeths marked this pull request as ready for review December 13, 2023 06:44
@twoeths twoeths requested a review from a team as a code owner December 13, 2023 06:44
Copy link
Member

@nflaig nflaig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This branch does not really merge stable back to unstable it just bumps the versions, are we fine with that and will just merge back stable to unstable with v1.13?

@twoeths twoeths deleted the tuyen/stable_v1.12.1 branch December 14, 2023 01:21
@twoeths
Copy link
Contributor Author

twoeths commented Dec 14, 2023

I resolved the conflict by doing a rebase which is not correct, need to merge manually to resolve conflicts instead

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.

5 participants