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

fix: arm64 binaries creation issue #6857

Closed
wants to merge 1 commit into from

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented Jun 5, 2024

Motivation

Fix binaries workflow for arm64

Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.20%. Comparing base (3a9efd2) to head (c762d15).

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6857   +/-   ##
=========================================
  Coverage     62.19%   62.20%           
=========================================
  Files           571      571           
  Lines         60021    60021           
  Branches       1973     1979    +6     
=========================================
+ Hits          37333    37334    +1     
+ Misses        22645    22644    -1     
  Partials         43       43           

@@ -39,7 +39,7 @@ jobs:
echo "$HOME/bin" >> $GITHUB_PATH
# Install missing build-essential
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y build-essential python3
Copy link
Member

Choose a reason for hiding this comment

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

is this an issue with the runner or the node action? we might wanna pin the version to not randomly having binary builds fail (if possible at all)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it would be a limitation of the runner, currently in beta. Not clear yet that it solves the issue.

Copy link
Contributor

github-actions bot commented Jun 5, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 88812e1 Previous: 3a9efd2 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 333.76 us/op 770.71 us/op 0.43
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 37.486 us/op 40.807 us/op 0.92
BLS verify - blst-native 1.0574 ms/op 1.0570 ms/op 1.00
BLS verifyMultipleSignatures 3 - blst-native 2.2548 ms/op 2.2524 ms/op 1.00
BLS verifyMultipleSignatures 8 - blst-native 5.0410 ms/op 4.9899 ms/op 1.01
BLS verifyMultipleSignatures 32 - blst-native 18.834 ms/op 18.366 ms/op 1.03
BLS verifyMultipleSignatures 64 - blst-native 37.110 ms/op 36.194 ms/op 1.03
BLS verifyMultipleSignatures 128 - blst-native 73.340 ms/op 71.783 ms/op 1.02
BLS deserializing 10000 signatures 768.76 ms/op 756.90 ms/op 1.02
BLS deserializing 100000 signatures 7.7680 s/op 7.5697 s/op 1.03
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.0805 ms/op 1.1557 ms/op 0.93
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.2285 ms/op 1.2593 ms/op 0.98
BLS verifyMultipleSignatures - same message - 32 - blst-native 1.9268 ms/op 1.9837 ms/op 0.97
BLS verifyMultipleSignatures - same message - 64 - blst-native 2.8579 ms/op 2.9443 ms/op 0.97
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.1123 ms/op 5.8796 ms/op 1.04
BLS aggregatePubkeys 32 - blst-native 22.682 us/op 22.806 us/op 0.99
BLS aggregatePubkeys 128 - blst-native 88.634 us/op 87.101 us/op 1.02
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 55.545 ms/op 63.867 ms/op 0.87
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 56.208 ms/op 42.979 ms/op 1.31
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 29.684 ms/op 29.237 ms/op 1.02
getSlashingsAndExits - default max 68.681 us/op 85.177 us/op 0.81
getSlashingsAndExits - 2k 259.01 us/op 240.83 us/op 1.08
proposeBlockBody type=full, size=empty 4.6500 ms/op 4.6278 ms/op 1.00
isKnown best case - 1 super set check 481.00 ns/op 596.00 ns/op 0.81
isKnown normal case - 2 super set checks 464.00 ns/op 556.00 ns/op 0.83
isKnown worse case - 16 super set checks 462.00 ns/op 573.00 ns/op 0.81
InMemoryCheckpointStateCache - add get delete 4.2610 us/op 4.1720 us/op 1.02
validate api signedAggregateAndProof - struct 2.3966 ms/op 2.3842 ms/op 1.01
validate gossip signedAggregateAndProof - struct 2.4087 ms/op 2.3888 ms/op 1.01
validate gossip attestation - vc 640000 1.1420 ms/op 1.1432 ms/op 1.00
batch validate gossip attestation - vc 640000 - chunk 32 136.76 us/op 133.29 us/op 1.03
batch validate gossip attestation - vc 640000 - chunk 64 122.44 us/op 113.70 us/op 1.08
batch validate gossip attestation - vc 640000 - chunk 128 116.01 us/op 108.40 us/op 1.07
batch validate gossip attestation - vc 640000 - chunk 256 112.90 us/op 108.17 us/op 1.04
pickEth1Vote - no votes 915.05 us/op 852.69 us/op 1.07
pickEth1Vote - max votes 7.5156 ms/op 9.3808 ms/op 0.80
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.880 ms/op 13.122 ms/op 1.13
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 23.805 ms/op 23.370 ms/op 1.02
pickEth1Vote - Eth1Data fastSerialize value x2048 385.66 us/op 367.90 us/op 1.05
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.0058 ms/op 7.1345 ms/op 0.70
bytes32 toHexString 789.00 ns/op 616.00 ns/op 1.28
bytes32 Buffer.toString(hex) 482.00 ns/op 418.00 ns/op 1.15
bytes32 Buffer.toString(hex) from Uint8Array 673.00 ns/op 599.00 ns/op 1.12
bytes32 Buffer.toString(hex) + 0x 499.00 ns/op 426.00 ns/op 1.17
Object access 1 prop 0.38000 ns/op 0.33300 ns/op 1.14
Map access 1 prop 0.32900 ns/op 0.32000 ns/op 1.03
Object get x1000 5.0090 ns/op 5.2950 ns/op 0.95
Map get x1000 5.5320 ns/op 6.3680 ns/op 0.87
Object set x1000 25.056 ns/op 22.211 ns/op 1.13
Map set x1000 21.318 ns/op 18.545 ns/op 1.15
Return object 10000 times 0.30220 ns/op 0.29010 ns/op 1.04
Throw Error 10000 times 2.7303 us/op 2.6817 us/op 1.02
fastMsgIdFn sha256 / 200 bytes 2.0620 us/op 1.9650 us/op 1.05
fastMsgIdFn h32 xxhash / 200 bytes 475.00 ns/op 411.00 ns/op 1.16
fastMsgIdFn h64 xxhash / 200 bytes 467.00 ns/op 462.00 ns/op 1.01
fastMsgIdFn sha256 / 1000 bytes 6.0950 us/op 6.0360 us/op 1.01
fastMsgIdFn h32 xxhash / 1000 bytes 607.00 ns/op 552.00 ns/op 1.10
fastMsgIdFn h64 xxhash / 1000 bytes 536.00 ns/op 542.00 ns/op 0.99
fastMsgIdFn sha256 / 10000 bytes 50.753 us/op 48.727 us/op 1.04
fastMsgIdFn h32 xxhash / 10000 bytes 1.9830 us/op 2.0400 us/op 0.97
fastMsgIdFn h64 xxhash / 10000 bytes 1.3420 us/op 1.4080 us/op 0.95
send data - 1000 256B messages 10.586 ms/op 9.7238 ms/op 1.09
send data - 1000 512B messages 15.482 ms/op 13.497 ms/op 1.15
send data - 1000 1024B messages 23.887 ms/op 24.303 ms/op 0.98
send data - 1000 1200B messages 24.888 ms/op 24.958 ms/op 1.00
send data - 1000 2048B messages 31.010 ms/op 31.896 ms/op 0.97
send data - 1000 4096B messages 26.860 ms/op 26.676 ms/op 1.01
send data - 1000 16384B messages 67.900 ms/op 62.020 ms/op 1.09
send data - 1000 65536B messages 237.07 ms/op 282.15 ms/op 0.84
enrSubnets - fastDeserialize 64 bits 1.2150 us/op 1.5990 us/op 0.76
enrSubnets - ssz BitVector 64 bits 524.00 ns/op 669.00 ns/op 0.78
enrSubnets - fastDeserialize 4 bits 341.00 ns/op 399.00 ns/op 0.85
enrSubnets - ssz BitVector 4 bits 535.00 ns/op 659.00 ns/op 0.81
prioritizePeers score -10:0 att 32-0.1 sync 2-0 124.97 us/op 142.10 us/op 0.88
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 163.70 us/op 152.15 us/op 1.08
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 218.84 us/op 335.90 us/op 0.65
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 436.20 us/op 451.50 us/op 0.97
prioritizePeers score 0:0 att 64-1 sync 4-1 606.55 us/op 818.06 us/op 0.74
array of 16000 items push then shift 1.3930 us/op 1.3274 us/op 1.05
LinkedList of 16000 items push then shift 6.6530 ns/op 9.7260 ns/op 0.68
array of 16000 items push then pop 126.38 ns/op 120.23 ns/op 1.05
LinkedList of 16000 items push then pop 6.6940 ns/op 6.3590 ns/op 1.05
array of 24000 items push then shift 1.9840 us/op 1.9483 us/op 1.02
LinkedList of 24000 items push then shift 6.5280 ns/op 6.5060 ns/op 1.00
array of 24000 items push then pop 116.49 ns/op 175.84 ns/op 0.66
LinkedList of 24000 items push then pop 6.4310 ns/op 7.4340 ns/op 0.87
intersect bitArray bitLen 8 5.6450 ns/op 5.7580 ns/op 0.98
intersect array and set length 8 42.862 ns/op 38.947 ns/op 1.10
intersect bitArray bitLen 128 26.115 ns/op 26.946 ns/op 0.97
intersect array and set length 128 630.70 ns/op 581.84 ns/op 1.08
bitArray.getTrueBitIndexes() bitLen 128 2.5540 us/op 1.7230 us/op 1.48
bitArray.getTrueBitIndexes() bitLen 248 3.6580 us/op 2.5610 us/op 1.43
bitArray.getTrueBitIndexes() bitLen 512 7.5850 us/op 5.9030 us/op 1.28
Buffer.concat 32 items 1.0310 us/op 1.0410 us/op 0.99
Uint8Array.set 32 items 2.0010 us/op 1.3970 us/op 1.43
Buffer.copy 1.9490 us/op 1.5070 us/op 1.29
Uint8Array.set - with subarray 2.7690 us/op 1.9190 us/op 1.44
Uint8Array.set - without subarray 1.8450 us/op 1.2840 us/op 1.44
Set add up to 64 items then delete first 1.8661 us/op 1.7851 us/op 1.05
OrderedSet add up to 64 items then delete first 2.9665 us/op 2.9910 us/op 0.99
Set add up to 64 items then delete last 2.1400 us/op 2.1374 us/op 1.00
OrderedSet add up to 64 items then delete last 3.3201 us/op 3.8785 us/op 0.86
Set add up to 64 items then delete middle 2.1564 us/op 2.3034 us/op 0.94
OrderedSet add up to 64 items then delete middle 4.7437 us/op 4.5665 us/op 1.04
Set add up to 128 items then delete first 4.2106 us/op 4.1106 us/op 1.02
OrderedSet add up to 128 items then delete first 6.5306 us/op 6.4739 us/op 1.01
Set add up to 128 items then delete last 4.0434 us/op 4.1073 us/op 0.98
OrderedSet add up to 128 items then delete last 6.1972 us/op 5.8544 us/op 1.06
Set add up to 128 items then delete middle 4.1250 us/op 4.1429 us/op 1.00
OrderedSet add up to 128 items then delete middle 12.464 us/op 12.417 us/op 1.00
Set add up to 256 items then delete first 9.2642 us/op 7.8389 us/op 1.18
OrderedSet add up to 256 items then delete first 14.725 us/op 12.367 us/op 1.19
Set add up to 256 items then delete last 10.727 us/op 7.6035 us/op 1.41
OrderedSet add up to 256 items then delete last 13.505 us/op 11.909 us/op 1.13
Set add up to 256 items then delete middle 8.6518 us/op 7.7564 us/op 1.12
OrderedSet add up to 256 items then delete middle 40.797 us/op 36.824 us/op 1.11
transfer serialized Status (84 B) 1.6890 us/op 1.3770 us/op 1.23
copy serialized Status (84 B) 1.4940 us/op 1.3260 us/op 1.13
transfer serialized SignedVoluntaryExit (112 B) 1.7690 us/op 1.4860 us/op 1.19
copy serialized SignedVoluntaryExit (112 B) 1.5420 us/op 1.4070 us/op 1.10
transfer serialized ProposerSlashing (416 B) 2.2200 us/op 1.6740 us/op 1.33
copy serialized ProposerSlashing (416 B) 2.0770 us/op 1.5560 us/op 1.33
transfer serialized Attestation (485 B) 2.0240 us/op 1.6280 us/op 1.24
copy serialized Attestation (485 B) 2.2700 us/op 1.7160 us/op 1.32
transfer serialized AttesterSlashing (33232 B) 3.0330 us/op 1.7890 us/op 1.70
copy serialized AttesterSlashing (33232 B) 9.0750 us/op 4.2470 us/op 2.14
transfer serialized Small SignedBeaconBlock (128000 B) 3.3690 us/op 2.1800 us/op 1.55
copy serialized Small SignedBeaconBlock (128000 B) 12.963 us/op 10.272 us/op 1.26
transfer serialized Avg SignedBeaconBlock (200000 B) 3.4540 us/op 2.2950 us/op 1.51
copy serialized Avg SignedBeaconBlock (200000 B) 15.252 us/op 14.333 us/op 1.06
transfer serialized BlobsSidecar (524380 B) 3.6630 us/op 3.1120 us/op 1.18
copy serialized BlobsSidecar (524380 B) 82.199 us/op 80.628 us/op 1.02
transfer serialized Big SignedBeaconBlock (1000000 B) 3.7190 us/op 3.6130 us/op 1.03
copy serialized Big SignedBeaconBlock (1000000 B) 176.93 us/op 155.35 us/op 1.14
pass gossip attestations to forkchoice per slot 2.5696 ms/op 2.7295 ms/op 0.94
forkChoice updateHead vc 100000 bc 64 eq 0 430.36 us/op 645.07 us/op 0.67
forkChoice updateHead vc 600000 bc 64 eq 0 2.5867 ms/op 2.6107 ms/op 0.99
forkChoice updateHead vc 1000000 bc 64 eq 0 4.5124 ms/op 4.4681 ms/op 1.01
forkChoice updateHead vc 600000 bc 320 eq 0 2.6241 ms/op 2.6040 ms/op 1.01
forkChoice updateHead vc 600000 bc 1200 eq 0 2.6790 ms/op 2.8135 ms/op 0.95
forkChoice updateHead vc 600000 bc 7200 eq 0 2.9391 ms/op 3.4737 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 1000 9.7900 ms/op 9.5413 ms/op 1.03
forkChoice updateHead vc 600000 bc 64 eq 10000 9.7205 ms/op 9.6695 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 300000 11.974 ms/op 12.197 ms/op 0.98
computeDeltas 500000 validators 300 proto nodes 3.2170 ms/op 3.1520 ms/op 1.02
computeDeltas 500000 validators 1200 proto nodes 3.1251 ms/op 3.0631 ms/op 1.02
computeDeltas 500000 validators 7200 proto nodes 3.1168 ms/op 3.0252 ms/op 1.03
computeDeltas 750000 validators 300 proto nodes 4.7778 ms/op 4.5140 ms/op 1.06
computeDeltas 750000 validators 1200 proto nodes 4.5681 ms/op 4.3891 ms/op 1.04
computeDeltas 750000 validators 7200 proto nodes 4.5535 ms/op 4.5127 ms/op 1.01
computeDeltas 1400000 validators 300 proto nodes 8.2684 ms/op 8.3145 ms/op 0.99
computeDeltas 1400000 validators 1200 proto nodes 8.2301 ms/op 8.4393 ms/op 0.98
computeDeltas 1400000 validators 7200 proto nodes 8.8143 ms/op 8.6761 ms/op 1.02
computeDeltas 2100000 validators 300 proto nodes 13.498 ms/op 12.963 ms/op 1.04
computeDeltas 2100000 validators 1200 proto nodes 13.006 ms/op 12.714 ms/op 1.02
computeDeltas 2100000 validators 7200 proto nodes 12.853 ms/op 12.865 ms/op 1.00
altair processAttestation - 250000 vs - 7PWei normalcase 1.9111 ms/op 1.3129 ms/op 1.46
altair processAttestation - 250000 vs - 7PWei worstcase 2.8715 ms/op 2.1067 ms/op 1.36
altair processAttestation - setStatus - 1/6 committees join 75.535 us/op 66.593 us/op 1.13
altair processAttestation - setStatus - 1/3 committees join 154.68 us/op 133.38 us/op 1.16
altair processAttestation - setStatus - 1/2 committees join 215.90 us/op 212.48 us/op 1.02
altair processAttestation - setStatus - 2/3 committees join 264.98 us/op 262.17 us/op 1.01
altair processAttestation - setStatus - 4/5 committees join 424.99 us/op 390.24 us/op 1.09
altair processAttestation - setStatus - 100% committees join 511.23 us/op 470.35 us/op 1.09
altair processBlock - 250000 vs - 7PWei normalcase 4.6863 ms/op 4.5009 ms/op 1.04
altair processBlock - 250000 vs - 7PWei normalcase hashState 25.739 ms/op 24.246 ms/op 1.06
altair processBlock - 250000 vs - 7PWei worstcase 40.691 ms/op 39.656 ms/op 1.03
altair processBlock - 250000 vs - 7PWei worstcase hashState 93.444 ms/op 78.353 ms/op 1.19
phase0 processBlock - 250000 vs - 7PWei normalcase 2.1788 ms/op 2.1280 ms/op 1.02
phase0 processBlock - 250000 vs - 7PWei worstcase 28.235 ms/op 24.860 ms/op 1.14
altair processEth1Data - 250000 vs - 7PWei normalcase 246.23 us/op 255.56 us/op 0.96
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 5.8200 us/op 4.4450 us/op 1.31
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 23.746 us/op 21.224 us/op 1.12
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 7.6130 us/op 7.4320 us/op 1.02
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 7.0390 us/op 5.5400 us/op 1.27
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 82.236 us/op 77.503 us/op 1.06
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 749.66 us/op 779.58 us/op 0.96
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 669.35 us/op 677.37 us/op 0.99
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 701.75 us/op 601.45 us/op 1.17
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 1.7229 ms/op 1.6283 ms/op 1.06
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.2998 ms/op 1.1078 ms/op 1.17
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 2.5089 ms/op 2.7087 ms/op 0.93
Tree 40 250000 create 175.11 ms/op 194.61 ms/op 0.90
Tree 40 250000 get(125000) 114.76 ns/op 121.47 ns/op 0.94
Tree 40 250000 set(125000) 560.56 ns/op 594.50 ns/op 0.94
Tree 40 250000 toArray() 16.789 ms/op 16.953 ms/op 0.99
Tree 40 250000 iterate all - toArray() + loop 19.051 ms/op 10.290 ms/op 1.85
Tree 40 250000 iterate all - get(i) 46.299 ms/op 41.501 ms/op 1.12
MutableVector 250000 create 8.9469 ms/op 7.6722 ms/op 1.17
MutableVector 250000 get(125000) 5.8750 ns/op 5.7780 ns/op 1.02
MutableVector 250000 set(125000) 199.47 ns/op 188.07 ns/op 1.06
MutableVector 250000 toArray() 4.5304 ms/op 2.7261 ms/op 1.66
MutableVector 250000 iterate all - toArray() + loop 4.2308 ms/op 2.8481 ms/op 1.49
MutableVector 250000 iterate all - get(i) 1.5486 ms/op 1.4403 ms/op 1.08
Array 250000 create 3.3580 ms/op 2.5841 ms/op 1.30
Array 250000 clone - spread 1.3623 ms/op 1.4186 ms/op 0.96
Array 250000 get(125000) 0.57500 ns/op 0.57700 ns/op 1.00
Array 250000 set(125000) 0.60800 ns/op 0.58800 ns/op 1.03
Array 250000 iterate all - loop 79.055 us/op 77.237 us/op 1.02
effectiveBalanceIncrements clone Uint8Array 300000 23.139 us/op 15.112 us/op 1.53
effectiveBalanceIncrements clone MutableVector 300000 313.00 ns/op 311.00 ns/op 1.01
effectiveBalanceIncrements rw all Uint8Array 300000 163.43 us/op 166.80 us/op 0.98
effectiveBalanceIncrements rw all MutableVector 300000 60.242 ms/op 63.176 ms/op 0.95
phase0 afterProcessEpoch - 250000 vs - 7PWei 80.708 ms/op 77.369 ms/op 1.04
phase0 beforeProcessEpoch - 250000 vs - 7PWei 37.815 ms/op 29.718 ms/op 1.27
altair processEpoch - mainnet_e81889 412.43 ms/op 326.92 ms/op 1.26
mainnet_e81889 - altair beforeProcessEpoch 61.654 ms/op 35.825 ms/op 1.72
mainnet_e81889 - altair processJustificationAndFinalization 11.984 us/op 11.216 us/op 1.07
mainnet_e81889 - altair processInactivityUpdates 5.1803 ms/op 3.8017 ms/op 1.36
mainnet_e81889 - altair processRewardsAndPenalties 48.510 ms/op 45.039 ms/op 1.08
mainnet_e81889 - altair processRegistryUpdates 2.9100 us/op 3.6920 us/op 0.79
mainnet_e81889 - altair processSlashings 938.00 ns/op 687.00 ns/op 1.37
mainnet_e81889 - altair processEth1DataReset 944.00 ns/op 387.00 ns/op 2.44
mainnet_e81889 - altair processEffectiveBalanceUpdates 870.15 us/op 784.68 us/op 1.11
mainnet_e81889 - altair processSlashingsReset 4.8130 us/op 1.2700 us/op 3.79
mainnet_e81889 - altair processRandaoMixesReset 5.6890 us/op 1.7030 us/op 3.34
mainnet_e81889 - altair processHistoricalRootsUpdate 762.00 ns/op 390.00 ns/op 1.95
mainnet_e81889 - altair processParticipationFlagUpdates 3.8740 us/op 949.00 ns/op 4.08
mainnet_e81889 - altair processSyncCommitteeUpdates 1.2860 us/op 410.00 ns/op 3.14
mainnet_e81889 - altair afterProcessEpoch 83.788 ms/op 79.351 ms/op 1.06
capella processEpoch - mainnet_e217614 1.2296 s/op 1.1647 s/op 1.06
mainnet_e217614 - capella beforeProcessEpoch 225.48 ms/op 234.66 ms/op 0.96
mainnet_e217614 - capella processJustificationAndFinalization 13.443 us/op 13.658 us/op 0.98
mainnet_e217614 - capella processInactivityUpdates 16.652 ms/op 13.124 ms/op 1.27
mainnet_e217614 - capella processRewardsAndPenalties 256.55 ms/op 226.60 ms/op 1.13
mainnet_e217614 - capella processRegistryUpdates 13.551 us/op 12.380 us/op 1.09
mainnet_e217614 - capella processSlashings 848.00 ns/op 834.00 ns/op 1.02
mainnet_e217614 - capella processEth1DataReset 828.00 ns/op 680.00 ns/op 1.22
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.4095 ms/op 10.942 ms/op 0.40
mainnet_e217614 - capella processSlashingsReset 3.1460 us/op 3.0670 us/op 1.03
mainnet_e217614 - capella processRandaoMixesReset 4.8180 us/op 3.6600 us/op 1.32
mainnet_e217614 - capella processHistoricalRootsUpdate 1.4760 us/op 910.00 ns/op 1.62
mainnet_e217614 - capella processParticipationFlagUpdates 2.0420 us/op 1.9200 us/op 1.06
mainnet_e217614 - capella afterProcessEpoch 246.22 ms/op 246.14 ms/op 1.00
phase0 processEpoch - mainnet_e58758 315.43 ms/op 313.93 ms/op 1.00
mainnet_e58758 - phase0 beforeProcessEpoch 104.17 ms/op 108.58 ms/op 0.96
mainnet_e58758 - phase0 processJustificationAndFinalization 10.601 us/op 7.0430 us/op 1.51
mainnet_e58758 - phase0 processRewardsAndPenalties 37.727 ms/op 39.305 ms/op 0.96
mainnet_e58758 - phase0 processRegistryUpdates 9.0080 us/op 6.1900 us/op 1.46
mainnet_e58758 - phase0 processSlashings 710.00 ns/op 695.00 ns/op 1.02
mainnet_e58758 - phase0 processEth1DataReset 731.00 ns/op 691.00 ns/op 1.06
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1121 ms/op 1.3788 ms/op 0.81
mainnet_e58758 - phase0 processSlashingsReset 4.5320 us/op 2.3670 us/op 1.91
mainnet_e58758 - phase0 processRandaoMixesReset 3.5580 us/op 2.9340 us/op 1.21
mainnet_e58758 - phase0 processHistoricalRootsUpdate 707.00 ns/op 690.00 ns/op 1.02
mainnet_e58758 - phase0 processParticipationRecordUpdates 2.7450 us/op 2.6840 us/op 1.02
mainnet_e58758 - phase0 afterProcessEpoch 65.669 ms/op 65.416 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 800.67 us/op 781.39 us/op 1.02
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.0579 ms/op 1.0774 ms/op 0.98
altair processInactivityUpdates - 250000 normalcase 17.169 ms/op 15.940 ms/op 1.08
altair processInactivityUpdates - 250000 worstcase 19.376 ms/op 17.751 ms/op 1.09
phase0 processRegistryUpdates - 250000 normalcase 6.4000 us/op 3.1830 us/op 2.01
phase0 processRegistryUpdates - 250000 badcase_full_deposits 285.19 us/op 304.99 us/op 0.94
phase0 processRegistryUpdates - 250000 worstcase 0.5 119.57 ms/op 108.82 ms/op 1.10
altair processRewardsAndPenalties - 250000 normalcase 44.223 ms/op 41.688 ms/op 1.06
altair processRewardsAndPenalties - 250000 worstcase 42.686 ms/op 37.653 ms/op 1.13
phase0 getAttestationDeltas - 250000 normalcase 5.9549 ms/op 5.8829 ms/op 1.01
phase0 getAttestationDeltas - 250000 worstcase 6.1323 ms/op 5.9447 ms/op 1.03
phase0 processSlashings - 250000 worstcase 87.894 us/op 87.768 us/op 1.00
altair processSyncCommitteeUpdates - 250000 115.53 ms/op 98.375 ms/op 1.17
BeaconState.hashTreeRoot - No change 489.00 ns/op 470.00 ns/op 1.04
BeaconState.hashTreeRoot - 1 full validator 107.82 us/op 73.777 us/op 1.46
BeaconState.hashTreeRoot - 32 full validator 1.0462 ms/op 1.0672 ms/op 0.98
BeaconState.hashTreeRoot - 512 full validator 14.479 ms/op 13.183 ms/op 1.10
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 140.56 us/op 138.17 us/op 1.02
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.6427 ms/op 1.8385 ms/op 0.89
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 20.594 ms/op 30.186 ms/op 0.68
BeaconState.hashTreeRoot - 1 balances 89.032 us/op 127.40 us/op 0.70
BeaconState.hashTreeRoot - 32 balances 1.0037 ms/op 1.1290 ms/op 0.89
BeaconState.hashTreeRoot - 512 balances 11.786 ms/op 10.255 ms/op 1.15
BeaconState.hashTreeRoot - 250000 balances 138.32 ms/op 177.19 ms/op 0.78
aggregationBits - 2048 els - zipIndexesInBitList 19.345 us/op 19.552 us/op 0.99
byteArrayEquals 32 47.946 ns/op 47.884 ns/op 1.00
Buffer.compare 32 41.307 ns/op 41.384 ns/op 1.00
byteArrayEquals 1024 1.2604 us/op 1.2533 us/op 1.01
Buffer.compare 1024 51.485 ns/op 62.999 ns/op 0.82
byteArrayEquals 16384 20.090 us/op 19.911 us/op 1.01
Buffer.compare 16384 202.91 ns/op 210.06 ns/op 0.97
byteArrayEquals 123687377 152.93 ms/op 149.94 ms/op 1.02
Buffer.compare 123687377 3.9899 ms/op 4.2786 ms/op 0.93
byteArrayEquals 32 - diff last byte 47.758 ns/op 45.907 ns/op 1.04
Buffer.compare 32 - diff last byte 40.352 ns/op 38.180 ns/op 1.06
byteArrayEquals 1024 - diff last byte 1.2848 us/op 1.2327 us/op 1.04
Buffer.compare 1024 - diff last byte 50.863 ns/op 46.524 ns/op 1.09
byteArrayEquals 16384 - diff last byte 20.152 us/op 19.578 us/op 1.03
Buffer.compare 16384 - diff last byte 221.37 ns/op 218.32 ns/op 1.01
byteArrayEquals 123687377 - diff last byte 154.23 ms/op 149.50 ms/op 1.03
Buffer.compare 123687377 - diff last byte 4.8980 ms/op 4.6782 ms/op 1.05
byteArrayEquals 32 - random bytes 5.1480 ns/op 5.0280 ns/op 1.02
Buffer.compare 32 - random bytes 47.238 ns/op 39.555 ns/op 1.19
byteArrayEquals 1024 - random bytes 5.5210 ns/op 5.0540 ns/op 1.09
Buffer.compare 1024 - random bytes 44.241 ns/op 37.876 ns/op 1.17
byteArrayEquals 16384 - random bytes 5.2650 ns/op 4.8470 ns/op 1.09
Buffer.compare 16384 - random bytes 40.520 ns/op 39.295 ns/op 1.03
byteArrayEquals 123687377 - random bytes 8.0100 ns/op 7.9200 ns/op 1.01
Buffer.compare 123687377 - random bytes 43.350 ns/op 41.510 ns/op 1.04
regular array get 100000 times 31.318 us/op 30.288 us/op 1.03
wrappedArray get 100000 times 31.416 us/op 30.105 us/op 1.04
arrayWithProxy get 100000 times 10.373 ms/op 9.0185 ms/op 1.15
ssz.Root.equals 46.209 ns/op 43.822 ns/op 1.05
byteArrayEquals 42.588 ns/op 46.829 ns/op 0.91
Buffer.compare 8.9010 ns/op 9.6530 ns/op 0.92
shuffle list - 16384 els 5.7377 ms/op 5.5941 ms/op 1.03
shuffle list - 250000 els 86.047 ms/op 85.277 ms/op 1.01
processSlot - 1 slots 11.982 us/op 9.3120 us/op 1.29
processSlot - 32 slots 3.4398 ms/op 1.7771 ms/op 1.94
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 35.676 ms/op 37.835 ms/op 0.94
getCommitteeAssignments - req 1 vs - 250000 vc 1.8260 ms/op 1.8223 ms/op 1.00
getCommitteeAssignments - req 100 vs - 250000 vc 3.6370 ms/op 3.5730 ms/op 1.02
getCommitteeAssignments - req 1000 vs - 250000 vc 3.9156 ms/op 4.0535 ms/op 0.97
findModifiedValidators - 10000 modified validators 250.24 ms/op 274.19 ms/op 0.91
findModifiedValidators - 1000 modified validators 166.32 ms/op 187.89 ms/op 0.89
findModifiedValidators - 100 modified validators 172.74 ms/op 206.18 ms/op 0.84
findModifiedValidators - 10 modified validators 158.85 ms/op 162.39 ms/op 0.98
findModifiedValidators - 1 modified validators 154.50 ms/op 151.60 ms/op 1.02
findModifiedValidators - no difference 151.31 ms/op 139.22 ms/op 1.09
compare ViewDUs 3.1456 s/op 3.0118 s/op 1.04
compare each validator Uint8Array 1.4920 s/op 1.4222 s/op 1.05
compare ViewDU to Uint8Array 763.29 ms/op 864.09 ms/op 0.88
migrate state 1000000 validators, 24 modified, 0 new 573.26 ms/op 547.02 ms/op 1.05
migrate state 1000000 validators, 1700 modified, 1000 new 708.66 ms/op 721.57 ms/op 0.98
migrate state 1000000 validators, 3400 modified, 2000 new 963.40 ms/op 846.67 ms/op 1.14
migrate state 1500000 validators, 24 modified, 0 new 545.70 ms/op 560.26 ms/op 0.97
migrate state 1500000 validators, 1700 modified, 1000 new 796.23 ms/op 679.24 ms/op 1.17
migrate state 1500000 validators, 3400 modified, 2000 new 1.0270 s/op 866.21 ms/op 1.19
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 6.0600 ns/op 6.0800 ns/op 1.00
state getBlockRootAtSlot - 250000 vs - 7PWei 671.01 ns/op 827.03 ns/op 0.81
computeProposers - vc 250000 5.8825 ms/op 6.0510 ms/op 0.97
computeEpochShuffling - vc 250000 78.553 ms/op 79.309 ms/op 0.99
getNextSyncCommittee - vc 250000 99.318 ms/op 109.74 ms/op 0.91
computeSigningRoot for AttestationData 23.815 us/op 22.146 us/op 1.08
hash AttestationData serialized data then Buffer.toString(base64) 1.1838 us/op 1.1347 us/op 1.04
toHexString serialized data 727.49 ns/op 721.51 ns/op 1.01
Buffer.toString(base64) 134.19 ns/op 134.04 ns/op 1.00

by benchmarkbot/action

@jeluard
Copy link
Contributor Author

jeluard commented Jun 5, 2024

Replaced by #6858

@jeluard jeluard closed this Jun 5, 2024
@jeluard jeluard deleted the jeluard/fix-binaries-workflow branch June 5, 2024 09:53
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.

2 participants