🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/evanphx/wildcat

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/evanphx/wildcat

v0.0.0-20141114174135-e7012f664567
Source
Go
Version published
Created
Source

wildcat

GoDoc

A high performance golang HTTP parser.

Baseline benchmarking results:

zero :: evanphx/wildcat> go test -bench . -benchmem
PASS
BenchmarkParseSimple	50000000	        44.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkNetHTTP	  500000	      4608 ns/op	    4627 B/op	       7 allocs/op
BenchmarkParseSimpleHeaders	20000000	       106 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseSimple3Headers	10000000	       213 ns/op	       0 B/op	       0 allocs/op
BenchmarkNetHTTP3	  500000	      6733 ns/op	    5064 B/op	      11 allocs/op
ok  	github.com/evanphx/wildcat	12.665s

NOTE: these are a bit of lie because wildcat doesn't yet do everything that net/http.ReadRequest does. The numbers are included here only to provide a baseline comparison for future work.

FAQs

Package last updated on 14 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts