Skip to content

test(benchmark): add cloud benchmark suites and CloudMode fixes for running them#3644

Open
kmatasfp wants to merge 2 commits into
mainfrom
port/benchmark-suites
Open

test(benchmark): add cloud benchmark suites and CloudMode fixes for running them#3644
kmatasfp wants to merge 2 commits into
mainfrom
port/benchmark-suites

Conversation

@kmatasfp

Copy link
Copy Markdown
Contributor

No description provided.

@kmatasfp kmatasfp requested a review from a team June 17, 2026 08:33
@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for golemcloud canceled.

Name Link
🔨 Latest commit 820b512
🔍 Latest deploy log https://app.netlify.com/projects/golemcloud/deploys/6a32fc27b5442e0008605a1e

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct BenchmarkSuiteResult {
/// Result format version. Always `1` for results produced by this binary.
pub schema_version: u32,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This needs a default, because on the daily CI benchmark run we append results to an old result file (that is rendered at https://golemcloud.github.io/benchmark-results/)

std::env::var(key).ok().filter(|v| !v.is_empty())
}
fn env_u32(key: &str) -> Option<u32> {
env_str(key).and_then(|v| v.parse().ok())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would panic if the env var is set but not a number, to avoid confusion

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.

2 participants