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(docker): security upgrade grafana/grafana from 8.5.25 to 8.5.27 #5924

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

nazarhussain
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.

Changes included in this PR

  • docker/grafana/Dockerfile

We recommend upgrading to grafana/grafana:8.5.27, as this image has only 3 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.

Some of the most important vulnerabilities in your base image include:

Severity Priority Score / 1000 Issue Exploit Maturity
high severity 614 Out-of-bounds Write
SNYK-ALPINE315-NCURSES-5606598
No Known Exploit
high severity 614 Out-of-bounds Write
SNYK-ALPINE315-NCURSES-5606598
No Known Exploit
high severity 514 Allocation of Resources Without Limits or Throttling
SNYK-ALPINE315-OPENSSL-5661569
No Known Exploit
high severity 514 Allocation of Resources Without Limits or Throttling
SNYK-ALPINE315-OPENSSL-5661569
No Known Exploit
medium severity 514 Inefficient Regular Expression Complexity
SNYK-ALPINE315-OPENSSL-5788364
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling
🦉 Inefficient Regular Expression Complexity

@nazarhussain nazarhussain requested a review from a team as a code owner August 31, 2023 17:03
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 8038954 Previous: 3b5941a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 678.47 us/op 912.58 us/op 0.74
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 78.369 us/op 79.769 us/op 0.98
BLS verify - blst-native 1.3184 ms/op 1.3270 ms/op 0.99
BLS verifyMultipleSignatures 3 - blst-native 2.8045 ms/op 2.8263 ms/op 0.99
BLS verifyMultipleSignatures 8 - blst-native 6.1612 ms/op 6.4779 ms/op 0.95
BLS verifyMultipleSignatures 32 - blst-native 22.424 ms/op 23.397 ms/op 0.96
BLS verifyMultipleSignatures 64 - blst-native 43.998 ms/op 45.842 ms/op 0.96
BLS verifyMultipleSignatures 128 - blst-native 87.718 ms/op 89.521 ms/op 0.98
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3548 ms/op 1.4431 ms/op 0.94
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5311 ms/op 1.5194 ms/op 1.01
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5168 ms/op 2.3623 ms/op 1.07
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4094 ms/op 3.4711 ms/op 0.98
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.5619 ms/op 5.6978 ms/op 0.98
BLS aggregatePubkeys 32 - blst-native 25.724 us/op 26.397 us/op 0.97
BLS aggregatePubkeys 128 - blst-native 98.577 us/op 103.23 us/op 0.95
getAttestationsForBlock 45.391 ms/op 35.947 ms/op 1.26
isKnown best case - 1 super set check 289.00 ns/op 278.00 ns/op 1.04
isKnown normal case - 2 super set checks 317.00 ns/op 273.00 ns/op 1.16
isKnown worse case - 16 super set checks 286.00 ns/op 260.00 ns/op 1.10
CheckpointStateCache - add get delete 5.3350 us/op 5.1900 us/op 1.03
validate api signedAggregateAndProof - struct 2.7702 ms/op 2.8277 ms/op 0.98
validate gossip signedAggregateAndProof - struct 2.7747 ms/op 2.7947 ms/op 0.99
validate gossip attestation - vc 640000 1.3658 ms/op 1.3577 ms/op 1.01
batch validate gossip attestation - vc 640000 - chunk 32 151.29 us/op 154.01 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 64 132.93 us/op 137.79 us/op 0.96
batch validate gossip attestation - vc 640000 - chunk 128 127.68 us/op 123.34 us/op 1.04
batch validate gossip attestation - vc 640000 - chunk 256 123.21 us/op 116.77 us/op 1.06
pickEth1Vote - no votes 1.3828 ms/op 1.2473 ms/op 1.11
pickEth1Vote - max votes 11.251 ms/op 8.5080 ms/op 1.32
pickEth1Vote - Eth1Data hashTreeRoot value x2048 10.002 ms/op 8.5377 ms/op 1.17
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.532 ms/op 16.158 ms/op 1.21
pickEth1Vote - Eth1Data fastSerialize value x2048 658.74 us/op 636.33 us/op 1.04
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.2210 ms/op 7.5802 ms/op 0.95
bytes32 toHexString 531.00 ns/op 479.00 ns/op 1.11
bytes32 Buffer.toString(hex) 300.00 ns/op 296.00 ns/op 1.01
bytes32 Buffer.toString(hex) from Uint8Array 477.00 ns/op 439.00 ns/op 1.09
bytes32 Buffer.toString(hex) + 0x 302.00 ns/op 282.00 ns/op 1.07
Object access 1 prop 0.17000 ns/op 0.14700 ns/op 1.16
Map access 1 prop 0.14800 ns/op 0.14600 ns/op 1.01
Object get x1000 7.1680 ns/op 7.3610 ns/op 0.97
Map get x1000 0.64400 ns/op 0.62100 ns/op 1.04
Object set x1000 59.153 ns/op 51.627 ns/op 1.15
Map set x1000 44.807 ns/op 40.825 ns/op 1.10
Return object 10000 times 0.24260 ns/op 0.23900 ns/op 1.02
Throw Error 10000 times 3.9349 us/op 4.0255 us/op 0.98
fastMsgIdFn sha256 / 200 bytes 3.3070 us/op 3.2570 us/op 1.02
fastMsgIdFn h32 xxhash / 200 bytes 283.00 ns/op 284.00 ns/op 1.00
fastMsgIdFn h64 xxhash / 200 bytes 349.00 ns/op 352.00 ns/op 0.99
fastMsgIdFn sha256 / 1000 bytes 11.510 us/op 11.438 us/op 1.01
fastMsgIdFn h32 xxhash / 1000 bytes 401.00 ns/op 431.00 ns/op 0.93
fastMsgIdFn h64 xxhash / 1000 bytes 429.00 ns/op 429.00 ns/op 1.00
fastMsgIdFn sha256 / 10000 bytes 104.36 us/op 103.40 us/op 1.01
fastMsgIdFn h32 xxhash / 10000 bytes 1.9600 us/op 1.9200 us/op 1.02
fastMsgIdFn h64 xxhash / 10000 bytes 1.3590 us/op 1.2950 us/op 1.05
enrSubnets - fastDeserialize 64 bits 1.2590 us/op 1.1840 us/op 1.06
enrSubnets - ssz BitVector 64 bits 411.00 ns/op 437.00 ns/op 0.94
enrSubnets - fastDeserialize 4 bits 177.00 ns/op 159.00 ns/op 1.11
enrSubnets - ssz BitVector 4 bits 429.00 ns/op 412.00 ns/op 1.04
prioritizePeers score -10:0 att 32-0.1 sync 2-0 111.89 us/op 95.952 us/op 1.17
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 126.18 us/op 122.22 us/op 1.03
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 170.87 us/op 151.64 us/op 1.13
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 316.92 us/op 281.02 us/op 1.13
prioritizePeers score 0:0 att 64-1 sync 4-1 365.25 us/op 329.94 us/op 1.11
array of 16000 items push then shift 1.6486 us/op 1.6006 us/op 1.03
LinkedList of 16000 items push then shift 9.2700 ns/op 8.8260 ns/op 1.05
array of 16000 items push then pop 91.216 ns/op 79.188 ns/op 1.15
LinkedList of 16000 items push then pop 9.7520 ns/op 8.7180 ns/op 1.12
array of 24000 items push then shift 2.6105 us/op 2.3607 us/op 1.11
LinkedList of 24000 items push then shift 10.775 ns/op 8.8590 ns/op 1.22
array of 24000 items push then pop 166.34 ns/op 105.98 ns/op 1.57
LinkedList of 24000 items push then pop 9.8180 ns/op 8.5000 ns/op 1.16
intersect bitArray bitLen 8 7.4260 ns/op 6.6720 ns/op 1.11
intersect array and set length 8 58.112 ns/op 53.850 ns/op 1.08
intersect bitArray bitLen 128 32.331 ns/op 31.132 ns/op 1.04
intersect array and set length 128 985.39 ns/op 729.58 ns/op 1.35
bitArray.getTrueBitIndexes() bitLen 128 1.6700 us/op 1.3210 us/op 1.26
bitArray.getTrueBitIndexes() bitLen 248 2.8530 us/op 2.2820 us/op 1.25
bitArray.getTrueBitIndexes() bitLen 512 5.5490 us/op 4.5440 us/op 1.22
Buffer.concat 32 items 1.0340 us/op 920.00 ns/op 1.12
Uint8Array.set 32 items 2.8220 us/op 1.7520 us/op 1.61
Set add up to 64 items then delete first 4.4794 us/op 4.1743 us/op 1.07
OrderedSet add up to 64 items then delete first 5.5777 us/op 5.3188 us/op 1.05
Set add up to 64 items then delete last 4.9172 us/op 4.6057 us/op 1.07
OrderedSet add up to 64 items then delete last 6.4266 us/op 5.8926 us/op 1.09
Set add up to 64 items then delete middle 4.9185 us/op 4.8123 us/op 1.02
OrderedSet add up to 64 items then delete middle 7.5318 us/op 7.0244 us/op 1.07
Set add up to 128 items then delete first 9.9189 us/op 9.2158 us/op 1.08
OrderedSet add up to 128 items then delete first 12.713 us/op 13.313 us/op 0.95
Set add up to 128 items then delete last 9.8653 us/op 9.7959 us/op 1.01
OrderedSet add up to 128 items then delete last 12.159 us/op 11.636 us/op 1.04
Set add up to 128 items then delete middle 9.8013 us/op 9.1874 us/op 1.07
OrderedSet add up to 128 items then delete middle 19.632 us/op 17.113 us/op 1.15
Set add up to 256 items then delete first 19.921 us/op 19.723 us/op 1.01
OrderedSet add up to 256 items then delete first 25.220 us/op 26.244 us/op 0.96
Set add up to 256 items then delete last 20.222 us/op 19.670 us/op 1.03
OrderedSet add up to 256 items then delete last 27.081 us/op 24.612 us/op 1.10
Set add up to 256 items then delete middle 20.458 us/op 18.805 us/op 1.09
OrderedSet add up to 256 items then delete middle 46.266 us/op 47.192 us/op 0.98
transfer serialized Status (84 B) 1.8700 us/op 1.8320 us/op 1.02
copy serialized Status (84 B) 1.6940 us/op 1.5850 us/op 1.07
transfer serialized SignedVoluntaryExit (112 B) 2.3060 us/op 2.0810 us/op 1.11
copy serialized SignedVoluntaryExit (112 B) 2.0340 us/op 1.6270 us/op 1.25
transfer serialized ProposerSlashing (416 B) 3.3320 us/op 2.0920 us/op 1.59
copy serialized ProposerSlashing (416 B) 3.5640 us/op 1.9380 us/op 1.84
transfer serialized Attestation (485 B) 3.4420 us/op 2.7510 us/op 1.25
copy serialized Attestation (485 B) 3.7010 us/op 2.7420 us/op 1.35
transfer serialized AttesterSlashing (33232 B) 3.6810 us/op 2.7180 us/op 1.35
copy serialized AttesterSlashing (33232 B) 9.4560 us/op 6.0490 us/op 1.56
transfer serialized Small SignedBeaconBlock (128000 B) 3.6260 us/op 2.4450 us/op 1.48
copy serialized Small SignedBeaconBlock (128000 B) 21.311 us/op 12.698 us/op 1.68
transfer serialized Avg SignedBeaconBlock (200000 B) 4.0770 us/op 2.6790 us/op 1.52
copy serialized Avg SignedBeaconBlock (200000 B) 24.583 us/op 18.490 us/op 1.33
transfer serialized BlobsSidecar (524380 B) 3.6260 us/op 2.8440 us/op 1.27
copy serialized BlobsSidecar (524380 B) 105.14 us/op 90.536 us/op 1.16
transfer serialized Big SignedBeaconBlock (1000000 B) 3.2700 us/op 3.0980 us/op 1.06
copy serialized Big SignedBeaconBlock (1000000 B) 152.64 us/op 160.86 us/op 0.95
pass gossip attestations to forkchoice per slot 3.9571 ms/op 3.8394 ms/op 1.03
forkChoice updateHead vc 100000 bc 64 eq 0 697.04 us/op 711.32 us/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 0 5.6828 ms/op 5.5618 ms/op 1.02
forkChoice updateHead vc 1000000 bc 64 eq 0 7.4728 ms/op 8.0563 ms/op 0.93
forkChoice updateHead vc 600000 bc 320 eq 0 4.5506 ms/op 4.2637 ms/op 1.07
forkChoice updateHead vc 600000 bc 1200 eq 0 4.4931 ms/op 4.3665 ms/op 1.03
forkChoice updateHead vc 600000 bc 7200 eq 0 5.5267 ms/op 5.2152 ms/op 1.06
forkChoice updateHead vc 600000 bc 64 eq 1000 11.643 ms/op 11.585 ms/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 10000 12.637 ms/op 12.373 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 300000 19.942 ms/op 17.013 ms/op 1.17
computeDeltas 500000 validators 300 proto nodes 6.7007 ms/op 6.4292 ms/op 1.04
computeDeltas 500000 validators 1200 proto nodes 7.3476 ms/op 6.2698 ms/op 1.17
computeDeltas 500000 validators 7200 proto nodes 7.5316 ms/op 6.2328 ms/op 1.21
computeDeltas 750000 validators 300 proto nodes 11.538 ms/op 9.5423 ms/op 1.21
computeDeltas 750000 validators 1200 proto nodes 9.8834 ms/op 9.4905 ms/op 1.04
computeDeltas 750000 validators 7200 proto nodes 10.066 ms/op 9.4577 ms/op 1.06
computeDeltas 1400000 validators 300 proto nodes 17.861 ms/op 18.344 ms/op 0.97
computeDeltas 1400000 validators 1200 proto nodes 18.908 ms/op 18.133 ms/op 1.04
computeDeltas 1400000 validators 7200 proto nodes 18.312 ms/op 18.014 ms/op 1.02
computeDeltas 2100000 validators 300 proto nodes 27.864 ms/op 26.668 ms/op 1.04
computeDeltas 2100000 validators 1200 proto nodes 27.643 ms/op 26.808 ms/op 1.03
computeDeltas 2100000 validators 7200 proto nodes 26.358 ms/op 26.901 ms/op 0.98
computeProposerBoostScoreFromBalances 500000 validators 3.1675 ms/op 3.2688 ms/op 0.97
computeProposerBoostScoreFromBalances 750000 validators 3.1141 ms/op 3.2542 ms/op 0.96
computeProposerBoostScoreFromBalances 1400000 validators 3.2361 ms/op 3.2646 ms/op 0.99
computeProposerBoostScoreFromBalances 2100000 validators 3.3943 ms/op 3.2634 ms/op 1.04
altair processAttestation - 250000 vs - 7PWei normalcase 2.4060 ms/op 2.3925 ms/op 1.01
altair processAttestation - 250000 vs - 7PWei worstcase 3.2044 ms/op 3.4463 ms/op 0.93
altair processAttestation - setStatus - 1/6 committees join 144.89 us/op 184.52 us/op 0.79
altair processAttestation - setStatus - 1/3 committees join 284.20 us/op 380.84 us/op 0.75
altair processAttestation - setStatus - 1/2 committees join 378.07 us/op 492.22 us/op 0.77
altair processAttestation - setStatus - 2/3 committees join 493.66 us/op 614.53 us/op 0.80
altair processAttestation - setStatus - 4/5 committees join 692.76 us/op 849.90 us/op 0.82
altair processAttestation - setStatus - 100% committees join 832.58 us/op 1.0299 ms/op 0.81
altair processBlock - 250000 vs - 7PWei normalcase 9.7611 ms/op 10.456 ms/op 0.93
altair processBlock - 250000 vs - 7PWei normalcase hashState 17.789 ms/op 17.248 ms/op 1.03
altair processBlock - 250000 vs - 7PWei worstcase 39.459 ms/op 39.654 ms/op 1.00
altair processBlock - 250000 vs - 7PWei worstcase hashState 59.985 ms/op 60.656 ms/op 0.99
phase0 processBlock - 250000 vs - 7PWei normalcase 3.1643 ms/op 2.6697 ms/op 1.19
phase0 processBlock - 250000 vs - 7PWei worstcase 34.126 ms/op 31.440 ms/op 1.09
altair processEth1Data - 250000 vs - 7PWei normalcase 495.21 us/op 572.96 us/op 0.86
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 14.840 us/op 11.470 us/op 1.29
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 67.778 us/op 63.453 us/op 1.07
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 23.014 us/op 23.514 us/op 0.98
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 13.201 us/op 13.234 us/op 1.00
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 254.36 us/op 150.56 us/op 1.69
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2394 ms/op 1.3434 ms/op 0.92
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.1297 ms/op 1.5671 ms/op 1.36
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.0041 ms/op 1.5812 ms/op 1.27
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.8984 ms/op 3.6675 ms/op 1.06
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.8251 ms/op 2.4690 ms/op 1.14
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 6.8126 ms/op 4.8511 ms/op 1.40
Tree 40 250000 create 421.96 ms/op 346.05 ms/op 1.22
Tree 40 250000 get(125000) 206.86 ns/op 199.34 ns/op 1.04
Tree 40 250000 set(125000) 1.0983 us/op 946.66 ns/op 1.16
Tree 40 250000 toArray() 23.802 ms/op 19.946 ms/op 1.19
Tree 40 250000 iterate all - toArray() + loop 25.074 ms/op 20.699 ms/op 1.21
Tree 40 250000 iterate all - get(i) 77.889 ms/op 71.618 ms/op 1.09
MutableVector 250000 create 13.642 ms/op 10.755 ms/op 1.27
MutableVector 250000 get(125000) 6.7550 ns/op 6.6620 ns/op 1.01
MutableVector 250000 set(125000) 280.59 ns/op 263.79 ns/op 1.06
MutableVector 250000 toArray() 4.1850 ms/op 3.3974 ms/op 1.23
MutableVector 250000 iterate all - toArray() + loop 4.3095 ms/op 3.2514 ms/op 1.33
MutableVector 250000 iterate all - get(i) 1.5708 ms/op 1.5375 ms/op 1.02
Array 250000 create 3.6895 ms/op 3.1239 ms/op 1.18
Array 250000 clone - spread 1.2182 ms/op 1.2131 ms/op 1.00
Array 250000 get(125000) 0.58300 ns/op 0.61000 ns/op 0.96
Array 250000 set(125000) 0.64100 ns/op 0.65900 ns/op 0.97
Array 250000 iterate all - loop 84.078 us/op 84.418 us/op 1.00
effectiveBalanceIncrements clone Uint8Array 300000 30.746 us/op 35.634 us/op 0.86
effectiveBalanceIncrements clone MutableVector 300000 313.00 ns/op 341.00 ns/op 0.92
effectiveBalanceIncrements rw all Uint8Array 300000 183.50 us/op 178.68 us/op 1.03
effectiveBalanceIncrements rw all MutableVector 300000 95.265 ms/op 86.259 ms/op 1.10
phase0 afterProcessEpoch - 250000 vs - 7PWei 121.89 ms/op 115.75 ms/op 1.05
phase0 beforeProcessEpoch - 250000 vs - 7PWei 49.420 ms/op 32.568 ms/op 1.52
altair processEpoch - mainnet_e81889 365.08 ms/op 324.47 ms/op 1.13
mainnet_e81889 - altair beforeProcessEpoch 54.932 ms/op 61.136 ms/op 0.90
mainnet_e81889 - altair processJustificationAndFinalization 21.695 us/op 14.833 us/op 1.46
mainnet_e81889 - altair processInactivityUpdates 6.5116 ms/op 6.3907 ms/op 1.02
mainnet_e81889 - altair processRewardsAndPenalties 62.516 ms/op 67.545 ms/op 0.93
mainnet_e81889 - altair processRegistryUpdates 3.6710 us/op 2.1870 us/op 1.68
mainnet_e81889 - altair processSlashings 795.00 ns/op 462.00 ns/op 1.72
mainnet_e81889 - altair processEth1DataReset 581.00 ns/op 528.00 ns/op 1.10
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.6837 ms/op 1.2609 ms/op 1.34
mainnet_e81889 - altair processSlashingsReset 6.4750 us/op 3.0360 us/op 2.13
mainnet_e81889 - altair processRandaoMixesReset 5.3840 us/op 5.4120 us/op 0.99
mainnet_e81889 - altair processHistoricalRootsUpdate 1.2170 us/op 780.00 ns/op 1.56
mainnet_e81889 - altair processParticipationFlagUpdates 2.9160 us/op 1.9490 us/op 1.50
mainnet_e81889 - altair processSyncCommitteeUpdates 849.00 ns/op 619.00 ns/op 1.37
mainnet_e81889 - altair afterProcessEpoch 149.42 ms/op 122.26 ms/op 1.22
capella processEpoch - mainnet_e217614 1.0591 s/op 1.0279 s/op 1.03
mainnet_e217614 - capella beforeProcessEpoch 248.03 ms/op 237.85 ms/op 1.04
mainnet_e217614 - capella processJustificationAndFinalization 20.629 us/op 12.596 us/op 1.64
mainnet_e217614 - capella processInactivityUpdates 15.220 ms/op 16.519 ms/op 0.92
mainnet_e217614 - capella processRewardsAndPenalties 351.84 ms/op 279.49 ms/op 1.26
mainnet_e217614 - capella processRegistryUpdates 27.362 us/op 19.413 us/op 1.41
mainnet_e217614 - capella processSlashings 782.00 ns/op 1.1730 us/op 0.67
mainnet_e217614 - capella processEth1DataReset 715.00 ns/op 445.00 ns/op 1.61
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9432 ms/op 4.0276 ms/op 0.98
mainnet_e217614 - capella processSlashingsReset 3.4780 us/op 2.1160 us/op 1.64
mainnet_e217614 - capella processRandaoMixesReset 7.2260 us/op 4.1690 us/op 1.73
mainnet_e217614 - capella processHistoricalRootsUpdate 982.00 ns/op 614.00 ns/op 1.60
mainnet_e217614 - capella processParticipationFlagUpdates 2.1320 us/op 1.4210 us/op 1.50
mainnet_e217614 - capella afterProcessEpoch 322.59 ms/op 294.78 ms/op 1.09
phase0 processEpoch - mainnet_e58758 394.51 ms/op 329.52 ms/op 1.20
mainnet_e58758 - phase0 beforeProcessEpoch 130.08 ms/op 117.35 ms/op 1.11
mainnet_e58758 - phase0 processJustificationAndFinalization 22.433 us/op 15.546 us/op 1.44
mainnet_e58758 - phase0 processRewardsAndPenalties 68.740 ms/op 44.295 ms/op 1.55
mainnet_e58758 - phase0 processRegistryUpdates 15.085 us/op 8.8420 us/op 1.71
mainnet_e58758 - phase0 processSlashings 815.00 ns/op 504.00 ns/op 1.62
mainnet_e58758 - phase0 processEth1DataReset 725.00 ns/op 412.00 ns/op 1.76
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.9455 ms/op 1.0003 ms/op 1.94
mainnet_e58758 - phase0 processSlashingsReset 3.3820 us/op 2.1770 us/op 1.55
mainnet_e58758 - phase0 processRandaoMixesReset 5.8590 us/op 3.6030 us/op 1.63
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.0100 us/op 445.00 ns/op 2.27
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.8850 us/op 3.5090 us/op 1.39
mainnet_e58758 - phase0 afterProcessEpoch 93.877 ms/op 96.970 ms/op 0.97
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.7655 ms/op 1.2456 ms/op 1.42
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.6540 ms/op 1.4439 ms/op 1.84
altair processInactivityUpdates - 250000 normalcase 22.442 ms/op 18.784 ms/op 1.19
altair processInactivityUpdates - 250000 worstcase 25.297 ms/op 19.187 ms/op 1.32
phase0 processRegistryUpdates - 250000 normalcase 14.038 us/op 8.0590 us/op 1.74
phase0 processRegistryUpdates - 250000 badcase_full_deposits 613.59 us/op 455.42 us/op 1.35
phase0 processRegistryUpdates - 250000 worstcase 0.5 127.48 ms/op 118.95 ms/op 1.07
altair processRewardsAndPenalties - 250000 normalcase 80.618 ms/op 40.341 ms/op 2.00
altair processRewardsAndPenalties - 250000 worstcase 69.393 ms/op 41.054 ms/op 1.69
phase0 getAttestationDeltas - 250000 normalcase 7.6757 ms/op 7.8998 ms/op 0.97
phase0 getAttestationDeltas - 250000 worstcase 7.6963 ms/op 7.9426 ms/op 0.97
phase0 processSlashings - 250000 worstcase 2.3220 ms/op 2.2825 ms/op 1.02
altair processSyncCommitteeUpdates - 250000 146.32 ms/op 153.46 ms/op 0.95
BeaconState.hashTreeRoot - No change 252.00 ns/op 258.00 ns/op 0.98
BeaconState.hashTreeRoot - 1 full validator 62.435 us/op 50.571 us/op 1.23
BeaconState.hashTreeRoot - 32 full validator 603.16 us/op 538.37 us/op 1.12
BeaconState.hashTreeRoot - 512 full validator 6.5574 ms/op 5.7188 ms/op 1.15
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 65.813 us/op 62.600 us/op 1.05
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 898.30 us/op 857.57 us/op 1.05
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 11.376 ms/op 11.000 ms/op 1.03
BeaconState.hashTreeRoot - 1 balances 52.264 us/op 48.274 us/op 1.08
BeaconState.hashTreeRoot - 32 balances 521.96 us/op 449.58 us/op 1.16
BeaconState.hashTreeRoot - 512 balances 4.0833 ms/op 4.3149 ms/op 0.95
BeaconState.hashTreeRoot - 250000 balances 82.397 ms/op 71.491 ms/op 1.15
aggregationBits - 2048 els - zipIndexesInBitList 15.357 us/op 16.076 us/op 0.96
regular array get 100000 times 42.126 us/op 33.062 us/op 1.27
wrappedArray get 100000 times 31.969 us/op 32.970 us/op 0.97
arrayWithProxy get 100000 times 15.846 ms/op 13.963 ms/op 1.13
ssz.Root.equals 208.00 ns/op 221.00 ns/op 0.94
byteArrayEquals 203.00 ns/op 216.00 ns/op 0.94
shuffle list - 16384 els 6.7601 ms/op 6.9384 ms/op 0.97
shuffle list - 250000 els 99.826 ms/op 101.87 ms/op 0.98
processSlot - 1 slots 9.2460 us/op 8.1220 us/op 1.14
processSlot - 32 slots 1.3067 ms/op 1.3257 ms/op 0.99
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 52.487 ms/op 46.756 ms/op 1.12
getCommitteeAssignments - req 1 vs - 250000 vc 2.4936 ms/op 2.5073 ms/op 0.99
getCommitteeAssignments - req 100 vs - 250000 vc 3.5118 ms/op 3.7915 ms/op 0.93
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0571 ms/op 4.0525 ms/op 1.00
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.8300 ns/op 5.0700 ns/op 0.95
state getBlockRootAtSlot - 250000 vs - 7PWei 485.79 ns/op 759.84 ns/op 0.64
computeProposers - vc 250000 9.1537 ms/op 9.1426 ms/op 1.00
computeEpochShuffling - vc 250000 104.77 ms/op 103.79 ms/op 1.01
getNextSyncCommittee - vc 250000 160.19 ms/op 148.42 ms/op 1.08
computeSigningRoot for AttestationData 13.429 us/op 12.584 us/op 1.07
hash AttestationData serialized data then Buffer.toString(base64) 2.3841 us/op 2.3054 us/op 1.03
toHexString serialized data 1.0847 us/op 1.0481 us/op 1.03
Buffer.toString(base64) 211.35 ns/op 216.96 ns/op 0.97

