Skip to content

docs(benchmarks): update benchmark report with Gin v1.12.0 results#4581

Merged
appleboy merged 1 commit intomasterfrom
docs/update-benchmarks
Mar 15, 2026
Merged

docs(benchmarks): update benchmark report with Gin v1.12.0 results#4581
appleboy merged 1 commit intomasterfrom
docs/update-benchmarks

Conversation

@appleboy
Copy link
Member

Summary

  • Update benchmark data from Gin v1.6.3 (May 2020) to Gin v1.12.0 (March 2026)
  • Update test environment from Travis CI / Ubuntu 16.04 / Go 1.14.2 to Apple M4 Pro / macOS / Go 1.25.8
  • Improve report readability with table of contents, ranked summary tables, and organized sections

Key Results

Gin ranks #3 overall across all API benchmarks with zero memory allocations:

API Benchmark #1 #2 #3 (Gin)
GitHub (203 routes) Aero 6,646 ns LARS 8,714 ns Gin 9,058 ns
Google+ (13 routes) Aero 323 ns LARS 383 ns Gin 412 ns
Parse (26 routes) Aero 546 ns LARS 669 ns Gin 720 ns
Static (157 routes) Denco 2,240 ns Aero 2,872 ns HttpTreeMux 4,031 ns (Gin #6: 5,566 ns)

Test plan

  • Verified all benchmarks pass with go test -bench=. -benchmem
  • Cross-referenced with go-http-routing-benchmark repo (already updated)

🤖 Generated with Claude Code

- Update test environment to Apple M4 Pro, Go 1.25.8, macOS
- Add table of contents for easier navigation
- Add ranked summary tables for each API benchmark
- Reorganize full results by API section with clear headings
- Refresh all memory consumption and benchmark data

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 15, 2026 05:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@appleboy appleboy added this to the v1.13 milestone Mar 15, 2026
@appleboy appleboy merged commit 65d1c47 into master Mar 15, 2026
25 checks passed
@appleboy appleboy deleted the docs/update-benchmarks branch March 15, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants