-
Notifications
You must be signed in to change notification settings - Fork 586
archive perf test #17522
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
Open
dkijania
wants to merge
26
commits into
compatible
Choose a base branch
from
dkijania/archive_perf_test_extract
base: compatible
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+335
−79
Open
archive perf test #17522
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
833886c
add archive node tests to suite
dkijania bc113a8
eport performance result file
dkijania 1b440fc
enahnce benchmark app with new performance test
dkijania 47592bd
add CI part to execute test and upload data
dkijania 04d15eb
expand dirtyWhen filter
dkijania 9eab44e
fixed duplicated debian components
dkijania a86f27e
added changelog
dkijania 4394144
fix caching part
dkijania b500f87
fix local path to archive.perf test
dkijania b6a4ae2
remove extra args
dkijania 1284a92
set input file in extra args
dkijania a782f68
dhall lints
dkijania b5305a4
fix benchmark name
dkijania a108fd0
use structuted log insted of crude parsing
dkijania d5bd110
use structured log instead of crude regex
dkijania d33d879
migrate to scopes
dkijania 362e449
fmt
dkijania 25333da
Revert "fmt"
dkijania 96e4ebb
add docs and use Yojson.Safe.Util.to_float
dkijania 6ff5ee4
remove extra args from arguments
dkijania 0e0bd6c
remove trailing and leading quotas
dkijania 94ed96d
extending no of tries when syncing with daemon
dkijania 74808f0
changing approach in logging perf metrics. Introduced new function fo…
dkijania a5ce4e2
revert incease number of retries
dkijania 1f91d12
optimize avg calculation
dkijania bff267c
propagate logger instead of creating it each time
dkijania File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 contains hidden or 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 contains hidden or 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
let BenchBase = ../../Command/Bench/Base.dhall | ||
|
||
let SelectFiles = ../../Lib/SelectFiles.dhall | ||
|
||
let Pipeline = ../../Pipeline/Dsl.dhall | ||
|
||
let PipelineScope = ../../Pipeline/Scope.dhall | ||
|
||
let Cmd = ../../Lib/Cmds.dhall | ||
|
||
let makeArchiveBench = | ||
\(name : Text) | ||
-> \(scope : List PipelineScope.Type) | ||
-> Pipeline.build | ||
( BenchBase.pipeline | ||
BenchBase.Spec::{ | ||
, additionalDirtyWhen = | ||
[ SelectFiles.strictlyStart | ||
(SelectFiles.contains "src/test/archive") | ||
, SelectFiles.exactly | ||
"buildkite/src/Jobs/Bench/ArchiveStable" | ||
"dhall" | ||
, SelectFiles.exactly | ||
"buildkite/src/Jobs/Bench/ArchiveUnstable" | ||
"dhall" | ||
] | ||
, path = "Bench" | ||
, name = name | ||
, label = "Archive" | ||
, key = "archive-perf" | ||
, bench = "archive" | ||
, dependsOn = | ||
[ { name = "ArchiveNodeTest", key = "archive-node-test" } ] | ||
, preCommands = | ||
[ Cmd.run | ||
"./buildkite/scripts/cache/manager.sh read archive-node-test/archive.perf ." | ||
] | ||
, scope = scope | ||
, extraArgs = "--input-file archive.perf" | ||
} | ||
) | ||
|
||
in { makeArchiveBench = makeArchiveBench } |
This file contains hidden or 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 contains hidden or 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let ArchiveBench = ../../Command/Bench/Archive.dhall | ||
|
||
let PipelineScope = ../../Pipeline/Scope.dhall | ||
|
||
in ArchiveBench.makeArchiveBench | ||
"ArchiveStable" | ||
PipelineScope.AllButPullRequest |
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let ArchiveBench = ../../Command/Bench/Archive.dhall | ||
|
||
let PipelineScope = ../../Pipeline/Scope.dhall | ||
|
||
in ArchiveBench.makeArchiveBench | ||
"ArchiveUnstable" | ||
PipelineScope.PullRequestOnly |
This file contains hidden or 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 contains hidden or 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Enhanced precomputed_blocks test with performance metrics gathering. Added CI job which also upload it to influx db and once we fill out 10 historical values every measurement will be checked for regression. |
This file contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realize it's very confusing that
run
is empty here. I'll take a closer look after I come backThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. this script is badly designed and initially was meant to support only few benchmarks with the same flow. In this case we ran already benchmark by running archive node test and this job is only to parse results and sent. However, the design of benchmarks app require every benchmark to be executed by benchmark app. here is more detailed explanation:
https://o1-labs.slack.com/archives/C07EYM9GR1U/p1742910001734869?thread_ts=1742907476.503919&cid=C07EYM9GR1U
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, please document the info in this method, then :)