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

ci: update the core-dump pattern with a path suffix #6142

Merged
merged 4 commits into from
Nov 30, 2023

Conversation

nazarhussain
Copy link
Contributor

Motivation

Make the tests more stable.

Description

Capture the coredump for the segfaults.

Steps to test or reproduce

  • Run all tests.

@nazarhussain nazarhussain requested a review from a team as a code owner November 29, 2023 18:11
@nazarhussain nazarhussain changed the title Update the core-dump pattern with a path suffix ci: update the core-dump pattern with a path suffix Nov 29, 2023
wemeetagain
wemeetagain previously approved these changes Nov 29, 2023
nflaig
nflaig previously approved these changes Nov 29, 2023
Copy link
Contributor

github-actions bot commented Nov 29, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: fb6dae2 Previous: a8e3667 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 757.95 us/op 789.67 us/op 0.96
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 111.75 us/op 135.43 us/op 0.83
BLS verify - blst-native 1.2929 ms/op 1.3324 ms/op 0.97
BLS verifyMultipleSignatures 3 - blst-native 2.7106 ms/op 2.9154 ms/op 0.93
BLS verifyMultipleSignatures 8 - blst-native 5.9607 ms/op 6.1285 ms/op 0.97
BLS verifyMultipleSignatures 32 - blst-native 22.597 ms/op 22.558 ms/op 1.00
BLS verifyMultipleSignatures 64 - blst-native 43.261 ms/op 44.253 ms/op 0.98
BLS verifyMultipleSignatures 128 - blst-native 85.971 ms/op 87.683 ms/op 0.98
BLS deserializing 10000 signatures 900.89 ms/op 965.19 ms/op 0.93
BLS deserializing 100000 signatures 9.0470 s/op 9.2514 s/op 0.98
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3459 ms/op 1.3577 ms/op 0.99
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5280 ms/op 1.5127 ms/op 1.01
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3510 ms/op 2.3383 ms/op 1.01
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4169 ms/op 3.5107 ms/op 0.97
BLS verifyMultipleSignatures - same message - 128 - blst-native 7.2545 ms/op 5.6960 ms/op 1.27
BLS aggregatePubkeys 32 - blst-native 25.718 us/op 25.908 us/op 0.99
BLS aggregatePubkeys 128 - blst-native 100.66 us/op 101.34 us/op 0.99
getAttestationsForBlock 46.617 ms/op 44.489 ms/op 1.05
isKnown best case - 1 super set check 350.00 ns/op 567.00 ns/op 0.62
isKnown normal case - 2 super set checks 368.00 ns/op 569.00 ns/op 0.65
isKnown worse case - 16 super set checks 422.00 ns/op 474.00 ns/op 0.89
CheckpointStateCache - add get delete 6.0050 us/op 6.0330 us/op 1.00
validate api signedAggregateAndProof - struct 2.7700 ms/op 2.9751 ms/op 0.93
validate gossip signedAggregateAndProof - struct 2.8060 ms/op 2.7765 ms/op 1.01
validate gossip attestation - vc 640000 1.3537 ms/op 1.3671 ms/op 0.99
batch validate gossip attestation - vc 640000 - chunk 32 165.57 us/op 170.22 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 64 145.53 us/op 153.08 us/op 0.95
batch validate gossip attestation - vc 640000 - chunk 128 148.79 us/op 141.49 us/op 1.05
batch validate gossip attestation - vc 640000 - chunk 256 138.31 us/op 141.76 us/op 0.98
pickEth1Vote - no votes 1.3238 ms/op 1.3671 ms/op 0.97
pickEth1Vote - max votes 11.221 ms/op 8.7154 ms/op 1.29
pickEth1Vote - Eth1Data hashTreeRoot value x2048 19.695 ms/op 22.319 ms/op 0.88
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 32.239 ms/op 32.490 ms/op 0.99
pickEth1Vote - Eth1Data fastSerialize value x2048 678.34 us/op 715.52 us/op 0.95
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.6175 ms/op 5.6348 ms/op 1.00
bytes32 toHexString 627.00 ns/op 554.00 ns/op 1.13
bytes32 Buffer.toString(hex) 306.00 ns/op 285.00 ns/op 1.07
bytes32 Buffer.toString(hex) from Uint8Array 523.00 ns/op 539.00 ns/op 0.97
bytes32 Buffer.toString(hex) + 0x 303.00 ns/op 310.00 ns/op 0.98
Object access 1 prop 0.21600 ns/op 0.20200 ns/op 1.07
Map access 1 prop 0.15000 ns/op 0.15200 ns/op 0.99
Object get x1000 7.7180 ns/op 7.6280 ns/op 1.01
Map get x1000 0.92800 ns/op 0.79900 ns/op 1.16
Object set x1000 67.576 ns/op 61.902 ns/op 1.09
Map set x1000 56.360 ns/op 41.745 ns/op 1.35
Return object 10000 times 0.25930 ns/op 0.24530 ns/op 1.06
Throw Error 10000 times 4.0611 us/op 3.9334 us/op 1.03
fastMsgIdFn sha256 / 200 bytes 3.4300 us/op 3.3790 us/op 1.02
fastMsgIdFn h32 xxhash / 200 bytes 340.00 ns/op 323.00 ns/op 1.05
fastMsgIdFn h64 xxhash / 200 bytes 386.00 ns/op 378.00 ns/op 1.02
fastMsgIdFn sha256 / 1000 bytes 11.648 us/op 11.542 us/op 1.01
fastMsgIdFn h32 xxhash / 1000 bytes 460.00 ns/op 466.00 ns/op 0.99
fastMsgIdFn h64 xxhash / 1000 bytes 457.00 ns/op 435.00 ns/op 1.05
fastMsgIdFn sha256 / 10000 bytes 106.56 us/op 104.57 us/op 1.02
fastMsgIdFn h32 xxhash / 10000 bytes 2.0780 us/op 1.9920 us/op 1.04
fastMsgIdFn h64 xxhash / 10000 bytes 1.4460 us/op 1.3470 us/op 1.07
send data - 1000 256B messages 21.325 ms/op 20.730 ms/op 1.03
send data - 1000 512B messages 28.535 ms/op 28.129 ms/op 1.01
send data - 1000 1024B messages 46.657 ms/op 45.312 ms/op 1.03
send data - 1000 1200B messages 25.500 ms/op 34.124 ms/op 0.75
send data - 1000 2048B messages 42.678 ms/op 41.429 ms/op 1.03
send data - 1000 4096B messages 42.009 ms/op 43.069 ms/op 0.98
send data - 1000 16384B messages 110.76 ms/op 106.84 ms/op 1.04
send data - 1000 65536B messages 462.53 ms/op 396.85 ms/op 1.17
enrSubnets - fastDeserialize 64 bits 1.2800 us/op 1.3220 us/op 0.97
enrSubnets - ssz BitVector 64 bits 459.00 ns/op 505.00 ns/op 0.91
enrSubnets - fastDeserialize 4 bits 208.00 ns/op 212.00 ns/op 0.98
enrSubnets - ssz BitVector 4 bits 529.00 ns/op 505.00 ns/op 1.05
prioritizePeers score -10:0 att 32-0.1 sync 2-0 129.09 us/op 109.16 us/op 1.18
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 168.08 us/op 136.65 us/op 1.23
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 221.32 us/op 188.63 us/op 1.17
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 379.11 us/op 295.38 us/op 1.28
prioritizePeers score 0:0 att 64-1 sync 4-1 416.47 us/op 355.96 us/op 1.17
array of 16000 items push then shift 1.6614 us/op 1.6241 us/op 1.02
LinkedList of 16000 items push then shift 9.5530 ns/op 8.9640 ns/op 1.07
array of 16000 items push then pop 106.53 ns/op 106.30 ns/op 1.00
LinkedList of 16000 items push then pop 8.9820 ns/op 9.2430 ns/op 0.97
array of 24000 items push then shift 2.5160 us/op 2.4294 us/op 1.04
LinkedList of 24000 items push then shift 9.2220 ns/op 8.9000 ns/op 1.04
array of 24000 items push then pop 139.03 ns/op 130.65 ns/op 1.06
LinkedList of 24000 items push then pop 8.9690 ns/op 8.9600 ns/op 1.00
intersect bitArray bitLen 8 6.4480 ns/op 6.4660 ns/op 1.00
intersect array and set length 8 83.753 ns/op 68.123 ns/op 1.23
intersect bitArray bitLen 128 33.917 ns/op 33.790 ns/op 1.00
intersect array and set length 128 1.0671 us/op 977.87 ns/op 1.09
bitArray.getTrueBitIndexes() bitLen 128 1.7640 us/op 1.7140 us/op 1.03
bitArray.getTrueBitIndexes() bitLen 248 2.8620 us/op 3.0850 us/op 0.93
bitArray.getTrueBitIndexes() bitLen 512 6.2080 us/op 5.9460 us/op 1.04
Buffer.concat 32 items 1.0650 us/op 1.0420 us/op 1.02
Uint8Array.set 32 items 2.5460 us/op 1.9570 us/op 1.30
Set add up to 64 items then delete first 5.3252 us/op 4.5287 us/op 1.18
OrderedSet add up to 64 items then delete first 7.1834 us/op 5.7220 us/op 1.26
Set add up to 64 items then delete last 5.5751 us/op 4.9975 us/op 1.12
OrderedSet add up to 64 items then delete last 7.2913 us/op 6.5079 us/op 1.12
Set add up to 64 items then delete middle 5.3540 us/op 5.0777 us/op 1.05
OrderedSet add up to 64 items then delete middle 8.5785 us/op 7.1049 us/op 1.21
Set add up to 128 items then delete first 11.128 us/op 9.3394 us/op 1.19
OrderedSet add up to 128 items then delete first 15.785 us/op 12.579 us/op 1.25
Set add up to 128 items then delete last 11.069 us/op 9.8789 us/op 1.12
OrderedSet add up to 128 items then delete last 14.909 us/op 12.265 us/op 1.22
Set add up to 128 items then delete middle 11.298 us/op 10.341 us/op 1.09
OrderedSet add up to 128 items then delete middle 20.923 us/op 20.079 us/op 1.04
Set add up to 256 items then delete first 22.841 us/op 19.885 us/op 1.15
OrderedSet add up to 256 items then delete first 31.675 us/op 26.276 us/op 1.21
Set add up to 256 items then delete last 21.747 us/op 19.616 us/op 1.11
OrderedSet add up to 256 items then delete last 28.922 us/op 23.679 us/op 1.22
Set add up to 256 items then delete middle 21.902 us/op 19.389 us/op 1.13
OrderedSet add up to 256 items then delete middle 53.186 us/op 46.865 us/op 1.13
transfer serialized Status (84 B) 1.9000 us/op 1.8500 us/op 1.03
copy serialized Status (84 B) 1.6840 us/op 1.6740 us/op 1.01
transfer serialized SignedVoluntaryExit (112 B) 2.0650 us/op 2.0620 us/op 1.00
copy serialized SignedVoluntaryExit (112 B) 1.8400 us/op 1.6370 us/op 1.12
transfer serialized ProposerSlashing (416 B) 3.1670 us/op 2.5030 us/op 1.27
copy serialized ProposerSlashing (416 B) 3.3320 us/op 2.4860 us/op 1.34
transfer serialized Attestation (485 B) 2.4500 us/op 2.6150 us/op 0.94
copy serialized Attestation (485 B) 2.4060 us/op 2.1640 us/op 1.11
transfer serialized AttesterSlashing (33232 B) 2.4000 us/op 2.1620 us/op 1.11
copy serialized AttesterSlashing (33232 B) 8.9840 us/op 7.0330 us/op 1.28
transfer serialized Small SignedBeaconBlock (128000 B) 2.8070 us/op 2.5630 us/op 1.10
copy serialized Small SignedBeaconBlock (128000 B) 28.633 us/op 18.214 us/op 1.57
transfer serialized Avg SignedBeaconBlock (200000 B) 3.3930 us/op 3.0140 us/op 1.13
copy serialized Avg SignedBeaconBlock (200000 B) 44.777 us/op 32.136 us/op 1.39
transfer serialized BlobsSidecar (524380 B) 4.8100 us/op 3.1370 us/op 1.53
copy serialized BlobsSidecar (524380 B) 157.28 us/op 82.393 us/op 1.91
transfer serialized Big SignedBeaconBlock (1000000 B) 5.1590 us/op 3.7510 us/op 1.38
copy serialized Big SignedBeaconBlock (1000000 B) 295.21 us/op 153.59 us/op 1.92
pass gossip attestations to forkchoice per slot 4.1647 ms/op 4.4671 ms/op 0.93
forkChoice updateHead vc 100000 bc 64 eq 0 695.93 us/op 757.11 us/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 0 4.6478 ms/op 5.2458 ms/op 0.89
forkChoice updateHead vc 1000000 bc 64 eq 0 8.0857 ms/op 7.6666 ms/op 1.05
forkChoice updateHead vc 600000 bc 320 eq 0 9.8968 ms/op 4.2812 ms/op 2.31
forkChoice updateHead vc 600000 bc 1200 eq 0 4.9575 ms/op 4.3798 ms/op 1.13
forkChoice updateHead vc 600000 bc 7200 eq 0 6.3760 ms/op 5.4559 ms/op 1.17
forkChoice updateHead vc 600000 bc 64 eq 1000 12.354 ms/op 11.163 ms/op 1.11
forkChoice updateHead vc 600000 bc 64 eq 10000 12.842 ms/op 12.013 ms/op 1.07
forkChoice updateHead vc 600000 bc 64 eq 300000 37.302 ms/op 16.191 ms/op 2.30
computeDeltas 500000 validators 300 proto nodes 7.6716 ms/op 6.7494 ms/op 1.14
computeDeltas 500000 validators 1200 proto nodes 7.3025 ms/op 6.6431 ms/op 1.10
computeDeltas 500000 validators 7200 proto nodes 6.9545 ms/op 6.4402 ms/op 1.08
computeDeltas 750000 validators 300 proto nodes 10.686 ms/op 9.5190 ms/op 1.12
computeDeltas 750000 validators 1200 proto nodes 10.213 ms/op 9.6064 ms/op 1.06
computeDeltas 750000 validators 7200 proto nodes 9.9925 ms/op 9.5400 ms/op 1.05
computeDeltas 1400000 validators 300 proto nodes 20.176 ms/op 23.195 ms/op 0.87
computeDeltas 1400000 validators 1200 proto nodes 18.851 ms/op 19.665 ms/op 0.96
computeDeltas 1400000 validators 7200 proto nodes 18.441 ms/op 18.705 ms/op 0.99
computeDeltas 2100000 validators 300 proto nodes 27.404 ms/op 28.596 ms/op 0.96
computeDeltas 2100000 validators 1200 proto nodes 27.987 ms/op 28.730 ms/op 0.97
computeDeltas 2100000 validators 7200 proto nodes 27.920 ms/op 28.806 ms/op 0.97
computeProposerBoostScoreFromBalances 500000 validators 4.3158 ms/op 3.8507 ms/op 1.12
computeProposerBoostScoreFromBalances 750000 validators 4.1317 ms/op 3.8070 ms/op 1.09
computeProposerBoostScoreFromBalances 1400000 validators 4.0409 ms/op 3.8474 ms/op 1.05
computeProposerBoostScoreFromBalances 2100000 validators 4.3438 ms/op 3.7977 ms/op 1.14
altair processAttestation - 250000 vs - 7PWei normalcase 3.2113 ms/op 2.7073 ms/op 1.19
altair processAttestation - 250000 vs - 7PWei worstcase 6.0209 ms/op 3.3905 ms/op 1.78
altair processAttestation - setStatus - 1/6 committees join 231.42 us/op 146.77 us/op 1.58
altair processAttestation - setStatus - 1/3 committees join 450.40 us/op 272.08 us/op 1.66
altair processAttestation - setStatus - 1/2 committees join 518.95 us/op 386.85 us/op 1.34
altair processAttestation - setStatus - 2/3 committees join 666.00 us/op 500.28 us/op 1.33
altair processAttestation - setStatus - 4/5 committees join 924.03 us/op 671.92 us/op 1.38
altair processAttestation - setStatus - 100% committees join 1.0404 ms/op 832.72 us/op 1.25
altair processBlock - 250000 vs - 7PWei normalcase 12.690 ms/op 10.775 ms/op 1.18
altair processBlock - 250000 vs - 7PWei normalcase hashState 39.510 ms/op 37.426 ms/op 1.06
altair processBlock - 250000 vs - 7PWei worstcase 45.008 ms/op 41.501 ms/op 1.08
altair processBlock - 250000 vs - 7PWei worstcase hashState 102.95 ms/op 95.509 ms/op 1.08
phase0 processBlock - 250000 vs - 7PWei normalcase 5.7097 ms/op 3.3817 ms/op 1.69
phase0 processBlock - 250000 vs - 7PWei worstcase 30.737 ms/op 32.247 ms/op 0.95
altair processEth1Data - 250000 vs - 7PWei normalcase 593.63 us/op 578.03 us/op 1.03
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 19.783 us/op 12.985 us/op 1.52
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 83.622 us/op 67.942 us/op 1.23
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 28.970 us/op 27.677 us/op 1.05
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.137 us/op 14.084 us/op 1.00
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 202.16 us/op 173.41 us/op 1.17
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.7671 ms/op 1.3000 ms/op 1.36
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.1473 ms/op 2.1006 ms/op 1.02
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.0711 ms/op 2.0105 ms/op 1.03
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.3543 ms/op 4.1430 ms/op 1.05
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.1395 ms/op 2.7740 ms/op 1.13
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 8.0665 ms/op 5.8137 ms/op 1.39
Tree 40 250000 create 423.92 ms/op 495.34 ms/op 0.86
Tree 40 250000 get(125000) 212.19 ns/op 204.04 ns/op 1.04
Tree 40 250000 set(125000) 1.1150 us/op 965.72 ns/op 1.15
Tree 40 250000 toArray() 24.920 ms/op 21.729 ms/op 1.15
Tree 40 250000 iterate all - toArray() + loop 23.226 ms/op 22.734 ms/op 1.02
Tree 40 250000 iterate all - get(i) 76.639 ms/op 73.966 ms/op 1.04
MutableVector 250000 create 16.082 ms/op 16.233 ms/op 0.99
MutableVector 250000 get(125000) 6.4470 ns/op 6.6560 ns/op 0.97
MutableVector 250000 set(125000) 277.17 ns/op 341.69 ns/op 0.81
MutableVector 250000 toArray() 3.9255 ms/op 5.4052 ms/op 0.73
MutableVector 250000 iterate all - toArray() + loop 3.2907 ms/op 4.8237 ms/op 0.68
MutableVector 250000 iterate all - get(i) 1.5221 ms/op 1.5544 ms/op 0.98
Array 250000 create 3.3009 ms/op 4.3814 ms/op 0.75
Array 250000 clone - spread 1.2734 ms/op 1.3811 ms/op 0.92
Array 250000 get(125000) 1.0760 ns/op 1.2860 ns/op 0.84
Array 250000 set(125000) 4.2980 ns/op 5.4430 ns/op 0.79
Array 250000 iterate all - loop 168.64 us/op 174.80 us/op 0.96
effectiveBalanceIncrements clone Uint8Array 300000 37.701 us/op 53.064 us/op 0.71
effectiveBalanceIncrements clone MutableVector 300000 389.00 ns/op 421.00 ns/op 0.92
effectiveBalanceIncrements rw all Uint8Array 300000 199.39 us/op 206.48 us/op 0.97
effectiveBalanceIncrements rw all MutableVector 300000 103.22 ms/op 109.64 ms/op 0.94
phase0 afterProcessEpoch - 250000 vs - 7PWei 121.40 ms/op 137.78 ms/op 0.88
phase0 beforeProcessEpoch - 250000 vs - 7PWei 55.453 ms/op 55.902 ms/op 0.99
altair processEpoch - mainnet_e81889 593.27 ms/op 879.99 ms/op 0.67
mainnet_e81889 - altair beforeProcessEpoch 90.297 ms/op 163.15 ms/op 0.55
mainnet_e81889 - altair processJustificationAndFinalization 16.495 us/op 33.808 us/op 0.49
mainnet_e81889 - altair processInactivityUpdates 6.1114 ms/op 12.173 ms/op 0.50
mainnet_e81889 - altair processRewardsAndPenalties 74.203 ms/op 85.217 ms/op 0.87
mainnet_e81889 - altair processRegistryUpdates 3.3290 us/op 2.8290 us/op 1.18
mainnet_e81889 - altair processSlashings 761.00 ns/op 628.00 ns/op 1.21
mainnet_e81889 - altair processEth1DataReset 560.00 ns/op 642.00 ns/op 0.87
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.0251 ms/op 1.3881 ms/op 1.46
mainnet_e81889 - altair processSlashingsReset 7.2540 us/op 3.7280 us/op 1.95
mainnet_e81889 - altair processRandaoMixesReset 11.258 us/op 4.4060 us/op 2.56
mainnet_e81889 - altair processHistoricalRootsUpdate 1.4110 us/op 722.00 ns/op 1.95
mainnet_e81889 - altair processParticipationFlagUpdates 3.4050 us/op 2.5950 us/op 1.31
mainnet_e81889 - altair processSyncCommitteeUpdates 1.1530 us/op 1.0380 us/op 1.11
mainnet_e81889 - altair afterProcessEpoch 120.49 ms/op 123.25 ms/op 0.98
capella processEpoch - mainnet_e217614 2.3944 s/op 3.4855 s/op 0.69
mainnet_e217614 - capella beforeProcessEpoch 499.44 ms/op 659.47 ms/op 0.76
mainnet_e217614 - capella processJustificationAndFinalization 28.780 us/op 31.639 us/op 0.91
mainnet_e217614 - capella processInactivityUpdates 20.816 ms/op 32.370 ms/op 0.64
mainnet_e217614 - capella processRewardsAndPenalties 575.77 ms/op 803.58 ms/op 0.72
mainnet_e217614 - capella processRegistryUpdates 28.618 us/op 45.998 us/op 0.62
mainnet_e217614 - capella processSlashings 901.00 ns/op 1.7370 us/op 0.52
mainnet_e217614 - capella processEth1DataReset 598.00 ns/op 1.6300 us/op 0.37
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.3796 ms/op 7.9740 ms/op 0.55
mainnet_e217614 - capella processSlashingsReset 2.3790 us/op 7.1340 us/op 0.33
mainnet_e217614 - capella processRandaoMixesReset 7.1530 us/op 12.806 us/op 0.56
mainnet_e217614 - capella processHistoricalRootsUpdate 990.00 ns/op 1.9640 us/op 0.50
mainnet_e217614 - capella processParticipationFlagUpdates 2.6780 us/op 5.4390 us/op 0.49
mainnet_e217614 - capella afterProcessEpoch 314.91 ms/op 414.79 ms/op 0.76
phase0 processEpoch - mainnet_e58758 508.62 ms/op 805.02 ms/op 0.63
mainnet_e58758 - phase0 beforeProcessEpoch 164.97 ms/op 249.11 ms/op 0.66
mainnet_e58758 - phase0 processJustificationAndFinalization 20.367 us/op 34.853 us/op 0.58
mainnet_e58758 - phase0 processRewardsAndPenalties 70.798 ms/op 68.925 ms/op 1.03
mainnet_e58758 - phase0 processRegistryUpdates 10.904 us/op 21.742 us/op 0.50
mainnet_e58758 - phase0 processSlashings 753.00 ns/op 1.0460 us/op 0.72
mainnet_e58758 - phase0 processEth1DataReset 491.00 ns/op 1.0020 us/op 0.49
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3279 ms/op 1.7131 ms/op 0.78
mainnet_e58758 - phase0 processSlashingsReset 3.2580 us/op 3.3960 us/op 0.96
mainnet_e58758 - phase0 processRandaoMixesReset 8.9350 us/op 4.3570 us/op 2.05
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.6850 us/op 619.00 ns/op 2.72
mainnet_e58758 - phase0 processParticipationRecordUpdates 7.4070 us/op 3.8260 us/op 1.94
mainnet_e58758 - phase0 afterProcessEpoch 103.98 ms/op 104.07 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.6051 ms/op 1.7653 ms/op 0.91
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.8564 ms/op 2.0759 ms/op 0.89
altair processInactivityUpdates - 250000 normalcase 24.386 ms/op 27.098 ms/op 0.90
altair processInactivityUpdates - 250000 worstcase 23.181 ms/op 28.095 ms/op 0.83
phase0 processRegistryUpdates - 250000 normalcase 16.302 us/op 11.580 us/op 1.41
phase0 processRegistryUpdates - 250000 badcase_full_deposits 540.43 us/op 398.65 us/op 1.36
phase0 processRegistryUpdates - 250000 worstcase 0.5 146.06 ms/op 128.12 ms/op 1.14
altair processRewardsAndPenalties - 250000 normalcase 83.391 ms/op 70.920 ms/op 1.18
altair processRewardsAndPenalties - 250000 worstcase 92.204 ms/op 71.519 ms/op 1.29
phase0 getAttestationDeltas - 250000 normalcase 14.770 ms/op 12.573 ms/op 1.17
phase0 getAttestationDeltas - 250000 worstcase 14.694 ms/op 13.015 ms/op 1.13
phase0 processSlashings - 250000 worstcase 3.2520 ms/op 2.3689 ms/op 1.37
altair processSyncCommitteeUpdates - 250000 174.69 ms/op 173.77 ms/op 1.01
BeaconState.hashTreeRoot - No change 268.00 ns/op 308.00 ns/op 0.87
BeaconState.hashTreeRoot - 1 full validator 141.34 us/op 156.75 us/op 0.90
BeaconState.hashTreeRoot - 32 full validator 1.5531 ms/op 1.5770 ms/op 0.98
BeaconState.hashTreeRoot - 512 full validator 17.467 ms/op 14.205 ms/op 1.23
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 213.91 us/op 162.92 us/op 1.31
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.4489 ms/op 2.2165 ms/op 1.10
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.797 ms/op 32.344 ms/op 0.80
BeaconState.hashTreeRoot - 1 balances 144.68 us/op 146.13 us/op 0.99
BeaconState.hashTreeRoot - 32 balances 1.6078 ms/op 1.6306 ms/op 0.99
BeaconState.hashTreeRoot - 512 balances 15.520 ms/op 17.205 ms/op 0.90
BeaconState.hashTreeRoot - 250000 balances 244.92 ms/op 288.37 ms/op 0.85
aggregationBits - 2048 els - zipIndexesInBitList 23.293 us/op 35.533 us/op 0.66
byteArrayEquals 32 80.362 ns/op 85.411 ns/op 0.94
Buffer.compare 32 57.890 ns/op 60.725 ns/op 0.95
byteArrayEquals 1024 2.2822 us/op 2.1602 us/op 1.06
Buffer.compare 1024 75.489 ns/op 79.367 ns/op 0.95
byteArrayEquals 16384 34.692 us/op 34.448 us/op 1.01
Buffer.compare 16384 282.45 ns/op 284.68 ns/op 0.99
byteArrayEquals 123687377 270.46 ms/op 324.51 ms/op 0.83
Buffer.compare 123687377 9.9278 ms/op 14.438 ms/op 0.69
byteArrayEquals 32 - diff last byte 84.854 ns/op 113.21 ns/op 0.75
Buffer.compare 32 - diff last byte 61.981 ns/op 61.867 ns/op 1.00
byteArrayEquals 1024 - diff last byte 2.3443 us/op 2.0693 us/op 1.13
Buffer.compare 1024 - diff last byte 77.442 ns/op 74.346 ns/op 1.04
byteArrayEquals 16384 - diff last byte 37.922 us/op 37.072 us/op 1.02
Buffer.compare 16384 - diff last byte 302.19 ns/op 255.87 ns/op 1.18
byteArrayEquals 123687377 - diff last byte 279.72 ms/op 247.03 ms/op 1.13
Buffer.compare 123687377 - diff last byte 11.465 ms/op 7.1877 ms/op 1.60
byteArrayEquals 32 - random bytes 7.0830 ns/op 5.7500 ns/op 1.23
Buffer.compare 32 - random bytes 66.522 ns/op 60.729 ns/op 1.10
byteArrayEquals 1024 - random bytes 6.8190 ns/op 5.8540 ns/op 1.16
Buffer.compare 1024 - random bytes 66.897 ns/op 60.792 ns/op 1.10
byteArrayEquals 16384 - random bytes 6.6700 ns/op 6.0760 ns/op 1.10
Buffer.compare 16384 - random bytes 63.977 ns/op 60.804 ns/op 1.05
byteArrayEquals 123687377 - random bytes 12.340 ns/op 8.6300 ns/op 1.43
Buffer.compare 123687377 - random bytes 76.820 ns/op 72.440 ns/op 1.06
regular array get 100000 times 48.227 us/op 44.662 us/op 1.08
wrappedArray get 100000 times 50.364 us/op 44.693 us/op 1.13
arrayWithProxy get 100000 times 16.606 ms/op 14.709 ms/op 1.13
ssz.Root.equals 60.899 ns/op 57.120 ns/op 1.07
byteArrayEquals 54.824 ns/op 54.754 ns/op 1.00
Buffer.compare 12.148 ns/op 11.598 ns/op 1.05
shuffle list - 16384 els 7.2233 ms/op 7.2316 ms/op 1.00
shuffle list - 250000 els 107.55 ms/op 106.79 ms/op 1.01
processSlot - 1 slots 20.906 us/op 16.151 us/op 1.29
processSlot - 32 slots 3.5539 ms/op 2.9253 ms/op 1.21
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 66.834 ms/op 57.044 ms/op 1.17
getCommitteeAssignments - req 1 vs - 250000 vc 2.6094 ms/op 2.5773 ms/op 1.01
getCommitteeAssignments - req 100 vs - 250000 vc 3.8128 ms/op 3.7971 ms/op 1.00
getCommitteeAssignments - req 1000 vs - 250000 vc 4.3850 ms/op 4.2201 ms/op 1.04
findModifiedValidators - 10000 modified validators 647.48 ms/op 538.00 ms/op 1.20
findModifiedValidators - 1000 modified validators 515.15 ms/op 487.86 ms/op 1.06
findModifiedValidators - 100 modified validators 508.30 ms/op 458.12 ms/op 1.11
findModifiedValidators - 10 modified validators 548.74 ms/op 449.54 ms/op 1.22
findModifiedValidators - 1 modified validators 452.71 ms/op 428.34 ms/op 1.06
findModifiedValidators - no difference 435.38 ms/op 409.39 ms/op 1.06
compare ViewDUs 5.0688 s/op 4.9502 s/op 1.02
compare each validator Uint8Array 1.8691 s/op 2.2739 s/op 0.82
compare ViewDU to Uint8Array 1.3662 s/op 2.0949 s/op 0.65
migrate state 1000000 validators, 24 modified, 0 new 856.57 ms/op 1.5882 s/op 0.54
migrate state 1000000 validators, 1700 modified, 1000 new 1.0980 s/op 1.2854 s/op 0.85
migrate state 1000000 validators, 3400 modified, 2000 new 1.3244 s/op 1.4519 s/op 0.91
migrate state 1500000 validators, 24 modified, 0 new 853.28 ms/op 973.82 ms/op 0.88
migrate state 1500000 validators, 1700 modified, 1000 new 1.3626 s/op 1.2887 s/op 1.06
migrate state 1500000 validators, 3400 modified, 2000 new 1.4946 s/op 1.5474 s/op 0.97
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.9600 ns/op 4.6500 ns/op 1.07
state getBlockRootAtSlot - 250000 vs - 7PWei 685.07 ns/op 627.75 ns/op 1.09
computeProposers - vc 250000 9.5533 ms/op 10.036 ms/op 0.95
computeEpochShuffling - vc 250000 107.16 ms/op 107.35 ms/op 1.00
getNextSyncCommittee - vc 250000 154.96 ms/op 170.04 ms/op 0.91
computeSigningRoot for AttestationData 28.758 us/op 27.117 us/op 1.06
hash AttestationData serialized data then Buffer.toString(base64) 2.3732 us/op 2.3759 us/op 1.00
toHexString serialized data 1.3044 us/op 1.1536 us/op 1.13
Buffer.toString(base64) 278.59 ns/op 222.63 ns/op 1.25