by benchmarkbot/action

@dapplion
Copy link
Contributor

dapplion commented Sep 1, 2023

@nazarhussain did we agree to disable Snyk? If yes, please revoke permissions to the app

@nazarhussain
Copy link
Contributor Author

@dapplion The Synk was disabled for the code, but we kept it for Docker images. I believe we currently don't have any alternative for docker. Do you want me to disable it for the Docker as well?

@dapplion
Copy link
Contributor

dapplion commented Sep 6, 2023

hmm that's useful then yes. but the Dockerfiles inside docker/ are only used for testing. Could you configure Snyk to ignore them?

@nazarhussain
Copy link
Contributor Author

@dapplion Yes we can configure that but I think even if those docker files are for testing purposes, we should upgrade those docker images to the latests ones regularly or at least in case of security upgrade like this.

@nazarhussain nazarhussain changed the title [Snyk] Security upgrade grafana/grafana from 8.5.25 to 8.5.27 chore(docker): security upgrade grafana/grafana from 8.5.25 to 8.5.27 Sep 11, 2023
@dapplion
Copy link
Contributor

Okay yes that's sounds sensible

@dapplion dapplion merged commit bbfdcb4 into unstable Sep 11, 2023
11 of 12 checks passed
@dapplion dapplion deleted the snyk-fix-b8a2ef425e3a927eae30be70bdd9fc51 branch September 11, 2023 10:01
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.12.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants