Skip to content

benchmarking: Refactor boomer based Locust benchmarking - #1295

Merged
Zoe Zhao (zoez7) merged 3 commits into
agent-substrate:mainfrom
pmandewalkar:refactor-boomer-benchmarking
Sep 2, 2026
Merged

benchmarking: Refactor boomer based Locust benchmarking#1295
Zoe Zhao (zoez7) merged 3 commits into
agent-substrate:mainfrom
pmandewalkar:refactor-boomer-benchmarking

Conversation

@pmandewalkar

@pmandewalkar pmandewalkar commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #1248

Renamed boomer-glutton to boomer-worker.
Extracted the boomer shared utils that future non-glutton workloads may use to the boomerutil package.
Updated durdir and glutton to import and use the changes.

  • [ X] Tests pass
  • [ X] Appropriate changes to documentation are included in the PR

@pmandewalkar
pmandewalkar force-pushed the refactor-boomer-benchmarking branch 2 times, most recently from 5ddad6d to 42cabaf Compare September 1, 2026 19:09
@pmandewalkar pmandewalkar changed the title Refactor boomer based Locust benchmarking benchmarking: Refactor boomer based Locust benchmarking Sep 1, 2026
@pmandewalkar
pmandewalkar force-pushed the refactor-boomer-benchmarking branch from 42cabaf to fb02e69 Compare September 1, 2026 22:44

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

Comment thread cmd/benchmarking/boomer-worker/main.go Outdated
"github.com/agent-substrate/substrate/internal/benchmarking/boomer/boomerutil"
"github.com/agent-substrate/substrate/internal/benchmarking/boomer/dynconfig"
"github.com/agent-substrate/substrate/internal/benchmarking/boomer/glutton"
_ "github.com/agent-substrate/substrate/internal/benchmarking/boomer/glutton"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is it still needed (e.g. doing some package level init)? If not, let's remove this import.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lifecycle.go has an init function.

I think it might make sense to include init imports in their own commented import block.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

addressed!

// ateapi rejects calls that carry no credential, so present the pod
// certificate — the same client auth the base install gives ate-controller
// and atenet-router. ClientCredBundle re-reads the bundle on every handshake,
// so rotations are picked up without a restart.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Let's keep the documentation. Maybe this gets dropped accidentally during a rebase?

@roycaihw

Copy link
Copy Markdown

cc Max Smythe (@maxsmythe) PTAL

@maxsmythe Max Smythe (maxsmythe) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

After two small nits, LGTM

@pmandewalkar
pmandewalkar force-pushed the refactor-boomer-benchmarking branch from fb02e69 to 1b4fa72 Compare September 2, 2026 17:37

@maxsmythe Max Smythe (maxsmythe) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@zoez7
Zoe Zhao (zoez7) merged commit cedb014 into agent-substrate:main Sep 2, 2026
9 checks passed
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.

Rename boomer-glutton and extract shared benchmarking utilities for Locust based boomer worker tests

4 participants