by benchmarkbot/action

matthewkeil
matthewkeil previously approved these changes Nov 30, 2023
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 🚀

@nazarhussain nazarhussain marked this pull request as draft November 30, 2023 09:02
@nazarhussain
Copy link
Contributor Author

nazarhussain commented Nov 30, 2023

It appears that in github runner there is no /tmp directory and so why it didn't wrote the core dump.

On Linux this approach do created the core dump.

----@----:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy

----@----:~$ ls -lah /tmp/core-*
-rw------- 1 xxxxx users 1.5G Nov 29 17:54 /tmp/core-node-11-1000-100-3081547-1701280455

Need to figure out what directory is accessible to write in the github runner.

@nazarhussain nazarhussain self-assigned this Nov 30, 2023
Update core dump path

Update core dump path

Update the core dump file path

Update the core dump file path

Remove node-modules from core dump

Log node features to verify debug is enabled

Revert "Add manual segfault"

This reverts commit 3021866.

Update the path for the core-dump

Add comment for the naming convention

Update the core dump path

Trigger segfault to verify

Update the core path command

Update limit order to be in same task

Run every command in one action

Run every command in one action

Run yarn with a given node binary

Run the tests with sudo

Run the tests with sudo

Change the order of runs for quick feedback

Change the order of runs for quick feedback

Change the order of runs for quick feedback

Copy node for the sudo user

Update the node path

Restructure node debug tasks

Add exec permission to node debug

Revert "Trigger segfault to verify"

This reverts commit 68a3ef0.
@nazarhussain nazarhussain marked this pull request as ready for review November 30, 2023 14:11
@nazarhussain nazarhussain merged commit bc2ea44 into unstable Nov 30, 2023
15 checks passed
@nazarhussain nazarhussain deleted the nh/segfault-test branch November 30, 2023 16:06
@wemeetagain
Copy link
Member

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

4 participants