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: add extra new lines to giraffe banner #7334

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jan 7, 2025

Adds extra new lines to giraffe banner for extra space (same as we did for other banners).

@nflaig nflaig requested a review from a team as a code owner January 7, 2025 13:07
@wemeetagain wemeetagain enabled auto-merge (squash) January 7, 2025 13:10
@wemeetagain wemeetagain merged commit d41fb55 into unstable Jan 7, 2025
19 of 20 checks passed
@wemeetagain wemeetagain deleted the nflaig/giraffe-extra-lines branch January 7, 2025 13:26
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.75%. Comparing base (690ee6a) to head (03359cb).
Report is 1 commits behind head on unstable.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #7334   +/-   ##
=========================================
  Coverage     48.75%   48.75%           
=========================================
  Files           601      601           
  Lines         40222    40222           
  Branches       2061     2061           
=========================================
  Hits          19609    19609           
  Misses        20575    20575           
  Partials         38       38           

Copy link
Contributor

github-actions bot commented Jan 7, 2025

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: ccf2044 Previous: 690ee6a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.7012 ms/op 1.7291 ms/op 0.98
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 48.080 us/op 52.374 us/op 0.92
BLS verify - blst 837.31 us/op 883.68 us/op 0.95
BLS verifyMultipleSignatures 3 - blst 1.2075 ms/op 2.2717 ms/op 0.53
BLS verifyMultipleSignatures 8 - blst 1.6030 ms/op 2.4446 ms/op 0.66
BLS verifyMultipleSignatures 32 - blst 4.7382 ms/op 7.2707 ms/op 0.65
BLS verifyMultipleSignatures 64 - blst 8.8545 ms/op 10.443 ms/op 0.85
BLS verifyMultipleSignatures 128 - blst 16.941 ms/op 16.954 ms/op 1.00
BLS deserializing 10000 signatures 681.31 ms/op 684.40 ms/op 1.00
BLS deserializing 100000 signatures 6.7330 s/op 7.0004 s/op 0.96
BLS verifyMultipleSignatures - same message - 3 - blst 868.47 us/op 1.2390 ms/op 0.70
BLS verifyMultipleSignatures - same message - 8 - blst 985.63 us/op 1.0910 ms/op 0.90
BLS verifyMultipleSignatures - same message - 32 - blst 1.6707 ms/op 1.8352 ms/op 0.91
BLS verifyMultipleSignatures - same message - 64 - blst 2.5673 ms/op 2.6251 ms/op 0.98
BLS verifyMultipleSignatures - same message - 128 - blst 4.2691 ms/op 4.5909 ms/op 0.93
BLS aggregatePubkeys 32 - blst 19.263 us/op 19.406 us/op 0.99
BLS aggregatePubkeys 128 - blst 68.007 us/op 68.450 us/op 0.99
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 53.673 ms/op 65.332 ms/op 0.82
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 50.104 ms/op 58.406 ms/op 0.86
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 47.162 ms/op 55.808 ms/op 0.85
getSlashingsAndExits - default max 152.34 us/op 113.90 us/op 1.34
getSlashingsAndExits - 2k 504.84 us/op 368.23 us/op 1.37
proposeBlockBody type=full, size=empty 6.8411 ms/op 5.6299 ms/op 1.22
isKnown best case - 1 super set check 413.00 ns/op 271.00 ns/op 1.52
isKnown normal case - 2 super set checks 374.00 ns/op 259.00 ns/op 1.44
isKnown worse case - 16 super set checks 419.00 ns/op 260.00 ns/op 1.61
InMemoryCheckpointStateCache - add get delete 3.3910 us/op 3.0720 us/op 1.10
validate api signedAggregateAndProof - struct 1.3884 ms/op 1.8516 ms/op 0.75
validate gossip signedAggregateAndProof - struct 1.4293 ms/op 1.9038 ms/op 0.75
batch validate gossip attestation - vc 640000 - chunk 32 133.85 us/op 133.90 us/op 1.00
batch validate gossip attestation - vc 640000 - chunk 64 116.86 us/op 113.07 us/op 1.03
batch validate gossip attestation - vc 640000 - chunk 128 110.33 us/op 107.83 us/op 1.02
batch validate gossip attestation - vc 640000 - chunk 256 109.50 us/op 103.21 us/op 1.06
pickEth1Vote - no votes 1.1145 ms/op 1.0397 ms/op 1.07
pickEth1Vote - max votes 5.7829 ms/op 6.7298 ms/op 0.86
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.314 ms/op 11.939 ms/op 1.03
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.410 ms/op 19.215 ms/op 1.01
pickEth1Vote - Eth1Data fastSerialize value x2048 561.39 us/op 498.50 us/op 1.13
pickEth1Vote - Eth1Data fastSerialize tree x2048 2.8081 ms/op 2.6588 ms/op 1.06
bytes32 toHexString 575.00 ns/op 444.00 ns/op 1.30
bytes32 Buffer.toString(hex) 249.00 ns/op 236.00 ns/op 1.06
bytes32 Buffer.toString(hex) from Uint8Array 465.00 ns/op 367.00 ns/op 1.27
bytes32 Buffer.toString(hex) + 0x 269.00 ns/op 230.00 ns/op 1.17
Object access 1 prop 0.19200 ns/op 0.13600 ns/op 1.41
Map access 1 prop 0.13100 ns/op 0.13700 ns/op 0.96
Object get x1000 5.9100 ns/op 6.0830 ns/op 0.97
Map get x1000 6.7730 ns/op 6.5260 ns/op 1.04
Object set x1000 38.065 ns/op 35.205 ns/op 1.08
Map set x1000 24.723 ns/op 23.420 ns/op 1.06
Return object 10000 times 0.29700 ns/op 0.29830 ns/op 1.00
Throw Error 10000 times 3.3110 us/op 3.3718 us/op 0.98
toHex 151.20 ns/op 157.14 ns/op 0.96
Buffer.from 142.23 ns/op 139.86 ns/op 1.02
shared Buffer 89.098 ns/op 84.440 ns/op 1.06
fastMsgIdFn sha256 / 200 bytes 2.2670 us/op 2.3110 us/op 0.98
fastMsgIdFn h32 xxhash / 200 bytes 280.00 ns/op 246.00 ns/op 1.14
fastMsgIdFn h64 xxhash / 200 bytes 272.00 ns/op 278.00 ns/op 0.98
fastMsgIdFn sha256 / 1000 bytes 7.2820 us/op 7.6160 us/op 0.96
fastMsgIdFn h32 xxhash / 1000 bytes 386.00 ns/op 383.00 ns/op 1.01
fastMsgIdFn h64 xxhash / 1000 bytes 344.00 ns/op 349.00 ns/op 0.99
fastMsgIdFn sha256 / 10000 bytes 64.119 us/op 66.638 us/op 0.96
fastMsgIdFn h32 xxhash / 10000 bytes 1.9410 us/op 1.9220 us/op 1.01
fastMsgIdFn h64 xxhash / 10000 bytes 1.2500 us/op 1.2400 us/op 1.01
send data - 1000 256B messages 13.429 ms/op 13.233 ms/op 1.01
send data - 1000 512B messages 17.927 ms/op 18.511 ms/op 0.97
send data - 1000 1024B messages 26.321 ms/op 27.497 ms/op 0.96
send data - 1000 1200B messages 25.792 ms/op 25.380 ms/op 1.02
send data - 1000 2048B messages 31.270 ms/op 31.285 ms/op 1.00
send data - 1000 4096B messages 30.111 ms/op 30.208 ms/op 1.00
send data - 1000 16384B messages 74.731 ms/op 71.144 ms/op 1.05
send data - 1000 65536B messages 230.44 ms/op 199.69 ms/op 1.15
enrSubnets - fastDeserialize 64 bits 1.2360 us/op 1.0120 us/op 1.22
enrSubnets - ssz BitVector 64 bits 411.00 ns/op 351.00 ns/op 1.17
enrSubnets - fastDeserialize 4 bits 166.00 ns/op 138.00 ns/op 1.20
enrSubnets - ssz BitVector 4 bits 408.00 ns/op 349.00 ns/op 1.17
prioritizePeers score -10:0 att 32-0.1 sync 2-0 157.80 us/op 128.44 us/op 1.23
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 170.86 us/op 158.55 us/op 1.08
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 338.66 us/op 227.12 us/op 1.49
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 416.11 us/op 413.55 us/op 1.01
prioritizePeers score 0:0 att 64-1 sync 4-1 582.99 us/op 507.36 us/op 1.15
array of 16000 items push then shift 1.6522 us/op 1.6519 us/op 1.00
LinkedList of 16000 items push then shift 7.4010 ns/op 7.3180 ns/op 1.01
array of 16000 items push then pop 112.02 ns/op 110.06 ns/op 1.02
LinkedList of 16000 items push then pop 6.9790 ns/op 6.6160 ns/op 1.05
array of 24000 items push then shift 2.4133 us/op 2.4900 us/op 0.97
LinkedList of 24000 items push then shift 7.6080 ns/op 7.2950 ns/op 1.04
array of 24000 items push then pop 169.24 ns/op 133.86 ns/op 1.26
LinkedList of 24000 items push then pop 7.1620 ns/op 7.2530 ns/op 0.99
intersect bitArray bitLen 8 6.3640 ns/op 6.5830 ns/op 0.97
intersect array and set length 8 48.520 ns/op 45.353 ns/op 1.07
intersect bitArray bitLen 128 29.590 ns/op 31.059 ns/op 0.95
intersect array and set length 128 779.87 ns/op 676.70 ns/op 1.15
bitArray.getTrueBitIndexes() bitLen 128 1.3640 us/op 1.2930 us/op 1.05
bitArray.getTrueBitIndexes() bitLen 248 2.5220 us/op 2.1350 us/op 1.18
bitArray.getTrueBitIndexes() bitLen 512 4.9680 us/op 4.2990 us/op 1.16
Buffer.concat 32 items 822.00 ns/op 821.00 ns/op 1.00
Uint8Array.set 32 items 1.7940 us/op 1.7630 us/op 1.02
Buffer.copy 2.5770 us/op 2.7670 us/op 0.93
Uint8Array.set - with subarray 2.7080 us/op 2.2150 us/op 1.22
Uint8Array.set - without subarray 1.5320 us/op 1.7640 us/op 0.87
getUint32 - dataview 245.00 ns/op 214.00 ns/op 1.14
getUint32 - manual 161.00 ns/op 142.00 ns/op 1.13
Set add up to 64 items then delete first 2.3437 us/op 2.0726 us/op 1.13
OrderedSet add up to 64 items then delete first 3.5272 us/op 3.0696 us/op 1.15
Set add up to 64 items then delete last 2.4634 us/op 2.3636 us/op 1.04
OrderedSet add up to 64 items then delete last 3.9208 us/op 3.4129 us/op 1.15
Set add up to 64 items then delete middle 2.5278 us/op 2.3759 us/op 1.06
OrderedSet add up to 64 items then delete middle 5.0460 us/op 4.9337 us/op 1.02
Set add up to 128 items then delete first 5.5431 us/op 4.9025 us/op 1.13
OrderedSet add up to 128 items then delete first 7.8163 us/op 7.5699 us/op 1.03
Set add up to 128 items then delete last 5.0322 us/op 4.6663 us/op 1.08
OrderedSet add up to 128 items then delete last 7.2258 us/op 6.9071 us/op 1.05
Set add up to 128 items then delete middle 4.8255 us/op 4.6592 us/op 1.04
OrderedSet add up to 128 items then delete middle 13.826 us/op 13.005 us/op 1.06
Set add up to 256 items then delete first 10.486 us/op 10.102 us/op 1.04
OrderedSet add up to 256 items then delete first 17.047 us/op 15.411 us/op 1.11
Set add up to 256 items then delete last 10.894 us/op 9.2307 us/op 1.18
OrderedSet add up to 256 items then delete last 18.664 us/op 13.729 us/op 1.36
Set add up to 256 items then delete middle 11.757 us/op 9.2079 us/op 1.28
OrderedSet add up to 256 items then delete middle 45.619 us/op 39.276 us/op 1.16
transfer serialized Status (84 B) 2.7570 us/op 2.3590 us/op 1.17
copy serialized Status (84 B) 1.5270 us/op 1.2510 us/op 1.22
transfer serialized SignedVoluntaryExit (112 B) 3.2460 us/op 2.5060 us/op 1.30
copy serialized SignedVoluntaryExit (112 B) 1.7440 us/op 1.3050 us/op 1.34
transfer serialized ProposerSlashing (416 B) 4.2650 us/op 3.0110 us/op 1.42
copy serialized ProposerSlashing (416 B) 2.1460 us/op 2.2450 us/op 0.96
transfer serialized Attestation (485 B) 3.6520 us/op 3.2470 us/op 1.12
copy serialized Attestation (485 B) 2.3820 us/op 2.2080 us/op 1.08
transfer serialized AttesterSlashing (33232 B) 3.7600 us/op 3.8240 us/op 0.98
copy serialized AttesterSlashing (33232 B) 8.4400 us/op 5.5160 us/op 1.53
transfer serialized Small SignedBeaconBlock (128000 B) 3.3960 us/op 4.4940 us/op 0.76
copy serialized Small SignedBeaconBlock (128000 B) 21.693 us/op 14.093 us/op 1.54
transfer serialized Avg SignedBeaconBlock (200000 B) 4.1150 us/op 4.9090 us/op 0.84
copy serialized Avg SignedBeaconBlock (200000 B) 32.582 us/op 19.653 us/op 1.66
transfer serialized BlobsSidecar (524380 B) 4.0280 us/op 4.2470 us/op 0.95
copy serialized BlobsSidecar (524380 B) 92.451 us/op 84.766 us/op 1.09
transfer serialized Big SignedBeaconBlock (1000000 B) 5.4050 us/op 4.2350 us/op 1.28
copy serialized Big SignedBeaconBlock (1000000 B) 164.42 us/op 146.54 us/op 1.12
pass gossip attestations to forkchoice per slot 2.8395 ms/op 2.7622 ms/op 1.03
forkChoice updateHead vc 100000 bc 64 eq 0 461.07 us/op 502.60 us/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 0 3.1871 ms/op 3.4683 ms/op 0.92
forkChoice updateHead vc 1000000 bc 64 eq 0 5.4165 ms/op 4.5407 ms/op 1.19
forkChoice updateHead vc 600000 bc 320 eq 0 3.1180 ms/op 2.5747 ms/op 1.21
forkChoice updateHead vc 600000 bc 1200 eq 0 3.1025 ms/op 2.6802 ms/op 1.16
forkChoice updateHead vc 600000 bc 7200 eq 0 3.9178 ms/op 3.1642 ms/op 1.24
forkChoice updateHead vc 600000 bc 64 eq 1000 10.476 ms/op 10.363 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 10000 9.8905 ms/op 10.110 ms/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 300000 15.652 ms/op 13.652 ms/op 1.15
computeDeltas 500000 validators 300 proto nodes 4.2258 ms/op 4.1873 ms/op 1.01
computeDeltas 500000 validators 1200 proto nodes 4.1121 ms/op 4.1886 ms/op 0.98
computeDeltas 500000 validators 7200 proto nodes 4.0893 ms/op 4.1525 ms/op 0.98
computeDeltas 750000 validators 300 proto nodes 6.0600 ms/op 6.3313 ms/op 0.96
computeDeltas 750000 validators 1200 proto nodes 6.0965 ms/op 6.8755 ms/op 0.89
computeDeltas 750000 validators 7200 proto nodes 6.1968 ms/op 6.5720 ms/op 0.94
computeDeltas 1400000 validators 300 proto nodes 11.844 ms/op 12.123 ms/op 0.98
computeDeltas 1400000 validators 1200 proto nodes 11.893 ms/op 11.735 ms/op 1.01
computeDeltas 1400000 validators 7200 proto nodes 11.545 ms/op 12.184 ms/op 0.95
computeDeltas 2100000 validators 300 proto nodes 17.078 ms/op 18.076 ms/op 0.94
computeDeltas 2100000 validators 1200 proto nodes 17.748 ms/op 18.331 ms/op 0.97
computeDeltas 2100000 validators 7200 proto nodes 17.509 ms/op 17.885 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.9708 ms/op 2.1718 ms/op 1.37
altair processAttestation - 250000 vs - 7PWei worstcase 2.9152 ms/op 2.9673 ms/op 0.98
altair processAttestation - setStatus - 1/6 committees join 144.88 us/op 140.23 us/op 1.03
altair processAttestation - setStatus - 1/3 committees join 278.24 us/op 248.23 us/op 1.12
altair processAttestation - setStatus - 1/2 committees join 357.28 us/op 355.89 us/op 1.00
altair processAttestation - setStatus - 2/3 committees join 476.71 us/op 471.86 us/op 1.01
altair processAttestation - setStatus - 4/5 committees join 633.29 us/op 635.11 us/op 1.00
altair processAttestation - setStatus - 100% committees join 792.91 us/op 793.03 us/op 1.00
altair processBlock - 250000 vs - 7PWei normalcase 6.3413 ms/op 5.7080 ms/op 1.11
altair processBlock - 250000 vs - 7PWei normalcase hashState 28.173 ms/op 28.462 ms/op 0.99
altair processBlock - 250000 vs - 7PWei worstcase 37.073 ms/op 41.532 ms/op 0.89
altair processBlock - 250000 vs - 7PWei worstcase hashState 82.232 ms/op 87.345 ms/op 0.94
phase0 processBlock - 250000 vs - 7PWei normalcase 2.1918 ms/op 2.7929 ms/op 0.78
phase0 processBlock - 250000 vs - 7PWei worstcase 22.468 ms/op 27.392 ms/op 0.82
altair processEth1Data - 250000 vs - 7PWei normalcase 303.84 us/op 397.05 us/op 0.77
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 7.3160 us/op 8.1550 us/op 0.90
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 53.156 us/op 71.384 us/op 0.74
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 15.099 us/op 18.585 us/op 0.81
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.814 us/op 10.839 us/op 1.09
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 154.69 us/op 194.79 us/op 0.79
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4048 ms/op 1.3246 ms/op 1.06
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8053 ms/op 1.7925 ms/op 1.01
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5175 ms/op 1.5090 ms/op 1.01
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.8911 ms/op 5.4447 ms/op 0.71
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.8802 ms/op 1.8360 ms/op 1.02
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.2373 ms/op 5.1712 ms/op 0.82
Tree 40 250000 create 221.50 ms/op 321.55 ms/op 0.69
Tree 40 250000 get(125000) 142.44 ns/op 164.90 ns/op 0.86
Tree 40 250000 set(125000) 750.14 ns/op 1.0440 us/op 0.72
Tree 40 250000 toArray() 22.201 ms/op 24.902 ms/op 0.89
Tree 40 250000 iterate all - toArray() + loop 18.694 ms/op 23.885 ms/op 0.78
Tree 40 250000 iterate all - get(i) 55.773 ms/op 61.801 ms/op 0.90
Array 250000 create 3.3119 ms/op 4.0321 ms/op 0.82
Array 250000 clone - spread 1.5437 ms/op 1.8620 ms/op 0.83
Array 250000 get(125000) 0.41700 ns/op 0.45700 ns/op 0.91
Array 250000 set(125000) 0.43800 ns/op 0.48000 ns/op 0.91
Array 250000 iterate all - loop 82.856 us/op 88.612 us/op 0.94
phase0 afterProcessEpoch - 250000 vs - 7PWei 52.753 ms/op 57.248 ms/op 0.92
Array.fill - length 1000000 6.4668 ms/op 5.1827 ms/op 1.25
Array push - length 1000000 17.575 ms/op 27.457 ms/op 0.64
Array.get 0.28381 ns/op 0.29290 ns/op 0.97
Uint8Array.get 0.44529 ns/op 0.46483 ns/op 0.96
phase0 beforeProcessEpoch - 250000 vs - 7PWei 17.354 ms/op 24.657 ms/op 0.70
altair processEpoch - mainnet_e81889 276.91 ms/op 341.42 ms/op 0.81
mainnet_e81889 - altair beforeProcessEpoch 19.694 ms/op 26.214 ms/op 0.75
mainnet_e81889 - altair processJustificationAndFinalization 15.616 us/op 24.204 us/op 0.65
mainnet_e81889 - altair processInactivityUpdates 6.3731 ms/op 7.3829 ms/op 0.86
mainnet_e81889 - altair processRewardsAndPenalties 44.374 ms/op 56.691 ms/op 0.78
mainnet_e81889 - altair processRegistryUpdates 2.5420 us/op 6.9500 us/op 0.37
mainnet_e81889 - altair processSlashings 415.00 ns/op 492.00 ns/op 0.84
mainnet_e81889 - altair processEth1DataReset 632.00 ns/op 824.00 ns/op 0.77
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4452 ms/op 1.8464 ms/op 0.78
mainnet_e81889 - altair processSlashingsReset 3.9260 us/op 7.0400 us/op 0.56
mainnet_e81889 - altair processRandaoMixesReset 6.3920 us/op 6.6480 us/op 0.96
mainnet_e81889 - altair processHistoricalRootsUpdate 746.00 ns/op 1.2680 us/op 0.59
mainnet_e81889 - altair processParticipationFlagUpdates 2.1920 us/op 2.2290 us/op 0.98
mainnet_e81889 - altair processSyncCommitteeUpdates 767.00 ns/op 807.00 ns/op 0.95
mainnet_e81889 - altair afterProcessEpoch 51.754 ms/op 50.144 ms/op 1.03
capella processEpoch - mainnet_e217614 1.1457 s/op 1.1645 s/op 0.98
mainnet_e217614 - capella beforeProcessEpoch 74.617 ms/op 64.701 ms/op 1.15
mainnet_e217614 - capella processJustificationAndFinalization 14.236 us/op 16.909 us/op 0.84
mainnet_e217614 - capella processInactivityUpdates 18.119 ms/op 16.488 ms/op 1.10
mainnet_e217614 - capella processRewardsAndPenalties 234.03 ms/op 242.62 ms/op 0.96
mainnet_e217614 - capella processRegistryUpdates 22.672 us/op 19.243 us/op 1.18
mainnet_e217614 - capella processSlashings 644.00 ns/op 974.00 ns/op 0.66
mainnet_e217614 - capella processEth1DataReset 490.00 ns/op 658.00 ns/op 0.74
mainnet_e217614 - capella processEffectiveBalanceUpdates 15.078 ms/op 11.324 ms/op 1.33
mainnet_e217614 - capella processSlashingsReset 3.9010 us/op 4.5240 us/op 0.86
mainnet_e217614 - capella processRandaoMixesReset 5.6620 us/op 5.3770 us/op 1.05
mainnet_e217614 - capella processHistoricalRootsUpdate 678.00 ns/op 465.00 ns/op 1.46
mainnet_e217614 - capella processParticipationFlagUpdates 1.5710 us/op 2.2740 us/op 0.69
mainnet_e217614 - capella afterProcessEpoch 124.71 ms/op 123.32 ms/op 1.01
phase0 processEpoch - mainnet_e58758 331.59 ms/op 337.20 ms/op 0.98
mainnet_e58758 - phase0 beforeProcessEpoch 76.851 ms/op 81.289 ms/op 0.95
mainnet_e58758 - phase0 processJustificationAndFinalization 13.439 us/op 19.401 us/op 0.69
mainnet_e58758 - phase0 processRewardsAndPenalties 27.372 ms/op 35.508 ms/op 0.77
mainnet_e58758 - phase0 processRegistryUpdates 12.879 us/op 18.029 us/op 0.71
mainnet_e58758 - phase0 processSlashings 629.00 ns/op 923.00 ns/op 0.68
mainnet_e58758 - phase0 processEth1DataReset 443.00 ns/op 701.00 ns/op 0.63
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1322 ms/op 2.1149 ms/op 0.54
mainnet_e58758 - phase0 processSlashingsReset 2.5520 us/op 3.8020 us/op 0.67
mainnet_e58758 - phase0 processRandaoMixesReset 6.3190 us/op 6.2430 us/op 1.01
mainnet_e58758 - phase0 processHistoricalRootsUpdate 716.00 ns/op 944.00 ns/op 0.76
mainnet_e58758 - phase0 processParticipationRecordUpdates 6.5530 us/op 4.2610 us/op 1.54
mainnet_e58758 - phase0 afterProcessEpoch 44.019 ms/op 43.322 ms/op 1.02
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3359 ms/op 1.3589 ms/op 0.98
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.0256 ms/op 2.1497 ms/op 0.94
altair processInactivityUpdates - 250000 normalcase 17.480 ms/op 18.427 ms/op 0.95
altair processInactivityUpdates - 250000 worstcase 15.569 ms/op 20.035 ms/op 0.78
phase0 processRegistryUpdates - 250000 normalcase 12.036 us/op 15.145 us/op 0.79
phase0 processRegistryUpdates - 250000 badcase_full_deposits 321.25 us/op 519.04 us/op 0.62
phase0 processRegistryUpdates - 250000 worstcase 0.5 118.62 ms/op 129.15 ms/op 0.92
altair processRewardsAndPenalties - 250000 normalcase 37.256 ms/op 49.173 ms/op 0.76
altair processRewardsAndPenalties - 250000 worstcase 33.353 ms/op 40.992 ms/op 0.81
phase0 getAttestationDeltas - 250000 normalcase 8.1663 ms/op 7.4761 ms/op 1.09
phase0 getAttestationDeltas - 250000 worstcase 7.6045 ms/op 7.2158 ms/op 1.05
phase0 processSlashings - 250000 worstcase 98.115 us/op 123.78 us/op 0.79
altair processSyncCommitteeUpdates - 250000 136.63 ms/op 124.21 ms/op 1.10
BeaconState.hashTreeRoot - No change 240.00 ns/op 239.00 ns/op 1.00
BeaconState.hashTreeRoot - 1 full validator 124.87 us/op 132.12 us/op 0.95
BeaconState.hashTreeRoot - 32 full validator 1.1063 ms/op 1.1972 ms/op 0.92
BeaconState.hashTreeRoot - 512 full validator 10.574 ms/op 11.745 ms/op 0.90
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 124.13 us/op 147.96 us/op 0.84
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.1622 ms/op 2.1888 ms/op 0.99
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 24.543 ms/op 28.061 ms/op 0.87
BeaconState.hashTreeRoot - 1 balances 128.21 us/op 115.89 us/op 1.11
BeaconState.hashTreeRoot - 32 balances 1.1627 ms/op 990.57 us/op 1.17
BeaconState.hashTreeRoot - 512 balances 7.9317 ms/op 8.5852 ms/op 0.92
BeaconState.hashTreeRoot - 250000 balances 149.98 ms/op 192.42 ms/op 0.78
aggregationBits - 2048 els - zipIndexesInBitList 27.898 us/op 22.222 us/op 1.26
byteArrayEquals 32 53.473 ns/op 51.846 ns/op 1.03
Buffer.compare 32 17.032 ns/op 16.806 ns/op 1.01
byteArrayEquals 1024 1.6154 us/op 1.5305 us/op 1.06
Buffer.compare 1024 25.575 ns/op 24.643 ns/op 1.04
byteArrayEquals 16384 25.210 us/op 24.368 us/op 1.03
Buffer.compare 16384 192.94 ns/op 192.94 ns/op 1.00
byteArrayEquals 123687377 191.00 ms/op 192.82 ms/op 0.99
Buffer.compare 123687377 8.3293 ms/op 6.4064 ms/op 1.30
byteArrayEquals 32 - diff last byte 53.796 ns/op 51.790 ns/op 1.04
Buffer.compare 32 - diff last byte 17.039 ns/op 17.090 ns/op 1.00
byteArrayEquals 1024 - diff last byte 1.5906 us/op 1.6035 us/op 0.99
Buffer.compare 1024 - diff last byte 25.985 ns/op 24.884 ns/op 1.04
byteArrayEquals 16384 - diff last byte 25.151 us/op 25.142 us/op 1.00
Buffer.compare 16384 - diff last byte 209.40 ns/op 181.00 ns/op 1.16
byteArrayEquals 123687377 - diff last byte 188.65 ms/op 187.10 ms/op 1.01
Buffer.compare 123687377 - diff last byte 7.6098 ms/op 6.1648 ms/op 1.23
byteArrayEquals 32 - random bytes 5.1650 ns/op 5.0480 ns/op 1.02
Buffer.compare 32 - random bytes 17.876 ns/op 16.911 ns/op 1.06
byteArrayEquals 1024 - random bytes 5.0730 ns/op 5.0120 ns/op 1.01
Buffer.compare 1024 - random bytes 17.677 ns/op 16.906 ns/op 1.05
byteArrayEquals 16384 - random bytes 5.2430 ns/op 5.0360 ns/op 1.04
Buffer.compare 16384 - random bytes 18.065 ns/op 16.879 ns/op 1.07
byteArrayEquals 123687377 - random bytes 6.4200 ns/op 6.3500 ns/op 1.01
Buffer.compare 123687377 - random bytes 19.500 ns/op 18.220 ns/op 1.07
regular array get 100000 times 40.874 us/op 32.319 us/op 1.26
wrappedArray get 100000 times 32.880 us/op 34.844 us/op 0.94
arrayWithProxy get 100000 times 13.155 ms/op 12.398 ms/op 1.06
ssz.Root.equals 45.967 ns/op 45.000 ns/op 1.02
byteArrayEquals 45.399 ns/op 44.373 ns/op 1.02
Buffer.compare 10.407 ns/op 12.246 ns/op 0.85
processSlot - 1 slots 13.092 us/op 14.862 us/op 0.88
processSlot - 32 slots 3.2758 ms/op 3.7872 ms/op 0.86
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 36.387 ms/op 39.691 ms/op 0.92
getCommitteeAssignments - req 1 vs - 250000 vc 2.0806 ms/op 2.0380 ms/op 1.02
getCommitteeAssignments - req 100 vs - 250000 vc 4.0692 ms/op 3.9191 ms/op 1.04
getCommitteeAssignments - req 1000 vs - 250000 vc 4.3605 ms/op 4.2011 ms/op 1.04
findModifiedValidators - 10000 modified validators 275.23 ms/op 255.43 ms/op 1.08
findModifiedValidators - 1000 modified validators 180.85 ms/op 175.15 ms/op 1.03
findModifiedValidators - 100 modified validators 173.38 ms/op 153.35 ms/op 1.13
findModifiedValidators - 10 modified validators 230.71 ms/op 175.33 ms/op 1.32
findModifiedValidators - 1 modified validators 261.77 ms/op 152.28 ms/op 1.72
findModifiedValidators - no difference 216.18 ms/op 160.10 ms/op 1.35
compare ViewDUs 4.0708 s/op 3.1939 s/op 1.27
compare each validator Uint8Array 1.8049 s/op 1.4234 s/op 1.27
compare ViewDU to Uint8Array 1.0897 s/op 952.05 ms/op 1.14
migrate state 1000000 validators, 24 modified, 0 new 718.13 ms/op 704.15 ms/op 1.02
migrate state 1000000 validators, 1700 modified, 1000 new 1.0281 s/op 986.90 ms/op 1.04
migrate state 1000000 validators, 3400 modified, 2000 new 1.3446 s/op 1.2846 s/op 1.05
migrate state 1500000 validators, 24 modified, 0 new 802.82 ms/op 825.34 ms/op 0.97
migrate state 1500000 validators, 1700 modified, 1000 new 994.09 ms/op 1.1039 s/op 0.90
migrate state 1500000 validators, 3400 modified, 2000 new 1.2639 s/op 1.2711 s/op 0.99
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.8500 ns/op 4.3300 ns/op 1.12
state getBlockRootAtSlot - 250000 vs - 7PWei 684.38 ns/op 600.86 ns/op 1.14
computeProposers - vc 250000 7.2079 ms/op 8.2980 ms/op 0.87
computeEpochShuffling - vc 250000 42.273 ms/op 42.178 ms/op 1.00
getNextSyncCommittee - vc 250000 140.77 ms/op 125.96 ms/op 1.12
computeSigningRoot for AttestationData 24.433 us/op 28.720 us/op 0.85
hash AttestationData serialized data then Buffer.toString(base64) 1.6083 us/op 1.5566 us/op 1.03
toHexString serialized data 986.73 ns/op 897.19 ns/op 1.10
Buffer.toString(base64) 198.28 ns/op 185.18 ns/op 1.07
nodejs block root to RootHex using toHex 165.91 ns/op 150.73 ns/op 1.10
nodejs block root to RootHex using toRootHex 94.764 ns/op 87.410 ns/op 1.08
browser block root to RootHex using the deprecated toHexString 261.78 ns/op 232.25 ns/op 1.13
browser block root to RootHex using toHex 221.61 ns/op 185.47 ns/op 1.19
browser block root to RootHex using toRootHex 177.75 ns/op 162.77 ns/op 1.09

by benchmarkbot/action

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