Skip to content

solutions-engineering: make CPU benchmark fixed-work#7

Merged
adityamaru merged 3 commits into
mainfrom
se-migration-lab-fixed-work-cpu
May 16, 2026
Merged

solutions-engineering: make CPU benchmark fixed-work#7
adityamaru merged 3 commits into
mainfrom
se-migration-lab-fixed-work-cpu

Conversation

@adityamaru
Copy link
Copy Markdown
Contributor

@adityamaru adityamaru commented May 16, 2026

Summary

  • Change the fraud benchmark from fixed-duration CPU burn to fixed parallel work.
  • Configure the workflow workload so upsizing the runner can improve wall-clock duration while smaller runners still show CPU saturation.

Test plan

  • Ran npm run lint in solutions-engineering/migration-lab/app.
  • Ran PROFILE_CPU_TASKS=4 PROFILE_CPU_ITERATIONS=2000000 PROFILE_CPU_WORKERS=2 npm run profile:cpu.
  • Validated in the fork playground: 4-vCPU fixed-work baseline ran in 23s with CPU p95 at 100%, while 8-vCPU ran in 16s with CPU p95 around 81%.

Made with Cursor


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews (Staging)

adityamaru and others added 3 commits May 16, 2026 12:20
Change the fraud benchmark from a fixed-duration CPU burn to fixed parallel work so larger runners can improve wall-clock duration while smaller runners saturate CPU.

Co-authored-by: Cursor <cursoragent@cursor.com>
Increase the fraud benchmark work size so the initial 4-vCPU migration takes about a minute while larger runners can show meaningful speedup.

Co-authored-by: Cursor <cursoragent@cursor.com>
Switch the fraud benchmark to a native crypto workload split into smaller tasks so runner CPU sizing produces a clearer performance delta.

Co-authored-by: Cursor <cursoragent@cursor.com>
@adityamaru adityamaru merged commit 3b1532b into main May 16, 2026
7 of 27 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.

1 participant