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: update testcontainers package to 10.2.1 #5944

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Sep 7, 2023

Motivation

The current version of testcontainers package does not work on latest node version 20.6

e2e test are failing with the following error

@lodestar/validator: TypeError: Cannot set property GenericContainer of #<Object> which has only a getter
@lodestar/validator:     at Object.<anonymous> (/home/runner/actions-runner/_work/lodestar/lodestar/node_modules/testcontainers/dist/src/index.js:3:937)

The breaking changes from 9 to 10 (release notes) do not affect us.

Description

Update testcontainers package from version 9.4.0 to 10.2.1

@nflaig nflaig requested a review from a team as a code owner September 7, 2023 17:41
@nflaig nflaig force-pushed the nflaig/update-testcontainers branch from 56bc80f to 1d1ac8e Compare September 7, 2023 18:04
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: c24d312 Previous: 6ac8c07 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 340.46 us/op 596.90 us/op 0.57
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 52.681 us/op 47.207 us/op 1.12
BLS verify - blst-native 1.0926 ms/op 1.0834 ms/op 1.01
BLS verifyMultipleSignatures 3 - blst-native 2.3459 ms/op 2.2999 ms/op 1.02
BLS verifyMultipleSignatures 8 - blst-native 5.1751 ms/op 5.0980 ms/op 1.02
BLS verifyMultipleSignatures 32 - blst-native 18.990 ms/op 18.673 ms/op 1.02
BLS verifyMultipleSignatures 64 - blst-native 36.628 ms/op 36.814 ms/op 0.99
BLS verifyMultipleSignatures 128 - blst-native 74.209 ms/op 73.138 ms/op 1.01
BLS deserializing 10000 signatures 771.71 ms/op 751.70 ms/op 1.03
BLS deserializing 100000 signatures 7.8348 s/op 7.7848 s/op 1.01
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.1277 ms/op 1.1119 ms/op 1.01
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.2804 ms/op 1.2618 ms/op 1.01
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2459 ms/op 2.1537 ms/op 1.04
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.3693 ms/op 3.1955 ms/op 1.05
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.0091 ms/op 4.8771 ms/op 1.03
BLS aggregatePubkeys 32 - blst-native 22.717 us/op 22.065 us/op 1.03
BLS aggregatePubkeys 128 - blst-native 89.062 us/op 86.862 us/op 1.03
getAttestationsForBlock 23.467 ms/op 26.495 ms/op 0.89
isKnown best case - 1 super set check 217.00 ns/op 198.00 ns/op 1.10
isKnown normal case - 2 super set checks 209.00 ns/op 196.00 ns/op 1.07
isKnown worse case - 16 super set checks 212.00 ns/op 194.00 ns/op 1.09
CheckpointStateCache - add get delete 3.6180 us/op 3.3520 us/op 1.08
validate api signedAggregateAndProof - struct 2.4477 ms/op 2.3931 ms/op 1.02
validate gossip signedAggregateAndProof - struct 2.4227 ms/op 2.3808 ms/op 1.02
validate gossip attestation - vc 640000 1.1390 ms/op 1.0738 ms/op 1.06
batch validate gossip attestation - vc 640000 - chunk 32 130.28 us/op 117.20 us/op 1.11
batch validate gossip attestation - vc 640000 - chunk 64 110.87 us/op 102.53 us/op 1.08
batch validate gossip attestation - vc 640000 - chunk 128 102.55 us/op 94.440 us/op 1.09
batch validate gossip attestation - vc 640000 - chunk 256 98.663 us/op 94.462 us/op 1.04
pickEth1Vote - no votes 860.51 us/op 853.19 us/op 1.01
pickEth1Vote - max votes 8.7258 ms/op 8.3455 ms/op 1.05
pickEth1Vote - Eth1Data hashTreeRoot value x2048 5.5707 ms/op 5.1542 ms/op 1.08
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 10.946 ms/op 10.207 ms/op 1.07
pickEth1Vote - Eth1Data fastSerialize value x2048 416.78 us/op 361.06 us/op 1.15
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.7197 ms/op 4.8209 ms/op 1.39
bytes32 toHexString 358.00 ns/op 335.00 ns/op 1.07
bytes32 Buffer.toString(hex) 201.00 ns/op 193.00 ns/op 1.04
bytes32 Buffer.toString(hex) from Uint8Array 352.00 ns/op 287.00 ns/op 1.23
bytes32 Buffer.toString(hex) + 0x 196.00 ns/op 195.00 ns/op 1.01
Object access 1 prop 0.11900 ns/op 0.10800 ns/op 1.10
Map access 1 prop 0.11000 ns/op 0.10400 ns/op 1.06
Object get x1000 4.9110 ns/op 5.4190 ns/op 0.91
Map get x1000 0.48300 ns/op 0.41900 ns/op 1.15
Object set x1000 30.967 ns/op 22.859 ns/op 1.35
Map set x1000 17.577 ns/op 15.808 ns/op 1.11
Return object 10000 times 0.21690 ns/op 0.21460 ns/op 1.01
Throw Error 10000 times 2.7752 us/op 2.8771 us/op 0.96
fastMsgIdFn sha256 / 200 bytes 1.9350 us/op 1.8210 us/op 1.06
fastMsgIdFn h32 xxhash / 200 bytes 231.00 ns/op 181.00 ns/op 1.28
fastMsgIdFn h64 xxhash / 200 bytes 278.00 ns/op 222.00 ns/op 1.25
fastMsgIdFn sha256 / 1000 bytes 6.0740 us/op 6.0800 us/op 1.00
fastMsgIdFn h32 xxhash / 1000 bytes 324.00 ns/op 301.00 ns/op 1.08
fastMsgIdFn h64 xxhash / 1000 bytes 328.00 ns/op 285.00 ns/op 1.15
fastMsgIdFn sha256 / 10000 bytes 53.333 us/op 51.930 us/op 1.03
fastMsgIdFn h32 xxhash / 10000 bytes 1.7250 us/op 1.6500 us/op 1.05
fastMsgIdFn h64 xxhash / 10000 bytes 1.1700 us/op 1.0790 us/op 1.08
enrSubnets - fastDeserialize 64 bits 853.00 ns/op 794.00 ns/op 1.07
enrSubnets - ssz BitVector 64 bits 328.00 ns/op 303.00 ns/op 1.08
enrSubnets - fastDeserialize 4 bits 133.00 ns/op 113.00 ns/op 1.18
enrSubnets - ssz BitVector 4 bits 370.00 ns/op 311.00 ns/op 1.19
prioritizePeers score -10:0 att 32-0.1 sync 2-0 76.734 us/op 61.551 us/op 1.25
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 90.483 us/op 72.300 us/op 1.25
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 114.55 us/op 103.87 us/op 1.10
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 201.00 us/op 175.26 us/op 1.15
prioritizePeers score 0:0 att 64-1 sync 4-1 222.50 us/op 197.34 us/op 1.13
array of 16000 items push then shift 1.2964 us/op 1.1941 us/op 1.09
LinkedList of 16000 items push then shift 5.9380 ns/op 6.4470 ns/op 0.92
array of 16000 items push then pop 51.887 ns/op 65.280 ns/op 0.79
LinkedList of 16000 items push then pop 5.5180 ns/op 5.3680 ns/op 1.03
array of 24000 items push then shift 1.8617 us/op 1.7494 us/op 1.06
LinkedList of 24000 items push then shift 7.0890 ns/op 6.1730 ns/op 1.15
array of 24000 items push then pop 119.00 ns/op 73.429 ns/op 1.62
LinkedList of 24000 items push then pop 5.8660 ns/op 5.5070 ns/op 1.07
intersect bitArray bitLen 8 5.2890 ns/op 5.4140 ns/op 0.98
intersect array and set length 8 47.766 ns/op 41.462 ns/op 1.15
intersect bitArray bitLen 128 25.269 ns/op 25.960 ns/op 0.97
intersect array and set length 128 679.73 ns/op 584.40 ns/op 1.16
bitArray.getTrueBitIndexes() bitLen 128 1.2870 us/op 1.0560 us/op 1.22
bitArray.getTrueBitIndexes() bitLen 248 1.9960 us/op 1.7550 us/op 1.14
bitArray.getTrueBitIndexes() bitLen 512 3.9460 us/op 3.3270 us/op 1.19
Buffer.concat 32 items 814.00 ns/op 751.00 ns/op 1.08
Uint8Array.set 32 items 1.8080 us/op 1.7600 us/op 1.03
Set add up to 64 items then delete first 1.6999 us/op 1.7083 us/op 1.00
OrderedSet add up to 64 items then delete first 2.5660 us/op 2.5913 us/op 0.99
Set add up to 64 items then delete last 1.9174 us/op 1.9302 us/op 0.99
OrderedSet add up to 64 items then delete last 2.8421 us/op 2.8711 us/op 0.99
Set add up to 64 items then delete middle 1.9205 us/op 1.9393 us/op 0.99
OrderedSet add up to 64 items then delete middle 4.0338 us/op 4.0968 us/op 0.98
Set add up to 128 items then delete first 3.8719 us/op 3.8324 us/op 1.01
OrderedSet add up to 128 items then delete first 6.3234 us/op 5.9752 us/op 1.06
Set add up to 128 items then delete last 4.1020 us/op 3.6927 us/op 1.11
OrderedSet add up to 128 items then delete last 5.5331 us/op 5.5201 us/op 1.00
Set add up to 128 items then delete middle 3.8191 us/op 3.6938 us/op 1.03
OrderedSet add up to 128 items then delete middle 10.893 us/op 10.453 us/op 1.04
Set add up to 256 items then delete first 7.8810 us/op 7.4750 us/op 1.05
OrderedSet add up to 256 items then delete first 11.910 us/op 11.798 us/op 1.01
Set add up to 256 items then delete last 7.6809 us/op 7.2812 us/op 1.05
OrderedSet add up to 256 items then delete last 11.365 us/op 10.971 us/op 1.04
Set add up to 256 items then delete middle 7.2672 us/op 7.2040 us/op 1.01
OrderedSet add up to 256 items then delete middle 30.764 us/op 29.852 us/op 1.03
transfer serialized Status (84 B) 1.4910 us/op 1.3390 us/op 1.11
copy serialized Status (84 B) 1.3580 us/op 1.1680 us/op 1.16
transfer serialized SignedVoluntaryExit (112 B) 1.7290 us/op 1.4110 us/op 1.23
copy serialized SignedVoluntaryExit (112 B) 1.3970 us/op 1.2330 us/op 1.13
transfer serialized ProposerSlashing (416 B) 2.9160 us/op 2.3820 us/op 1.22
copy serialized ProposerSlashing (416 B) 1.8300 us/op 2.4060 us/op 0.76
transfer serialized Attestation (485 B) 1.5150 us/op 2.4440 us/op 0.62
copy serialized Attestation (485 B) 1.6820 us/op 2.3540 us/op 0.71
transfer serialized AttesterSlashing (33232 B) 1.5510 us/op 2.5440 us/op 0.61
copy serialized AttesterSlashing (33232 B) 4.9590 us/op 4.2040 us/op 1.18
transfer serialized Small SignedBeaconBlock (128000 B) 1.6160 us/op 2.1730 us/op 0.74
copy serialized Small SignedBeaconBlock (128000 B) 9.5790 us/op 8.2430 us/op 1.16
transfer serialized Avg SignedBeaconBlock (200000 B) 2.3010 us/op 2.0320 us/op 1.13
copy serialized Avg SignedBeaconBlock (200000 B) 12.345 us/op 11.314 us/op 1.09
transfer serialized BlobsSidecar (524380 B) 2.5170 us/op 2.1700 us/op 1.16
copy serialized BlobsSidecar (524380 B) 110.25 us/op 99.711 us/op 1.11
transfer serialized Big SignedBeaconBlock (1000000 B) 2.7130 us/op 2.5460 us/op 1.07
copy serialized Big SignedBeaconBlock (1000000 B) 126.51 us/op 158.47 us/op 0.80
pass gossip attestations to forkchoice per slot 2.7758 ms/op 2.6508 ms/op 1.05
forkChoice updateHead vc 100000 bc 64 eq 0 454.51 us/op 451.93 us/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 0 2.6071 ms/op 3.3245 ms/op 0.78
forkChoice updateHead vc 1000000 bc 64 eq 0 4.5244 ms/op 4.4762 ms/op 1.01
forkChoice updateHead vc 600000 bc 320 eq 0 2.6648 ms/op 2.6247 ms/op 1.02
forkChoice updateHead vc 600000 bc 1200 eq 0 2.9554 ms/op 2.6293 ms/op 1.12
forkChoice updateHead vc 600000 bc 7200 eq 0 3.5497 ms/op 3.4832 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 1000 10.551 ms/op 9.1897 ms/op 1.15
forkChoice updateHead vc 600000 bc 64 eq 10000 10.127 ms/op 9.3269 ms/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 300000 13.736 ms/op 11.807 ms/op 1.16
computeDeltas 500000 validators 300 proto nodes 3.0003 ms/op 2.8269 ms/op 1.06
computeDeltas 500000 validators 1200 proto nodes 2.9730 ms/op 2.8637 ms/op 1.04
computeDeltas 500000 validators 7200 proto nodes 2.9882 ms/op 2.8662 ms/op 1.04
computeDeltas 750000 validators 300 proto nodes 4.5047 ms/op 4.3251 ms/op 1.04
computeDeltas 750000 validators 1200 proto nodes 4.3401 ms/op 4.3042 ms/op 1.01
computeDeltas 750000 validators 7200 proto nodes 4.3502 ms/op 4.3199 ms/op 1.01
computeDeltas 1400000 validators 300 proto nodes 8.5078 ms/op 8.3967 ms/op 1.01
computeDeltas 1400000 validators 1200 proto nodes 8.8372 ms/op 8.3870 ms/op 1.05
computeDeltas 1400000 validators 7200 proto nodes 8.9098 ms/op 8.5752 ms/op 1.04
computeDeltas 2100000 validators 300 proto nodes 13.113 ms/op 12.872 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 13.127 ms/op 12.628 ms/op 1.04
computeDeltas 2100000 validators 7200 proto nodes 13.275 ms/op 12.642 ms/op 1.05
computeProposerBoostScoreFromBalances 500000 validators 2.8162 ms/op 2.7020 ms/op 1.04
computeProposerBoostScoreFromBalances 750000 validators 2.7314 ms/op 2.6383 ms/op 1.04
computeProposerBoostScoreFromBalances 1400000 validators 2.7500 ms/op 2.6506 ms/op 1.04
computeProposerBoostScoreFromBalances 2100000 validators 2.7779 ms/op 2.6788 ms/op 1.04
altair processAttestation - 250000 vs - 7PWei normalcase 1.3919 ms/op 1.5604 ms/op 0.89
altair processAttestation - 250000 vs - 7PWei worstcase 2.0839 ms/op 2.2253 ms/op 0.94
altair processAttestation - setStatus - 1/6 committees join 111.67 us/op 103.08 us/op 1.08
altair processAttestation - setStatus - 1/3 committees join 212.04 us/op 200.89 us/op 1.06
altair processAttestation - setStatus - 1/2 committees join 296.36 us/op 267.69 us/op 1.11
altair processAttestation - setStatus - 2/3 committees join 379.32 us/op 372.92 us/op 1.02
altair processAttestation - setStatus - 4/5 committees join 534.82 us/op 471.32 us/op 1.13
altair processAttestation - setStatus - 100% committees join 606.04 us/op 590.78 us/op 1.03
altair processBlock - 250000 vs - 7PWei normalcase 8.7082 ms/op 7.1342 ms/op 1.22
altair processBlock - 250000 vs - 7PWei normalcase hashState 14.799 ms/op 12.158 ms/op 1.22
altair processBlock - 250000 vs - 7PWei worstcase 32.935 ms/op 29.986 ms/op 1.10
altair processBlock - 250000 vs - 7PWei worstcase hashState 47.968 ms/op 44.183 ms/op 1.09
phase0 processBlock - 250000 vs - 7PWei normalcase 2.1460 ms/op 1.8932 ms/op 1.13
phase0 processBlock - 250000 vs - 7PWei worstcase 25.914 ms/op 23.607 ms/op 1.10
altair processEth1Data - 250000 vs - 7PWei normalcase 340.18 us/op 276.96 us/op 1.23
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 8.2620 us/op 6.6190 us/op 1.25
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 16.883 us/op 16.169 us/op 1.04
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 17.232 us/op 9.3670 us/op 1.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.604 us/op 6.3800 us/op 1.82
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 98.401 us/op 94.588 us/op 1.04
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2332 ms/op 580.60 us/op 2.12
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.3484 ms/op 887.35 us/op 1.52
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.2294 ms/op 838.43 us/op 1.47
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.3307 ms/op 2.0192 ms/op 1.65
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.3711 ms/op 1.4204 ms/op 1.67
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.0429 ms/op 3.4749 ms/op 1.45
Tree 40 250000 create 261.82 ms/op 227.01 ms/op 1.15
Tree 40 250000 get(125000) 114.32 ns/op 104.51 ns/op 1.09
Tree 40 250000 set(125000) 669.38 ns/op 696.00 ns/op 0.96
Tree 40 250000 toArray() 9.7138 ms/op 9.2125 ms/op 1.05
Tree 40 250000 iterate all - toArray() + loop 9.4493 ms/op 9.2841 ms/op 1.02
Tree 40 250000 iterate all - get(i) 45.031 ms/op 39.692 ms/op 1.13
MutableVector 250000 create 6.2972 ms/op 7.6758 ms/op 0.82
MutableVector 250000 get(125000) 6.5620 ns/op 5.4970 ns/op 1.19
MutableVector 250000 set(125000) 197.62 ns/op 182.12 ns/op 1.09
MutableVector 250000 toArray() 2.2744 ms/op 1.9053 ms/op 1.19
MutableVector 250000 iterate all - toArray() + loop 2.3492 ms/op 2.2974 ms/op 1.02
MutableVector 250000 iterate all - get(i) 1.3571 ms/op 1.3427 ms/op 1.01
Array 250000 create 2.1881 ms/op 2.1184 ms/op 1.03
Array 250000 clone - spread 1.0246 ms/op 897.65 us/op 1.14
Array 250000 get(125000) 0.52200 ns/op 0.46100 ns/op 1.13
Array 250000 set(125000) 0.58900 ns/op 0.53100 ns/op 1.11
Array 250000 iterate all - loop 77.439 us/op 77.807 us/op 1.00
effectiveBalanceIncrements clone Uint8Array 300000 12.448 us/op 11.558 us/op 1.08
effectiveBalanceIncrements clone MutableVector 300000 309.00 ns/op 249.00 ns/op 1.24
effectiveBalanceIncrements rw all Uint8Array 300000 179.37 us/op 170.11 us/op 1.05
effectiveBalanceIncrements rw all MutableVector 300000 62.762 ms/op 57.680 ms/op 1.09
phase0 afterProcessEpoch - 250000 vs - 7PWei 76.149 ms/op 75.229 ms/op 1.01
phase0 beforeProcessEpoch - 250000 vs - 7PWei 28.480 ms/op 30.341 ms/op 0.94
altair processEpoch - mainnet_e81889 239.96 ms/op 231.73 ms/op 1.04
mainnet_e81889 - altair beforeProcessEpoch 51.043 ms/op 45.877 ms/op 1.11
mainnet_e81889 - altair processJustificationAndFinalization 7.1680 us/op 5.8410 us/op 1.23
mainnet_e81889 - altair processInactivityUpdates 4.0322 ms/op 3.4838 ms/op 1.16
mainnet_e81889 - altair processRewardsAndPenalties 43.017 ms/op 59.475 ms/op 0.72
mainnet_e81889 - altair processRegistryUpdates 1.0390 us/op 958.00 ns/op 1.08
mainnet_e81889 - altair processSlashings 208.00 ns/op 165.00 ns/op 1.26
mainnet_e81889 - altair processEth1DataReset 268.00 ns/op 306.00 ns/op 0.88
mainnet_e81889 - altair processEffectiveBalanceUpdates 933.52 us/op 852.00 us/op 1.10
mainnet_e81889 - altair processSlashingsReset 1.6020 us/op 1.7730 us/op 0.90
mainnet_e81889 - altair processRandaoMixesReset 2.1610 us/op 2.0710 us/op 1.04
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0130 us/op 457.00 ns/op 2.22
mainnet_e81889 - altair processParticipationFlagUpdates 1.7260 us/op 1.0780 us/op 1.60
mainnet_e81889 - altair processSyncCommitteeUpdates 407.00 ns/op 245.00 ns/op 1.66
mainnet_e81889 - altair afterProcessEpoch 82.707 ms/op 83.586 ms/op 0.99
capella processEpoch - mainnet_e217614 799.22 ms/op 747.39 ms/op 1.07
mainnet_e217614 - capella beforeProcessEpoch 189.13 ms/op 185.54 ms/op 1.02
mainnet_e217614 - capella processJustificationAndFinalization 5.6480 us/op 6.4180 us/op 0.88
mainnet_e217614 - capella processInactivityUpdates 15.629 ms/op 14.825 ms/op 1.05
mainnet_e217614 - capella processRewardsAndPenalties 205.84 ms/op 255.61 ms/op 0.81
mainnet_e217614 - capella processRegistryUpdates 7.1830 us/op 11.568 us/op 0.62
mainnet_e217614 - capella processSlashings 308.00 ns/op 285.00 ns/op 1.08
mainnet_e217614 - capella processEth1DataReset 253.00 ns/op 203.00 ns/op 1.25
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.1219 ms/op 3.2326 ms/op 0.97
mainnet_e217614 - capella processSlashingsReset 2.8480 us/op 1.3260 us/op 2.15
mainnet_e217614 - capella processRandaoMixesReset 3.2560 us/op 1.7100 us/op 1.90
mainnet_e217614 - capella processHistoricalRootsUpdate 435.00 ns/op 265.00 ns/op 1.64
mainnet_e217614 - capella processParticipationFlagUpdates 1.1140 us/op 525.00 ns/op 2.12
mainnet_e217614 - capella afterProcessEpoch 200.45 ms/op 185.05 ms/op 1.08
phase0 processEpoch - mainnet_e58758 263.79 ms/op 242.99 ms/op 1.09
mainnet_e58758 - phase0 beforeProcessEpoch 110.20 ms/op 93.505 ms/op 1.18
mainnet_e58758 - phase0 processJustificationAndFinalization 11.208 us/op 6.6700 us/op 1.68
mainnet_e58758 - phase0 processRewardsAndPenalties 57.778 ms/op 48.938 ms/op 1.18
mainnet_e58758 - phase0 processRegistryUpdates 4.6860 us/op 4.6610 us/op 1.01
mainnet_e58758 - phase0 processSlashings 349.00 ns/op 315.00 ns/op 1.11
mainnet_e58758 - phase0 processEth1DataReset 293.00 ns/op 258.00 ns/op 1.14
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.2407 ms/op 725.02 us/op 1.71
mainnet_e58758 - phase0 processSlashingsReset 1.6670 us/op 1.0090 us/op 1.65
mainnet_e58758 - phase0 processRandaoMixesReset 2.5480 us/op 1.4430 us/op 1.77
mainnet_e58758 - phase0 processHistoricalRootsUpdate 495.00 ns/op 262.00 ns/op 1.89
mainnet_e58758 - phase0 processParticipationRecordUpdates 2.3540 us/op 1.6940 us/op 1.39
mainnet_e58758 - phase0 afterProcessEpoch 74.549 ms/op 69.070 ms/op 1.08
phase0 processEffectiveBalanceUpdates - 250000 normalcase 993.26 us/op 954.69 us/op 1.04
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.1473 ms/op 1.1353 ms/op 1.01
altair processInactivityUpdates - 250000 normalcase 19.874 ms/op 18.776 ms/op 1.06
altair processInactivityUpdates - 250000 worstcase 18.200 ms/op 18.775 ms/op 0.97
phase0 processRegistryUpdates - 250000 normalcase 6.0960 us/op 3.1760 us/op 1.92
phase0 processRegistryUpdates - 250000 badcase_full_deposits 254.74 us/op 222.37 us/op 1.15
phase0 processRegistryUpdates - 250000 worstcase 0.5 105.17 ms/op 100.90 ms/op 1.04
altair processRewardsAndPenalties - 250000 normalcase 60.020 ms/op 63.930 ms/op 0.94
altair processRewardsAndPenalties - 250000 worstcase 60.005 ms/op 63.713 ms/op 0.94
phase0 getAttestationDeltas - 250000 normalcase 5.7000 ms/op 5.2456 ms/op 1.09
phase0 getAttestationDeltas - 250000 worstcase 6.4975 ms/op 5.2618 ms/op 1.23
phase0 processSlashings - 250000 worstcase 1.6301 ms/op 1.4430 ms/op 1.13
altair processSyncCommitteeUpdates - 250000 108.26 ms/op 104.30 ms/op 1.04
BeaconState.hashTreeRoot - No change 208.00 ns/op 196.00 ns/op 1.06
BeaconState.hashTreeRoot - 1 full validator 30.954 us/op 32.462 us/op 0.95
BeaconState.hashTreeRoot - 32 full validator 304.12 us/op 300.33 us/op 1.01
BeaconState.hashTreeRoot - 512 full validator 3.1327 ms/op 3.1962 ms/op 0.98
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 34.928 us/op 36.340 us/op 0.96
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 560.45 us/op 509.32 us/op 1.10
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 7.4936 ms/op 7.1849 ms/op 1.04
BeaconState.hashTreeRoot - 1 balances 29.993 us/op 28.998 us/op 1.03
BeaconState.hashTreeRoot - 32 balances 269.34 us/op 271.92 us/op 0.99
BeaconState.hashTreeRoot - 512 balances 2.5611 ms/op 2.4519 ms/op 1.04
BeaconState.hashTreeRoot - 250000 balances 40.468 ms/op 44.136 ms/op 0.92
aggregationBits - 2048 els - zipIndexesInBitList 12.592 us/op 11.182 us/op 1.13
regular array get 100000 times 30.322 us/op 29.824 us/op 1.02
wrappedArray get 100000 times 30.600 us/op 29.730 us/op 1.03
arrayWithProxy get 100000 times 10.872 ms/op 11.082 ms/op 0.98
ssz.Root.equals 205.00 ns/op 155.00 ns/op 1.32
byteArrayEquals 181.00 ns/op 145.00 ns/op 1.25
shuffle list - 16384 els 4.6017 ms/op 4.3661 ms/op 1.05
shuffle list - 250000 els 67.656 ms/op 65.288 ms/op 1.04
processSlot - 1 slots 5.9260 us/op 5.8190 us/op 1.02
processSlot - 32 slots 801.35 us/op 698.37 us/op 1.15
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 43.544 ms/op 48.090 ms/op 0.91
getCommitteeAssignments - req 1 vs - 250000 vc 2.2456 ms/op 2.1236 ms/op 1.06
getCommitteeAssignments - req 100 vs - 250000 vc 3.3786 ms/op 3.2047 ms/op 1.05
getCommitteeAssignments - req 1000 vs - 250000 vc 3.6259 ms/op 3.4628 ms/op 1.05
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 3.7100 ns/op 3.4600 ns/op 1.07
state getBlockRootAtSlot - 250000 vs - 7PWei 519.47 ns/op 858.87 ns/op 0.60
computeProposers - vc 250000 5.6035 ms/op 6.3487 ms/op 0.88
computeEpochShuffling - vc 250000 69.394 ms/op 66.573 ms/op 1.04
getNextSyncCommittee - vc 250000 97.597 ms/op 107.48 ms/op 0.91
computeSigningRoot for AttestationData 8.0807 us/op 7.9898 us/op 1.01
hash AttestationData serialized data then Buffer.toString(base64) 1.2505 us/op 1.2172 us/op 1.03
toHexString serialized data 796.84 ns/op 740.56 ns/op 1.08
Buffer.toString(base64) 149.47 ns/op 144.63 ns/op 1.03

by benchmarkbot/action

@twoeths twoeths enabled auto-merge (squash) September 8, 2023 04:22
@twoeths twoeths merged commit b79e9ba into unstable Sep 8, 2023
11 checks passed
@twoeths twoeths deleted the nflaig/update-testcontainers branch September 8, 2023 06:49
@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