Before adoption: this commit came in with the history the project adopted, so no landing records it.
* chore: add HTTP benchmark tool
Add performance benchmarking tool inspired by bun-http-framework-benchmark:
- Test ping/query/body endpoints
- Compare Git revisions
- Output results in table format
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* format
* chore: rename http-benchmark to speed-check
Rename directory from perf-measures/http-benchmark to perf-measures/speed-check
for better naming consistency.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat(perf-measures): add speed-check HTTP benchmark tool
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* refactored
* format
* feat: integrate speed-check into perf-measures with CI support
Add HTTP performance benchmarking to the consolidated performance measurement system with --ci mode support.
- Move benchmark.ts to scripts/ directory for consistency
- Add --ci flag for CI-optimized execution (silent mode, JSON output)
- Integrate speed-check results into octocov configuration
- Install bombardier automatically in CI
- Preserve detailed comparison mode for local development
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* chore: update CI job names to include Speed Check
Update GitHub Actions job names to reflect the addition of HTTP speed checking alongside type checking and bundle size checking.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: update bombardier download to use latest version and correct URL
Fix 404 error by updating to bombardier v2.0.1 and downloading the binary directly instead of using a tar.gz archive that no longer exists.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: optimize speed-check for CI and improve display order
- Skip buildVersion in CI mode and use existing dist folder directly
- Reorder metrics display: Bundle size -> Speed check -> Compiler diagnostics
- Eliminate unnecessary build steps that caused CI failures
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: correct dist folder path in CI mode and lint issues
- Fix cp command path from `/dist` to `${HONO_ROOT}/dist`
- Change log function parameter type from any[] to unknown[]
- Run format:fix and lint:fix to resolve style issues
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* debug: add path debugging for CI dist folder issue
* clean: remove debug code
* format
* fix: use script file location for reliable path resolution
Replace process.cwd() with import.meta.dirname to ensure paths are resolved relative to the script file location, not the execution directory. This fixes dist folder path issues in CI.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fixed the order and title
---------
A performance benchmarking tool for measuring HTTP performance of Hono.
This tool is inspired by and references the [bun-http-framework-benchmark](https://github.com/SaltyAom/bun-http-framework-benchmark) project, adapting some test patterns and bombardier usage.
## 📋 Prerequisites
- [Bun](https://bun.sh/) v1.0+
- [bombardier](https://github.com/codesenberg/bombardier) - `brew install bombardier` (macOS) or download from releases
## 🚀 Usage
```bash
cd perf-measures/speed-check
# Compare current branch vs main
bun run scripts/benchmark.ts
# Compare against specific version
bun run scripts/benchmark.ts --baseline=v4.7.11
# Custom configuration
bun run scripts/benchmark.ts --baseline=main --target=current --runs=3
# CI mode (current branch only, JSON output for octocov)