自己写的teego框架,想做成性能极致功能齐全的golang新框架,github地址:https://github.com/teemoyangyyq/TeeGo
,只是功能还不完善,希望集合小伙伴们一起开发
更多评论
直觉告诉我你的`benchmark`写得有问题得到了误导性结果, 建议仿照`gin`写一个
```
goos: darwin
goarch: arm64
pkg: github.com/gin-gonic/gin
BenchmarkOneRoute-8 45460980 26.13 ns/op 0 B/op 0 allocs/op
BenchmarkRecoveryMiddleware-8 38337534 31.00 ns/op 0 B/op 0 allocs/op
Benchmark5Params-8 18889320 63.42 ns/op 0 B/op 0 allocs/op
BenchmarkOneRouteJSON-8 7542141 162.7 ns/op 48 B/op 3 allocs/op
Benchmark404-8 29467527 43.23 ns/op 0 B/op 0 allocs/op
Benchmark404Many-8 27458932 43.92 ns/op 0 B/op 0 allocs/op
PASS
```
#3