Skip to content

feat(cli): add --profile flag to report slowest tests #678

@Chemaclass

Description

@Chemaclass

Goal

Add a --profile flag that reports the slowest N tests after a run.

Why

No per-test timing visibility today. Unlocks DX (find slow tests) and future perf work (measure before optimize).

Notes

  • Runner already times tests; src/clock.sh exists.
  • Print slowest N (default e.g. 10) sorted descending.
  • TDD: RED → GREEN → REFACTOR. Bash 3.0+ compatible. Update help text + CHANGELOG.

Part of #677.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions