Skip to content

Commit

Permalink
fix: prometheus-gc-stats metrics bugfix (#5683)
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain authored Jun 22, 2023
1 parent 7c101f0 commit 8337608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,9 @@
integrity sha512-fUFFFFxdcpYkMAHnjm83EYL/R/smtVmEkJr3FGSI6dwPk4ue9rXjEHf7FTd3V8AbVOcTJGriN4cYf2V+HOYkjQ==

"@chainsafe/prometheus-gc-stats@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@chainsafe/prometheus-gc-stats/-/prometheus-gc-stats-1.0.0.tgz#9404abcf7e7a823596ecf3d71697f644568bde8c"
integrity sha512-l9aKCxQHBBBZIbCAl0y+7D4gded1cHUbIIRips68vN5zgpEuxjojUJSebuhLm+cgYdK1Wvf35gusA802bVfcdQ==
version "1.0.2"
resolved "https://registry.yarnpkg.com/@chainsafe/prometheus-gc-stats/-/prometheus-gc-stats-1.0.2.tgz#585f8f1555251db156d7e50ef8c86dd4f3e78f70"
integrity sha512-h3mFKduSX85XMVbOdWOYvx9jNq99jGcRVNyW5goGOqju1CsI+ZJLhu5z4zBb/G+ksL0R4uLVulu/mIMe7Y0rNg==

"@chainsafe/ssz@^0.10.2":
version "0.10.2"
Expand Down

1 comment on commit 8337608

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for some benchmarks.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold.

Benchmark suite Current: 8337608 Previous: 7c101f0 Ratio
forkChoice updateHead vc 600000 bc 64 eq 300000 130.97 ms/op 35.740 ms/op 3.66
Full benchmark results
Benchmark suite Current: 8337608 Previous: 7c101f0 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 627.70 us/op 559.19 us/op 1.12
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 77.162 us/op 48.202 us/op 1.60
BLS verify - blst-native 1.3080 ms/op 1.2423 ms/op 1.05
BLS verifyMultipleSignatures 3 - blst-native 2.7511 ms/op 2.5463 ms/op 1.08
BLS verifyMultipleSignatures 8 - blst-native 5.7171 ms/op 5.4504 ms/op 1.05
BLS verifyMultipleSignatures 32 - blst-native 20.853 ms/op 19.677 ms/op 1.06
BLS aggregatePubkeys 32 - blst-native 29.111 us/op 26.415 us/op 1.10
BLS aggregatePubkeys 128 - blst-native 112.04 us/op 101.73 us/op 1.10
getAttestationsForBlock 95.082 ms/op 62.978 ms/op 1.51
isKnown best case - 1 super set check 297.00 ns/op 256.00 ns/op 1.16
isKnown normal case - 2 super set checks 282.00 ns/op 253.00 ns/op 1.11
isKnown worse case - 16 super set checks 280.00 ns/op 263.00 ns/op 1.06
CheckpointStateCache - add get delete 7.0480 us/op 5.4440 us/op 1.29
validate gossip signedAggregateAndProof - struct 3.0210 ms/op 2.7904 ms/op 1.08
validate gossip attestation - struct 1.4355 ms/op 1.3339 ms/op 1.08
pickEth1Vote - no votes 1.5436 ms/op 1.3203 ms/op 1.17
pickEth1Vote - max votes 15.288 ms/op 11.307 ms/op 1.35
pickEth1Vote - Eth1Data hashTreeRoot value x2048 11.343 ms/op 8.6479 ms/op 1.31
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 22.979 ms/op 14.647 ms/op 1.57
pickEth1Vote - Eth1Data fastSerialize value x2048 966.62 us/op 694.07 us/op 1.39
pickEth1Vote - Eth1Data fastSerialize tree x2048 9.0854 ms/op 5.7362 ms/op 1.58
bytes32 toHexString 952.00 ns/op 651.00 ns/op 1.46
bytes32 Buffer.toString(hex) 515.00 ns/op 401.00 ns/op 1.28
bytes32 Buffer.toString(hex) from Uint8Array 688.00 ns/op 589.00 ns/op 1.17
bytes32 Buffer.toString(hex) + 0x 511.00 ns/op 434.00 ns/op 1.18
Object access 1 prop 0.24400 ns/op 0.17700 ns/op 1.38
Map access 1 prop 0.19400 ns/op 0.16700 ns/op 1.16
Object get x1000 10.176 ns/op 6.8720 ns/op 1.48
Map get x1000 0.75500 ns/op 0.64100 ns/op 1.18
Object set x1000 99.628 ns/op 55.437 ns/op 1.80
Map set x1000 69.678 ns/op 50.303 ns/op 1.39
Return object 10000 times 0.35220 ns/op 0.25990 ns/op 1.36
Throw Error 10000 times 4.9642 us/op 4.4222 us/op 1.12
fastMsgIdFn sha256 / 200 bytes 3.9120 us/op 3.6660 us/op 1.07
fastMsgIdFn h32 xxhash / 200 bytes 369.00 ns/op 328.00 ns/op 1.13
fastMsgIdFn h64 xxhash / 200 bytes 546.00 ns/op 483.00 ns/op 1.13
fastMsgIdFn sha256 / 1000 bytes 12.811 us/op 12.007 us/op 1.07
fastMsgIdFn h32 xxhash / 1000 bytes 545.00 ns/op 477.00 ns/op 1.14
fastMsgIdFn h64 xxhash / 1000 bytes 665.00 ns/op 561.00 ns/op 1.19
fastMsgIdFn sha256 / 10000 bytes 123.75 us/op 106.75 us/op 1.16
fastMsgIdFn h32 xxhash / 10000 bytes 2.4280 us/op 2.0640 us/op 1.18
fastMsgIdFn h64 xxhash / 10000 bytes 1.6970 us/op 1.4970 us/op 1.13
enrSubnets - fastDeserialize 64 bits 2.4050 us/op 1.6600 us/op 1.45
enrSubnets - ssz BitVector 64 bits 761.00 ns/op 621.00 ns/op 1.23
enrSubnets - fastDeserialize 4 bits 250.00 ns/op 208.00 ns/op 1.20
enrSubnets - ssz BitVector 4 bits 883.00 ns/op 597.00 ns/op 1.48
prioritizePeers score -10:0 att 32-0.1 sync 2-0 162.29 us/op 119.12 us/op 1.36
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 208.78 us/op 165.27 us/op 1.26
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 252.39 us/op 187.51 us/op 1.35
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 454.91 us/op 360.25 us/op 1.26
prioritizePeers score 0:0 att 64-1 sync 4-1 573.90 us/op 407.72 us/op 1.41
array of 16000 items push then shift 1.9431 us/op 1.6841 us/op 1.15
LinkedList of 16000 items push then shift 14.480 ns/op 9.0970 ns/op 1.59
array of 16000 items push then pop 160.50 ns/op 104.91 ns/op 1.53
LinkedList of 16000 items push then pop 13.243 ns/op 8.7770 ns/op 1.51
array of 24000 items push then shift 3.2442 us/op 2.9357 us/op 1.11
LinkedList of 24000 items push then shift 15.438 ns/op 9.8650 ns/op 1.56
array of 24000 items push then pop 139.68 ns/op 84.637 ns/op 1.65
LinkedList of 24000 items push then pop 12.228 ns/op 8.7950 ns/op 1.39
intersect bitArray bitLen 8 20.258 ns/op 13.585 ns/op 1.49
intersect array and set length 8 169.51 ns/op 80.190 ns/op 2.11
intersect bitArray bitLen 128 60.041 ns/op 44.500 ns/op 1.35
intersect array and set length 128 1.7317 us/op 1.0692 us/op 1.62
Buffer.concat 32 items 4.7050 us/op 2.6610 us/op 1.77
Uint8Array.set 32 items 3.5680 us/op 2.3070 us/op 1.55
transfer serialized Status (84 B) 3.0900 us/op 2.2060 us/op 1.40
copy serialized Status (84 B) 2.2480 us/op 1.8080 us/op 1.24
transfer serialized SignedVoluntaryExit (112 B) 2.5960 us/op 2.1940 us/op 1.18
copy serialized SignedVoluntaryExit (112 B) 2.1580 us/op 1.7580 us/op 1.23
transfer serialized ProposerSlashing (416 B) 3.3650 us/op 2.2570 us/op 1.49
copy serialized ProposerSlashing (416 B) 3.4980 us/op 2.5620 us/op 1.37
transfer serialized Attestation (485 B) 3.3520 us/op 2.4250 us/op 1.38
copy serialized Attestation (485 B) 3.0600 us/op 2.1960 us/op 1.39
transfer serialized AttesterSlashing (33232 B) 4.3970 us/op 2.5910 us/op 1.70
copy serialized AttesterSlashing (33232 B) 13.315 us/op 5.4750 us/op 2.43
transfer serialized Small SignedBeaconBlock (128000 B) 4.1700 us/op 2.6240 us/op 1.59
copy serialized Small SignedBeaconBlock (128000 B) 36.938 us/op 25.130 us/op 1.47
transfer serialized Avg SignedBeaconBlock (200000 B) 4.6340 us/op 2.9200 us/op 1.59
copy serialized Avg SignedBeaconBlock (200000 B) 85.092 us/op 19.414 us/op 4.38
transfer serialized BlobsSidecar (524380 B) 5.4480 us/op 3.0530 us/op 1.78
copy serialized BlobsSidecar (524380 B) 260.10 us/op 172.64 us/op 1.51
transfer serialized Big SignedBeaconBlock (1000000 B) 6.7290 us/op 3.5840 us/op 1.88
copy serialized Big SignedBeaconBlock (1000000 B) 454.24 us/op 408.04 us/op 1.11
pass gossip attestations to forkchoice per slot 3.9279 ms/op 2.8627 ms/op 1.37
forkChoice updateHead vc 100000 bc 64 eq 0 2.5111 ms/op 2.1602 ms/op 1.16
forkChoice updateHead vc 600000 bc 64 eq 0 16.635 ms/op 11.991 ms/op 1.39
forkChoice updateHead vc 1000000 bc 64 eq 0 38.352 ms/op 24.120 ms/op 1.59
forkChoice updateHead vc 600000 bc 320 eq 0 23.426 ms/op 18.114 ms/op 1.29
forkChoice updateHead vc 600000 bc 1200 eq 0 115.62 ms/op 90.750 ms/op 1.27
forkChoice updateHead vc 600000 bc 64 eq 1000 31.305 ms/op 21.351 ms/op 1.47
forkChoice updateHead vc 600000 bc 64 eq 10000 32.285 ms/op 23.501 ms/op 1.37
forkChoice updateHead vc 600000 bc 64 eq 300000 130.97 ms/op 35.740 ms/op 3.66
computeDeltas 4.3115 ms/op 3.1849 ms/op 1.35
computeProposerBoostScoreFromBalances 1.9639 ms/op 1.8692 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei normalcase 3.5537 ms/op 3.3574 ms/op 1.06
altair processAttestation - 250000 vs - 7PWei worstcase 5.3760 ms/op 5.4091 ms/op 0.99
altair processAttestation - setStatus - 1/6 committees join 157.25 us/op 146.55 us/op 1.07
altair processAttestation - setStatus - 1/3 committees join 328.17 us/op 290.94 us/op 1.13
altair processAttestation - setStatus - 1/2 committees join 413.61 us/op 391.16 us/op 1.06
altair processAttestation - setStatus - 2/3 committees join 497.44 us/op 501.00 us/op 0.99
altair processAttestation - setStatus - 4/5 committees join 684.19 us/op 684.47 us/op 1.00
altair processAttestation - setStatus - 100% committees join 797.40 us/op 826.57 us/op 0.96
altair processBlock - 250000 vs - 7PWei normalcase 19.860 ms/op 19.046 ms/op 1.04
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.290 ms/op 27.782 ms/op 0.98
altair processBlock - 250000 vs - 7PWei worstcase 52.173 ms/op 52.028 ms/op 1.00
altair processBlock - 250000 vs - 7PWei worstcase hashState 72.408 ms/op 75.285 ms/op 0.96
phase0 processBlock - 250000 vs - 7PWei normalcase 2.6889 ms/op 2.0950 ms/op 1.28
phase0 processBlock - 250000 vs - 7PWei worstcase 30.442 ms/op 29.819 ms/op 1.02
altair processEth1Data - 250000 vs - 7PWei normalcase 474.61 us/op 494.12 us/op 0.96
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.030 us/op 8.8080 us/op 1.14
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 32.558 us/op 29.426 us/op 1.11
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.733 us/op 10.315 us/op 1.14
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 9.8840 us/op 7.9950 us/op 1.24
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 116.23 us/op 102.06 us/op 1.14
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 680.04 us/op 663.92 us/op 1.02
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 932.55 us/op 921.27 us/op 1.01
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 925.69 us/op 904.26 us/op 1.02
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.8273 ms/op 2.9387 ms/op 0.96
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.6497 ms/op 1.7940 ms/op 0.92
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.2585 ms/op 3.9788 ms/op 1.07
Tree 40 250000 create 362.96 ms/op 344.53 ms/op 1.05
Tree 40 250000 get(125000) 201.32 ns/op 191.65 ns/op 1.05
Tree 40 250000 set(125000) 1.0389 us/op 1.0161 us/op 1.02
Tree 40 250000 toArray() 21.462 ms/op 20.483 ms/op 1.05
Tree 40 250000 iterate all - toArray() + loop 21.356 ms/op 21.051 ms/op 1.01
Tree 40 250000 iterate all - get(i) 75.929 ms/op 73.311 ms/op 1.04
MutableVector 250000 create 10.794 ms/op 10.942 ms/op 0.99
MutableVector 250000 get(125000) 6.5270 ns/op 6.3280 ns/op 1.03
MutableVector 250000 set(125000) 293.10 ns/op 274.73 ns/op 1.07
MutableVector 250000 toArray() 4.1774 ms/op 3.0310 ms/op 1.38
MutableVector 250000 iterate all - toArray() + loop 4.1272 ms/op 3.0173 ms/op 1.37
MutableVector 250000 iterate all - get(i) 1.5717 ms/op 1.5336 ms/op 1.02
Array 250000 create 3.2401 ms/op 2.9725 ms/op 1.09
Array 250000 clone - spread 1.2777 ms/op 1.2097 ms/op 1.06
Array 250000 get(125000) 0.57600 ns/op 0.56900 ns/op 1.01
Array 250000 set(125000) 0.64300 ns/op 0.64600 ns/op 1.00
Array 250000 iterate all - loop 108.45 us/op 108.63 us/op 1.00
effectiveBalanceIncrements clone Uint8Array 300000 41.523 us/op 39.408 us/op 1.05
effectiveBalanceIncrements clone MutableVector 300000 335.00 ns/op 328.00 ns/op 1.02
effectiveBalanceIncrements rw all Uint8Array 300000 169.83 us/op 169.95 us/op 1.00
effectiveBalanceIncrements rw all MutableVector 300000 87.022 ms/op 81.113 ms/op 1.07
phase0 afterProcessEpoch - 250000 vs - 7PWei 118.37 ms/op 116.48 ms/op 1.02
phase0 beforeProcessEpoch - 250000 vs - 7PWei 36.776 ms/op 35.667 ms/op 1.03
altair processEpoch - mainnet_e81889 322.22 ms/op 322.83 ms/op 1.00
mainnet_e81889 - altair beforeProcessEpoch 73.588 ms/op 55.553 ms/op 1.32
mainnet_e81889 - altair processJustificationAndFinalization 19.064 us/op 21.774 us/op 0.88
mainnet_e81889 - altair processInactivityUpdates 5.9810 ms/op 6.5549 ms/op 0.91
mainnet_e81889 - altair processRewardsAndPenalties 53.039 ms/op 67.200 ms/op 0.79
mainnet_e81889 - altair processRegistryUpdates 3.8010 us/op 2.9790 us/op 1.28
mainnet_e81889 - altair processSlashings 766.00 ns/op 739.00 ns/op 1.04
mainnet_e81889 - altair processEth1DataReset 906.00 ns/op 563.00 ns/op 1.61
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3033 ms/op 1.3608 ms/op 0.96
mainnet_e81889 - altair processSlashingsReset 5.7310 us/op 6.8390 us/op 0.84
mainnet_e81889 - altair processRandaoMixesReset 6.0950 us/op 8.5000 us/op 0.72
mainnet_e81889 - altair processHistoricalRootsUpdate 1.2690 us/op 1.0710 us/op 1.18
mainnet_e81889 - altair processParticipationFlagUpdates 4.2740 us/op 3.7490 us/op 1.14
mainnet_e81889 - altair processSyncCommitteeUpdates 1.1540 us/op 745.00 ns/op 1.55
mainnet_e81889 - altair afterProcessEpoch 139.30 ms/op 137.68 ms/op 1.01
phase0 processEpoch - mainnet_e58758 379.47 ms/op 363.05 ms/op 1.05
mainnet_e58758 - phase0 beforeProcessEpoch 151.92 ms/op 144.01 ms/op 1.05
mainnet_e58758 - phase0 processJustificationAndFinalization 21.190 us/op 18.615 us/op 1.14
mainnet_e58758 - phase0 processRewardsAndPenalties 67.641 ms/op 63.198 ms/op 1.07
mainnet_e58758 - phase0 processRegistryUpdates 9.6880 us/op 8.9600 us/op 1.08
mainnet_e58758 - phase0 processSlashings 630.00 ns/op 503.00 ns/op 1.25
mainnet_e58758 - phase0 processEth1DataReset 649.00 ns/op 617.00 ns/op 1.05
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0568 ms/op 997.85 us/op 1.06
mainnet_e58758 - phase0 processSlashingsReset 4.8220 us/op 3.4060 us/op 1.42
mainnet_e58758 - phase0 processRandaoMixesReset 5.1640 us/op 4.7310 us/op 1.09
mainnet_e58758 - phase0 processHistoricalRootsUpdate 662.00 ns/op 634.00 ns/op 1.04
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.3320 us/op 3.8610 us/op 1.12
mainnet_e58758 - phase0 afterProcessEpoch 102.01 ms/op 98.701 ms/op 1.03
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2835 ms/op 1.2435 ms/op 1.03
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.6723 ms/op 1.5140 ms/op 1.10
altair processInactivityUpdates - 250000 normalcase 24.978 ms/op 25.295 ms/op 0.99
altair processInactivityUpdates - 250000 worstcase 24.871 ms/op 26.993 ms/op 0.92
phase0 processRegistryUpdates - 250000 normalcase 8.3150 us/op 7.8690 us/op 1.06
phase0 processRegistryUpdates - 250000 badcase_full_deposits 283.25 us/op 275.08 us/op 1.03
phase0 processRegistryUpdates - 250000 worstcase 0.5 125.08 ms/op 123.65 ms/op 1.01
altair processRewardsAndPenalties - 250000 normalcase 66.147 ms/op 67.505 ms/op 0.98
altair processRewardsAndPenalties - 250000 worstcase 69.064 ms/op 72.977 ms/op 0.95
phase0 getAttestationDeltas - 250000 normalcase 8.1278 ms/op 8.4617 ms/op 0.96
phase0 getAttestationDeltas - 250000 worstcase 7.1658 ms/op 7.8763 ms/op 0.91
phase0 processSlashings - 250000 worstcase 3.8842 ms/op 3.6702 ms/op 1.06
altair processSyncCommitteeUpdates - 250000 185.53 ms/op 190.42 ms/op 0.97
BeaconState.hashTreeRoot - No change 308.00 ns/op 351.00 ns/op 0.88
BeaconState.hashTreeRoot - 1 full validator 54.409 us/op 56.325 us/op 0.97
BeaconState.hashTreeRoot - 32 full validator 579.73 us/op 543.57 us/op 1.07
BeaconState.hashTreeRoot - 512 full validator 5.6392 ms/op 5.3411 ms/op 1.06
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 67.990 us/op 63.252 us/op 1.07
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 955.02 us/op 1.0573 ms/op 0.90
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 12.905 ms/op 13.200 ms/op 0.98
BeaconState.hashTreeRoot - 1 balances 53.854 us/op 54.912 us/op 0.98
BeaconState.hashTreeRoot - 32 balances 474.20 us/op 470.56 us/op 1.01
BeaconState.hashTreeRoot - 512 balances 4.7183 ms/op 5.3396 ms/op 0.88
BeaconState.hashTreeRoot - 250000 balances 81.945 ms/op 81.521 ms/op 1.01
aggregationBits - 2048 els - zipIndexesInBitList 17.536 us/op 17.884 us/op 0.98
regular array get 100000 times 34.866 us/op 34.115 us/op 1.02
wrappedArray get 100000 times 46.547 us/op 44.305 us/op 1.05
arrayWithProxy get 100000 times 15.798 ms/op 15.810 ms/op 1.00
ssz.Root.equals 598.00 ns/op 547.00 ns/op 1.09
byteArrayEquals 599.00 ns/op 543.00 ns/op 1.10
shuffle list - 16384 els 7.2467 ms/op 7.0243 ms/op 1.03
shuffle list - 250000 els 106.94 ms/op 103.64 ms/op 1.03
processSlot - 1 slots 10.433 us/op 10.126 us/op 1.03
processSlot - 32 slots 1.4701 ms/op 1.4016 ms/op 1.05
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 43.909 ms/op 40.427 ms/op 1.09
getCommitteeAssignments - req 1 vs - 250000 vc 3.3762 ms/op 3.3053 ms/op 1.02
getCommitteeAssignments - req 100 vs - 250000 vc 5.0984 ms/op 4.3948 ms/op 1.16
getCommitteeAssignments - req 1000 vs - 250000 vc 5.5415 ms/op 4.9698 ms/op 1.12
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 6.3900 ns/op 5.3300 ns/op 1.20
state getBlockRootAtSlot - 250000 vs - 7PWei 757.59 ns/op 860.90 ns/op 0.88
computeProposers - vc 250000 11.881 ms/op 11.300 ms/op 1.05
computeEpochShuffling - vc 250000 120.31 ms/op 111.83 ms/op 1.08
getNextSyncCommittee - vc 250000 202.33 ms/op 195.45 ms/op 1.04
computeSigningRoot for AttestationData 15.425 us/op 15.694 us/op 0.98
hash AttestationData serialized data then Buffer.toString(base64) 2.7477 us/op 2.7423 us/op 1.00
toHexString serialized data 1.4211 us/op 1.6484 us/op 0.86
Buffer.toString(base64) 391.87 ns/op 383.83 ns/op 1.02

Please sign in to comment.