Skip to content

Add benchmark CLI - #364

Open
timneutkens wants to merge 1 commit into
e18e:mainfrom
timneutkens:codex/benchmark-cli
Open

Add benchmark CLI#364
timneutkens wants to merge 1 commit into
e18e:mainfrom
timneutkens:codex/benchmark-cli

Conversation

@timneutkens

Copy link
Copy Markdown
Contributor

Summary

  • add a unified CLI for selecting frameworks, packages, benchmark measurements, and run counts
  • support dry runs, version overrides, dependency reuse, and benchmark discovery
  • document local benchmark usage and expose the command from the workspace root

Validation

  • pnpm exec prettier --check on all changed files
  • pnpm --filter @framework-tracker/stats-generator lint
  • pnpm --filter @framework-tracker/stats-generator type-check
  • pnpm benchmark --help
  • pnpm benchmark --list

})
}

function parseArgs(args: string[]): CliOptions | null {

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.

can this use node's built in parseArgs instead?

@AlexanderKaran

Copy link
Copy Markdown
Collaborator

@timneutkens Looks great.

Can we just address James comment about and we can get this merged.

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.

3 participants