-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Block building benchmark via github-action-benchmark (#11202)
Deletes old benchmarks, along with the benchmark-related scripts and types. Adds a single benchmark for block building, with a stubbed `TelemetryClient` that collects all datapoints in memory, and then flushes a set of specified metrics into the custom format expected by [github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark), which we're currently using for bb. Benchmarks get published to https://aztecprotocol.github.io/aztec-packages/dev/e2e-bench/ Fixes #11154
- Loading branch information
1 parent
2bd895b
commit c107b6b
Showing
39 changed files
with
452 additions
and
1,933 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
export * from './stats.js'; | ||
export * from './metrics.js'; | ||
export * from './benchmarks.js'; | ||
|
||
/** Block sizes to use for benchmark tests on multiple block sizes. */ | ||
export const BENCHMARK_BLOCK_SIZES = process.env.BENCHMARK_BLOCK_SIZES | ||
? process.env.BENCHMARK_BLOCK_SIZES.split(',').map(Number) | ||
: [4, 8, 16]; | ||
|
||
/** Block size to use for building chains of multiple blocks. */ | ||
export const BENCHMARK_HISTORY_BLOCK_SIZE = process.env.BENCHMARK_HISTORY_BLOCK_SIZE | ||
? +process.env.BENCHMARK_HISTORY_BLOCK_SIZE | ||
: 8; | ||
|
||
/** Chain lengths to test for history processing benchmarks. */ | ||
export const BENCHMARK_HISTORY_CHAIN_LENGTHS = process.env.BENCHMARK_HISTORY_CHAIN_LENGTHS | ||
? process.env.BENCHMARK_HISTORY_CHAIN_LENGTHS.split(',').map(x => Number(x)) | ||
: [3, 5]; |
Oops, something went wrong.