junbin-yang / see Goto Github PK
View Code? Open in Web Editor NEW参考gin开发的高性能轻量级web框架。以尽量精简的代码实现,最大程度兼容和优化gin使用习惯,添加一些新特性。经过不断优化,性能比gin还要好。
参考gin开发的高性能轻量级web框架。以尽量精简的代码实现,最大程度兼容和优化gin使用习惯,添加一些新特性。经过不断优化,性能比gin还要好。
我看文档是 go test -bench=.
但是怎么生成像你库里的这种测试结果呢?
goos: linux
goarch: amd64
pkg: github.com/julienschmidt/go-http-routing-benchmark
cpu: Intel(R) Xeon(R) CPU E5-26xx v4
BenchmarkSee_Param 18934588 65.19 ns/op 0 B/op 0 allocs/op
BenchmarkSee_Param5 10113367 121.4 ns/op 0 B/op 0 allocs/op
BenchmarkSee_Param20 4006928 302.4 ns/op 0 B/op 0 allocs/op
BenchmarkSee_ParamWrite 12420823 99.86 ns/op 0 B/op 0 allocs/op
BenchmarkSee_GithubStatic 13799666 89.87 ns/op 0 B/op 0 allocs/op
BenchmarkSee_GithubParam 7790924 165.5 ns/op 0 B/op 0 allocs/op
BenchmarkSee_GithubAll 43060 28338 ns/op 0 B/op 0 allocs/op
BenchmarkSee_GPlusStatic 18918536 65.57 ns/op 0 B/op 0 allocs/op
BenchmarkSee_GPlusParam 12505566 95.76 ns/op 0 B/op 0 allocs/op
BenchmarkSee_GPlus2Params 9454593 127.1 ns/op 0 B/op 0 allocs/op
BenchmarkSee_GPlusAll 946676 1272 ns/op 0 B/op 0 allocs/op
BenchmarkSee_ParseStatic 18510088 66.12 ns/op 0 B/op 0 allocs/op
BenchmarkSee_ParseParam 17500362 68.76 ns/op 0 B/op 0 allocs/op
BenchmarkSee_Parse2Params 13304650 85.95 ns/op 0 B/op 0 allocs/op
BenchmarkSee_ParseAll 542652 2289 ns/op 0 B/op 0 allocs/op
BenchmarkSee_StaticAll 58476 20482 ns/op 0 B/op 0 allocs/op
PASS
ok github.com/julienschmidt/go-http-routing-benchmark 22.634s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.