Skip to content

Commit 7f4acf9

Browse files
committed
Add more buckets to the KZG verification metric.
1 parent d90fbd7 commit 7f4acf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beacon_node/beacon_chain/src/metrics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,12 +1809,12 @@ pub static KZG_VERIFICATION_BATCH_TIMES: LazyLock<Result<Histogram>> = LazyLock:
18091809
/// * 64 columns batch: 257 ms
18101810
/// * 128 columns batch: 508 ms
18111811
pub static KZG_VERIFICATION_DATA_COLUMN_SINGLE_TIMES: LazyLock<Result<Histogram>> =
1812-
// 5 exponential buckets between 0.002 and 0.032 seconds, with more granularity on the lower end.
1812+
// 7 exponential buckets between 0.002 and 0.128 seconds, with more granularity on the lower end.
18131813
LazyLock::new(|| {
18141814
try_create_histogram_with_buckets(
18151815
"beacon_kzg_verification_data_column_single_seconds",
18161816
"Runtime of single data column kzg verification",
1817-
exponential_buckets(0.002, 2.0, 5),
1817+
exponential_buckets(0.002, 2.0, 7),
18181818
)
18191819
});
18201820
pub static KZG_VERIFICATION_DATA_COLUMN_BATCH_TIMES: LazyLock<Result<Histogram>> =

0 commit comments

Comments
 (0)