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

feat: update c-kzg and use official trusted setup #6055

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Oct 20, 2023

update trusted setup to use the offical one

@g11tech g11tech requested a review from a team as a code owner October 20, 2023 11:19
@g11tech g11tech changed the title feat: update c-kzg use official trusted setup feat: update c-kzg and use official trusted setup Oct 20, 2023
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 1d23c32 Previous: c50db8f Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 608.95 us/op 743.51 us/op 0.82
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 78.280 us/op 99.374 us/op 0.79
BLS verify - blst-native 1.3062 ms/op 1.3228 ms/op 0.99
BLS verifyMultipleSignatures 3 - blst-native 2.7465 ms/op 2.8666 ms/op 0.96
BLS verifyMultipleSignatures 8 - blst-native 6.0262 ms/op 6.3445 ms/op 0.95
BLS verifyMultipleSignatures 32 - blst-native 22.025 ms/op 23.040 ms/op 0.96
BLS verifyMultipleSignatures 64 - blst-native 43.422 ms/op 46.305 ms/op 0.94
BLS verifyMultipleSignatures 128 - blst-native 86.170 ms/op 97.284 ms/op 0.89
BLS deserializing 10000 signatures 886.16 ms/op 978.06 ms/op 0.91
BLS deserializing 100000 signatures 8.7862 s/op 10.045 s/op 0.87
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3091 ms/op 1.4331 ms/op 0.91
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4762 ms/op 1.5968 ms/op 0.92
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2747 ms/op 2.5968 ms/op 0.88
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.2102 ms/op 3.6750 ms/op 0.87
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.2544 ms/op 5.8244 ms/op 0.90
BLS aggregatePubkeys 32 - blst-native 23.960 us/op 27.043 us/op 0.89
BLS aggregatePubkeys 128 - blst-native 94.246 us/op 107.15 us/op 0.88
getAttestationsForBlock 36.003 ms/op 51.546 ms/op 0.70
isKnown best case - 1 super set check 271.00 ns/op 563.00 ns/op 0.48
isKnown normal case - 2 super set checks 256.00 ns/op 474.00 ns/op 0.54
isKnown worse case - 16 super set checks 267.00 ns/op 549.00 ns/op 0.49
CheckpointStateCache - add get delete 4.7460 us/op 6.3880 us/op 0.74
validate api signedAggregateAndProof - struct 2.7517 ms/op 3.1252 ms/op 0.88
validate gossip signedAggregateAndProof - struct 2.7510 ms/op 3.0455 ms/op 0.90
validate gossip attestation - vc 640000 1.3398 ms/op 1.5191 ms/op 0.88
batch validate gossip attestation - vc 640000 - chunk 32 157.49 us/op 179.94 us/op 0.88
batch validate gossip attestation - vc 640000 - chunk 64 136.59 us/op 161.85 us/op 0.84
batch validate gossip attestation - vc 640000 - chunk 128 126.01 us/op 142.40 us/op 0.88
batch validate gossip attestation - vc 640000 - chunk 256 122.09 us/op 142.08 us/op 0.86
pickEth1Vote - no votes 1.1077 ms/op 1.3145 ms/op 0.84
pickEth1Vote - max votes 9.2699 ms/op 12.961 ms/op 0.72
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.729 ms/op 25.065 ms/op 0.71
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 25.768 ms/op 31.565 ms/op 0.82
pickEth1Vote - Eth1Data fastSerialize value x2048 539.03 us/op 672.13 us/op 0.80
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.7931 ms/op 8.0820 ms/op 0.84
bytes32 toHexString 460.00 ns/op 510.00 ns/op 0.90
bytes32 Buffer.toString(hex) 275.00 ns/op 308.00 ns/op 0.89
bytes32 Buffer.toString(hex) from Uint8Array 394.00 ns/op 479.00 ns/op 0.82
bytes32 Buffer.toString(hex) + 0x 274.00 ns/op 298.00 ns/op 0.92
Object access 1 prop 0.14300 ns/op 0.15500 ns/op 0.92
Map access 1 prop 0.13700 ns/op 0.14900 ns/op 0.92
Object get x1000 7.2630 ns/op 7.3800 ns/op 0.98
Map get x1000 0.57300 ns/op 0.64300 ns/op 0.89
Object set x1000 45.353 ns/op 53.072 ns/op 0.85
Map set x1000 36.024 ns/op 40.881 ns/op 0.88
Return object 10000 times 0.22530 ns/op 0.25660 ns/op 0.88
Throw Error 10000 times 3.6516 us/op 4.0287 us/op 0.91
fastMsgIdFn sha256 / 200 bytes 3.0180 us/op 3.4530 us/op 0.87
fastMsgIdFn h32 xxhash / 200 bytes 247.00 ns/op 304.00 ns/op 0.81
fastMsgIdFn h64 xxhash / 200 bytes 314.00 ns/op 360.00 ns/op 0.87
fastMsgIdFn sha256 / 1000 bytes 10.557 us/op 11.765 us/op 0.90
fastMsgIdFn h32 xxhash / 1000 bytes 368.00 ns/op 440.00 ns/op 0.84
fastMsgIdFn h64 xxhash / 1000 bytes 381.00 ns/op 437.00 ns/op 0.87
fastMsgIdFn sha256 / 10000 bytes 96.668 us/op 109.05 us/op 0.89
fastMsgIdFn h32 xxhash / 10000 bytes 1.7470 us/op 2.0110 us/op 0.87
fastMsgIdFn h64 xxhash / 10000 bytes 1.2080 us/op 1.3960 us/op 0.87
send data - 1000 256B messages 17.012 ms/op 21.821 ms/op 0.78
send data - 1000 512B messages 24.743 ms/op 27.849 ms/op 0.89
send data - 1000 1024B messages 38.630 ms/op 43.151 ms/op 0.90
send data - 1000 1200B messages 21.669 ms/op 26.901 ms/op 0.81
send data - 1000 2048B messages 22.697 ms/op 34.104 ms/op 0.67
send data - 1000 4096B messages 31.838 ms/op 27.355 ms/op 1.16
send data - 1000 16384B messages 72.490 ms/op 83.014 ms/op 0.87
send data - 1000 65536B messages 287.72 ms/op 331.19 ms/op 0.87
enrSubnets - fastDeserialize 64 bits 1.1320 us/op 1.3380 us/op 0.85
enrSubnets - ssz BitVector 64 bits 393.00 ns/op 458.00 ns/op 0.86
enrSubnets - fastDeserialize 4 bits 161.00 ns/op 178.00 ns/op 0.90
enrSubnets - ssz BitVector 4 bits 407.00 ns/op 419.00 ns/op 0.97
prioritizePeers score -10:0 att 32-0.1 sync 2-0 97.180 us/op 117.02 us/op 0.83
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 117.57 us/op 132.06 us/op 0.89
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 150.80 us/op 177.68 us/op 0.85
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 305.33 us/op 320.45 us/op 0.95
prioritizePeers score 0:0 att 64-1 sync 4-1 340.71 us/op 376.75 us/op 0.90
array of 16000 items push then shift 1.6245 us/op 1.7322 us/op 0.94
LinkedList of 16000 items push then shift 8.9060 ns/op 9.7540 ns/op 0.91
array of 16000 items push then pop 79.648 ns/op 99.412 ns/op 0.80
LinkedList of 16000 items push then pop 8.6490 ns/op 9.3310 ns/op 0.93
array of 24000 items push then shift 2.3780 us/op 2.5993 us/op 0.91
LinkedList of 24000 items push then shift 8.7670 ns/op 9.9740 ns/op 0.88
array of 24000 items push then pop 88.875 ns/op 119.84 ns/op 0.74
LinkedList of 24000 items push then pop 8.5180 ns/op 10.095 ns/op 0.84
intersect bitArray bitLen 8 6.4180 ns/op 7.5030 ns/op 0.86
intersect array and set length 8 52.628 ns/op 58.844 ns/op 0.89
intersect bitArray bitLen 128 32.369 ns/op 34.053 ns/op 0.95
intersect array and set length 128 720.37 ns/op 775.17 ns/op 0.93
bitArray.getTrueBitIndexes() bitLen 128 1.4840 us/op 1.5790 us/op 0.94
bitArray.getTrueBitIndexes() bitLen 248 2.3770 us/op 2.4500 us/op 0.97
bitArray.getTrueBitIndexes() bitLen 512 4.6830 us/op 4.6990 us/op 1.00
Buffer.concat 32 items 916.00 ns/op 964.00 ns/op 0.95
Uint8Array.set 32 items 2.0720 us/op 1.8340 us/op 1.13
Set add up to 64 items then delete first 4.2354 us/op 4.3875 us/op 0.97
OrderedSet add up to 64 items then delete first 5.2823 us/op 5.5693 us/op 0.95
Set add up to 64 items then delete last 4.5301 us/op 4.7947 us/op 0.94
OrderedSet add up to 64 items then delete last 5.5845 us/op 5.9961 us/op 0.93
Set add up to 64 items then delete middle 4.4869 us/op 4.6329 us/op 0.97
OrderedSet add up to 64 items then delete middle 6.8637 us/op 7.9608 us/op 0.86
Set add up to 128 items then delete first 9.1357 us/op 9.7027 us/op 0.94
OrderedSet add up to 128 items then delete first 11.933 us/op 11.919 us/op 1.00
Set add up to 128 items then delete last 8.9452 us/op 9.7310 us/op 0.92
OrderedSet add up to 128 items then delete last 11.176 us/op 13.121 us/op 0.85
Set add up to 128 items then delete middle 8.7925 us/op 9.8248 us/op 0.89
OrderedSet add up to 128 items then delete middle 16.605 us/op 19.424 us/op 0.85
Set add up to 256 items then delete first 18.400 us/op 20.246 us/op 0.91
OrderedSet add up to 256 items then delete first 24.280 us/op 26.352 us/op 0.92
Set add up to 256 items then delete last 17.767 us/op 20.085 us/op 0.88
OrderedSet add up to 256 items then delete last 22.542 us/op 25.225 us/op 0.89
Set add up to 256 items then delete middle 17.614 us/op 19.119 us/op 0.92
OrderedSet add up to 256 items then delete middle 43.832 us/op 49.440 us/op 0.89
transfer serialized Status (84 B) 1.8630 us/op 1.9900 us/op 0.94
copy serialized Status (84 B) 1.5280 us/op 1.7950 us/op 0.85
transfer serialized SignedVoluntaryExit (112 B) 2.0010 us/op 2.3140 us/op 0.86
copy serialized SignedVoluntaryExit (112 B) 1.6290 us/op 1.8900 us/op 0.86
transfer serialized ProposerSlashing (416 B) 2.3300 us/op 3.2200 us/op 0.72
copy serialized ProposerSlashing (416 B) 2.3970 us/op 2.8170 us/op 0.85
transfer serialized Attestation (485 B) 2.4020 us/op 3.1200 us/op 0.77
copy serialized Attestation (485 B) 2.0970 us/op 2.7990 us/op 0.75
transfer serialized AttesterSlashing (33232 B) 2.5380 us/op 3.2030 us/op 0.79
copy serialized AttesterSlashing (33232 B) 5.4820 us/op 7.7170 us/op 0.71
transfer serialized Small SignedBeaconBlock (128000 B) 2.7760 us/op 3.1960 us/op 0.87
copy serialized Small SignedBeaconBlock (128000 B) 11.475 us/op 23.446 us/op 0.49
transfer serialized Avg SignedBeaconBlock (200000 B) 3.2080 us/op 3.3850 us/op 0.95
copy serialized Avg SignedBeaconBlock (200000 B) 18.093 us/op 29.793 us/op 0.61
transfer serialized BlobsSidecar (524380 B) 3.2710 us/op 3.2100 us/op 1.02
copy serialized BlobsSidecar (524380 B) 116.55 us/op 109.86 us/op 1.06
transfer serialized Big SignedBeaconBlock (1000000 B) 3.3810 us/op 3.7270 us/op 0.91
copy serialized Big SignedBeaconBlock (1000000 B) 164.89 us/op 222.61 us/op 0.74
pass gossip attestations to forkchoice per slot 3.7885 ms/op 3.9663 ms/op 0.96
forkChoice updateHead vc 100000 bc 64 eq 0 665.30 us/op 693.93 us/op 0.96
forkChoice updateHead vc 600000 bc 64 eq 0 4.4959 ms/op 6.2981 ms/op 0.71
forkChoice updateHead vc 1000000 bc 64 eq 0 7.3428 ms/op 7.6762 ms/op 0.96
forkChoice updateHead vc 600000 bc 320 eq 0 4.2486 ms/op 4.6130 ms/op 0.92
forkChoice updateHead vc 600000 bc 1200 eq 0 4.4913 ms/op 4.6000 ms/op 0.98
forkChoice updateHead vc 600000 bc 7200 eq 0 5.3465 ms/op 5.9517 ms/op 0.90
forkChoice updateHead vc 600000 bc 64 eq 1000 11.435 ms/op 11.863 ms/op 0.96
forkChoice updateHead vc 600000 bc 64 eq 10000 13.231 ms/op 12.754 ms/op 1.04
forkChoice updateHead vc 600000 bc 64 eq 300000 15.638 ms/op 17.416 ms/op 0.90
computeDeltas 500000 validators 300 proto nodes 6.3268 ms/op 6.7642 ms/op 0.94
computeDeltas 500000 validators 1200 proto nodes 6.2062 ms/op 6.5389 ms/op 0.95
computeDeltas 500000 validators 7200 proto nodes 6.4339 ms/op 6.6061 ms/op 0.97
computeDeltas 750000 validators 300 proto nodes 9.8734 ms/op 9.8253 ms/op 1.00
computeDeltas 750000 validators 1200 proto nodes 10.032 ms/op 9.7924 ms/op 1.02
computeDeltas 750000 validators 7200 proto nodes 9.6679 ms/op 10.060 ms/op 0.96
computeDeltas 1400000 validators 300 proto nodes 18.389 ms/op 18.505 ms/op 0.99
computeDeltas 1400000 validators 1200 proto nodes 19.394 ms/op 18.923 ms/op 1.02
computeDeltas 1400000 validators 7200 proto nodes 19.500 ms/op 19.400 ms/op 1.01
computeDeltas 2100000 validators 300 proto nodes 30.851 ms/op 28.444 ms/op 1.08
computeDeltas 2100000 validators 1200 proto nodes 28.046 ms/op 29.025 ms/op 0.97
computeDeltas 2100000 validators 7200 proto nodes 27.851 ms/op 27.687 ms/op 1.01
computeProposerBoostScoreFromBalances 500000 validators 3.4494 ms/op 3.4006 ms/op 1.01
computeProposerBoostScoreFromBalances 750000 validators 3.5339 ms/op 3.3609 ms/op 1.05
computeProposerBoostScoreFromBalances 1400000 validators 3.6282 ms/op 3.4391 ms/op 1.05
computeProposerBoostScoreFromBalances 2100000 validators 3.6817 ms/op 3.3981 ms/op 1.08
altair processAttestation - 250000 vs - 7PWei normalcase 5.3279 ms/op 2.2904 ms/op 2.33
altair processAttestation - 250000 vs - 7PWei worstcase 7.2780 ms/op 3.2645 ms/op 2.23
altair processAttestation - setStatus - 1/6 committees join 229.57 us/op 150.75 us/op 1.52
altair processAttestation - setStatus - 1/3 committees join 391.29 us/op 276.10 us/op 1.42
altair processAttestation - setStatus - 1/2 committees join 643.31 us/op 370.47 us/op 1.74
altair processAttestation - setStatus - 2/3 committees join 858.73 us/op 476.37 us/op 1.80
altair processAttestation - setStatus - 4/5 committees join 1.4064 ms/op 682.81 us/op 2.06
altair processAttestation - setStatus - 100% committees join 1.8125 ms/op 789.45 us/op 2.30
altair processBlock - 250000 vs - 7PWei normalcase 19.209 ms/op 9.9743 ms/op 1.93
altair processBlock - 250000 vs - 7PWei normalcase hashState 55.370 ms/op 36.196 ms/op 1.53
altair processBlock - 250000 vs - 7PWei worstcase 65.530 ms/op 41.560 ms/op 1.58
altair processBlock - 250000 vs - 7PWei worstcase hashState 160.70 ms/op 95.635 ms/op 1.68
phase0 processBlock - 250000 vs - 7PWei normalcase 6.1587 ms/op 2.4135 ms/op 2.55
phase0 processBlock - 250000 vs - 7PWei worstcase 47.599 ms/op 32.953 ms/op 1.44
altair processEth1Data - 250000 vs - 7PWei normalcase 971.23 us/op 525.86 us/op 1.85
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 40.529 us/op 17.687 us/op 2.29
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 84.760 us/op 64.179 us/op 1.32
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 29.534 us/op 22.732 us/op 1.30
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 25.769 us/op 21.175 us/op 1.22
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 243.01 us/op 197.74 us/op 1.23
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 2.5043 ms/op 1.2549 ms/op 2.00
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 3.5522 ms/op 1.7963 ms/op 1.98
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.8862 ms/op 2.1217 ms/op 1.36
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 9.1907 ms/op 3.6445 ms/op 2.52
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 4.0305 ms/op 2.5367 ms/op 1.59
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 14.249 ms/op 6.4163 ms/op 2.22
Tree 40 250000 create 1.0846 s/op 371.99 ms/op 2.92
Tree 40 250000 get(125000) 279.47 ns/op 212.24 ns/op 1.32
Tree 40 250000 set(125000) 2.9962 us/op 1.1038 us/op 2.71
Tree 40 250000 toArray() 42.358 ms/op 22.754 ms/op 1.86
Tree 40 250000 iterate all - toArray() + loop 46.505 ms/op 23.172 ms/op 2.01
Tree 40 250000 iterate all - get(i) 105.28 ms/op 77.966 ms/op 1.35
MutableVector 250000 create 24.046 ms/op 14.965 ms/op 1.61
MutableVector 250000 get(125000) 7.3810 ns/op 6.8470 ns/op 1.08
MutableVector 250000 set(125000) 611.58 ns/op 300.51 ns/op 2.04
MutableVector 250000 toArray() 5.3207 ms/op 4.2304 ms/op 1.26
MutableVector 250000 iterate all - toArray() + loop 5.1171 ms/op 4.4365 ms/op 1.15
MutableVector 250000 iterate all - get(i) 1.6317 ms/op 1.6389 ms/op 1.00
Array 250000 create 4.9308 ms/op 3.6572 ms/op 1.35
Array 250000 clone - spread 2.3688 ms/op 1.0277 ms/op 2.30
Array 250000 get(125000) 1.4960 ns/op 0.50200 ns/op 2.98
Array 250000 set(125000) 2.0240 ns/op 0.58800 ns/op 3.44
Array 250000 iterate all - loop 94.540 us/op 118.30 us/op 0.80
effectiveBalanceIncrements clone Uint8Array 300000 69.144 us/op 32.422 us/op 2.13
effectiveBalanceIncrements clone MutableVector 300000 387.00 ns/op 257.00 ns/op 1.51
effectiveBalanceIncrements rw all Uint8Array 300000 186.18 us/op 188.03 us/op 0.99
effectiveBalanceIncrements rw all MutableVector 300000 137.35 ms/op 86.262 ms/op 1.59
phase0 afterProcessEpoch - 250000 vs - 7PWei 126.42 ms/op 119.28 ms/op 1.06
phase0 beforeProcessEpoch - 250000 vs - 7PWei 41.586 ms/op 38.377 ms/op 1.08
altair processEpoch - mainnet_e81889 745.42 ms/op 449.25 ms/op 1.66
mainnet_e81889 - altair beforeProcessEpoch 116.43 ms/op 71.867 ms/op 1.62
mainnet_e81889 - altair processJustificationAndFinalization 41.695 us/op 25.772 us/op 1.62
mainnet_e81889 - altair processInactivityUpdates 15.085 ms/op 6.2955 ms/op 2.40
mainnet_e81889 - altair processRewardsAndPenalties 112.06 ms/op 54.178 ms/op 2.07
mainnet_e81889 - altair processRegistryUpdates 5.5370 us/op 2.6440 us/op 2.09
mainnet_e81889 - altair processSlashings 981.00 ns/op 654.00 ns/op 1.50
mainnet_e81889 - altair processEth1DataReset 1.1760 us/op 508.00 ns/op 2.31
mainnet_e81889 - altair processEffectiveBalanceUpdates 4.9204 ms/op 1.3067 ms/op 3.77
mainnet_e81889 - altair processSlashingsReset 4.4780 us/op 3.2990 us/op 1.36
mainnet_e81889 - altair processRandaoMixesReset 10.019 us/op 6.1110 us/op 1.64
mainnet_e81889 - altair processHistoricalRootsUpdate 1.5720 us/op 1.1070 us/op 1.42
mainnet_e81889 - altair processParticipationFlagUpdates 4.3450 us/op 1.9920 us/op 2.18
mainnet_e81889 - altair processSyncCommitteeUpdates 1.0320 us/op 1.3560 us/op 0.76
mainnet_e81889 - altair afterProcessEpoch 136.29 ms/op 134.24 ms/op 1.02
capella processEpoch - mainnet_e217614 1.6018 s/op 1.6808 s/op 0.95
mainnet_e217614 - capella beforeProcessEpoch 237.65 ms/op 294.01 ms/op 0.81
mainnet_e217614 - capella processJustificationAndFinalization 12.942 us/op 24.714 us/op 0.52
mainnet_e217614 - capella processInactivityUpdates 15.728 ms/op 21.020 ms/op 0.75
mainnet_e217614 - capella processRewardsAndPenalties 276.76 ms/op 313.78 ms/op 0.88
mainnet_e217614 - capella processRegistryUpdates 19.683 us/op 20.656 us/op 0.95
mainnet_e217614 - capella processSlashings 512.00 ns/op 563.00 ns/op 0.91
mainnet_e217614 - capella processEth1DataReset 430.00 ns/op 747.00 ns/op 0.58
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9434 ms/op 4.2322 ms/op 0.93
mainnet_e217614 - capella processSlashingsReset 2.2460 us/op 2.7130 us/op 0.83
mainnet_e217614 - capella processRandaoMixesReset 3.9070 us/op 5.2090 us/op 0.75
mainnet_e217614 - capella processHistoricalRootsUpdate 484.00 ns/op 516.00 ns/op 0.94
mainnet_e217614 - capella processParticipationFlagUpdates 1.4330 us/op 2.5890 us/op 0.55
mainnet_e217614 - capella afterProcessEpoch 284.65 ms/op 312.05 ms/op 0.91
phase0 processEpoch - mainnet_e58758 394.33 ms/op 433.30 ms/op 0.91
mainnet_e58758 - phase0 beforeProcessEpoch 98.800 ms/op 107.28 ms/op 0.92
mainnet_e58758 - phase0 processJustificationAndFinalization 14.417 us/op 14.337 us/op 1.01
mainnet_e58758 - phase0 processRewardsAndPenalties 53.201 ms/op 40.461 ms/op 1.31
mainnet_e58758 - phase0 processRegistryUpdates 8.8870 us/op 10.034 us/op 0.89
mainnet_e58758 - phase0 processSlashings 513.00 ns/op 442.00 ns/op 1.16
mainnet_e58758 - phase0 processEth1DataReset 470.00 ns/op 413.00 ns/op 1.14
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 943.31 us/op 1.0378 ms/op 0.91
mainnet_e58758 - phase0 processSlashingsReset 2.1440 us/op 2.2980 us/op 0.93
mainnet_e58758 - phase0 processRandaoMixesReset 3.8130 us/op 3.7780 us/op 1.01
mainnet_e58758 - phase0 processHistoricalRootsUpdate 435.00 ns/op 524.00 ns/op 0.83
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.6340 us/op 6.7920 us/op 0.54
mainnet_e58758 - phase0 afterProcessEpoch 96.640 ms/op 102.05 ms/op 0.95
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2153 ms/op 1.2181 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4169 ms/op 1.4375 ms/op 0.99
altair processInactivityUpdates - 250000 normalcase 17.749 ms/op 18.570 ms/op 0.96
altair processInactivityUpdates - 250000 worstcase 18.012 ms/op 18.437 ms/op 0.98
phase0 processRegistryUpdates - 250000 normalcase 8.9140 us/op 8.9170 us/op 1.00
phase0 processRegistryUpdates - 250000 badcase_full_deposits 313.53 us/op 301.88 us/op 1.04
phase0 processRegistryUpdates - 250000 worstcase 0.5 117.39 ms/op 115.95 ms/op 1.01
altair processRewardsAndPenalties - 250000 normalcase 42.647 ms/op 53.370 ms/op 0.80
altair processRewardsAndPenalties - 250000 worstcase 43.511 ms/op 54.503 ms/op 0.80
phase0 getAttestationDeltas - 250000 normalcase 7.5299 ms/op 8.7572 ms/op 0.86
phase0 getAttestationDeltas - 250000 worstcase 7.4003 ms/op 8.7866 ms/op 0.84
phase0 processSlashings - 250000 worstcase 2.1891 ms/op 2.3690 ms/op 0.92
altair processSyncCommitteeUpdates - 250000 139.42 ms/op 155.39 ms/op 0.90
BeaconState.hashTreeRoot - No change 239.00 ns/op 262.00 ns/op 0.91
BeaconState.hashTreeRoot - 1 full validator 129.31 us/op 134.68 us/op 0.96
BeaconState.hashTreeRoot - 32 full validator 1.3754 ms/op 1.6530 ms/op 0.83
BeaconState.hashTreeRoot - 512 full validator 14.731 ms/op 16.027 ms/op 0.92
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 165.79 us/op 177.58 us/op 0.93
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.2431 ms/op 2.2973 ms/op 0.98
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.800 ms/op 25.476 ms/op 1.01
BeaconState.hashTreeRoot - 1 balances 124.07 us/op 140.50 us/op 0.88
BeaconState.hashTreeRoot - 32 balances 935.41 us/op 1.2644 ms/op 0.74
BeaconState.hashTreeRoot - 512 balances 8.4965 ms/op 11.341 ms/op 0.75
BeaconState.hashTreeRoot - 250000 balances 159.08 ms/op 179.10 ms/op 0.89
aggregationBits - 2048 els - zipIndexesInBitList 15.736 us/op 16.071 us/op 0.98
regular array get 100000 times 40.121 us/op 42.557 us/op 0.94
wrappedArray get 100000 times 35.501 us/op 44.067 us/op 0.81
arrayWithProxy get 100000 times 15.120 ms/op 14.508 ms/op 1.04
ssz.Root.equals 196.00 ns/op 231.00 ns/op 0.85
byteArrayEquals 210.00 ns/op 203.00 ns/op 1.03
shuffle list - 16384 els 6.9845 ms/op 7.2523 ms/op 0.96
shuffle list - 250000 els 101.94 ms/op 106.93 ms/op 0.95
processSlot - 1 slots 15.225 us/op 16.562 us/op 0.92
processSlot - 32 slots 3.2084 ms/op 4.1189 ms/op 0.78
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 50.660 ms/op 48.302 ms/op 1.05
getCommitteeAssignments - req 1 vs - 250000 vc 2.5347 ms/op 2.5543 ms/op 0.99
getCommitteeAssignments - req 100 vs - 250000 vc 3.8080 ms/op 3.7846 ms/op 1.01
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1480 ms/op 4.1509 ms/op 1.00
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.7700 ns/op 5.2200 ns/op 0.91
state getBlockRootAtSlot - 250000 vs - 7PWei 525.03 ns/op 646.99 ns/op 0.81
computeProposers - vc 250000 8.8079 ms/op 9.8478 ms/op 0.89
computeEpochShuffling - vc 250000 107.19 ms/op 108.83 ms/op 0.98
getNextSyncCommittee - vc 250000 150.31 ms/op 158.92 ms/op 0.95
computeSigningRoot for AttestationData 21.364 us/op 22.400 us/op 0.95
hash AttestationData serialized data then Buffer.toString(base64) 2.3895 us/op 2.4322 us/op 0.98
toHexString serialized data 1.1739 us/op 1.3465 us/op 0.87
Buffer.toString(base64) 237.88 ns/op 233.37 ns/op 1.02

by benchmarkbot/action

Copy link
Member

@matthewkeil matthewkeil left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@g11tech g11tech merged commit a9223cf into unstable Oct 20, 2023
16 checks passed
@g11tech g11tech deleted the official-trusted-setup branch October 20, 2023 11:59
@wemeetagain
Copy link
Member

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