Git Product home page Git Product logo

see's People

Contributors

junbin-yang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

see's Issues

你好,想问下,执行benchmark 需要什么指令?

我看文档是 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.