goblin

A golang http router based on trie tree.

MIT License

Stars
78
Committers
4

Bot releases are hidden (Show)

goblin - 6.6.1 Latest Release

Published by bmf-san 5 months ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.5.1...6.6.1

goblin - 6.5.1

Published by bmf-san about 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.5.0...6.5.1

goblin - 6.5.0

Published by bmf-san about 1 year ago

6.5.0

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.4.1...6.5.0

goblin - 6.4.1

Published by bmf-san about 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.4.0...6.4.1

goblin - 6.4.0

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.9...6.4.0

goblin - 6.3.9

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.8...6.3.9

goblin - 6.3.8

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.7...6.3.8

goblin - 6.3.7

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.6...6.3.7

goblin - 6.3.6

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.5...6.3.6

goblin - 6.3.5

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.4...6.3.5

goblin - 6.3.4

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.3...6.3.4

goblin - 6.3.3

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.2...6.3.3

goblin - 6.3.2

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.1...6.3.2

goblin - 6.3.1

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.3.0...6.3.1

goblin - 6.3.0

Published by bmf-san over 1 year ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.2.5...6.3.0

goblin - 6.2.5

Published by bmf-san almost 2 years ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.2.4...6.2.5

Before(6.2.4)

go test -bench=. -cpu=1 -benchmem -count=1
goos: darwin
goarch: arm64
pkg: github.com/bmf-san/goblin
BenchmarkSetRoutes1  	1000000000	         0.0000027 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes5  	1000000000	         0.0000022 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes10 	1000000000	         0.0000025 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic1     	17289736	        61.54 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic5     	 6827828	       180.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic10    	 3529551	       359.1 ns/op	       0 B/op	       0 allocs/op
BenchmarkWildCard1   	 5931859	       204.4 ns/op	     328 B/op	       3 allocs/op
BenchmarkWildCard5   	 2600925	       461.9 ns/op	     408 B/op	       3 allocs/op
BenchmarkWildCard10  	 1496074	       822.3 ns/op	     600 B/op	       3 allocs/op
BenchmarkRegexp1     	 3727276	       315.6 ns/op	     336 B/op	       4 allocs/op
BenchmarkRegexp5     	 1000000	      1045 ns/op	     459 B/op	       8 allocs/op
BenchmarkRegexp10    	  667413	      1862 ns/op	     694 B/op	      13 allocs/op
PASS
ok  	github.com/bmf-san/goblin	13.267s

After(6.2.5)

goos: darwin
goarch: arm64
pkg: github.com/bmf-san/goblin
BenchmarkSetRoutes1  	1000000000	         0.0000022 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes5  	1000000000	         0.0000018 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes10 	1000000000	         0.0000025 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic1     	18641005	        57.88 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic5     	 6875048	       176.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic10    	 3714705	       359.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkWildCard1   	 5812250	       204.0 ns/op	     328 B/op	       3 allocs/op
BenchmarkWildCard5   	 2605432	       467.2 ns/op	     408 B/op	       3 allocs/op
BenchmarkWildCard10  	 1501742	       853.4 ns/op	     609 B/op	       3 allocs/op
BenchmarkRegexp1     	 3698962	       338.7 ns/op	     336 B/op	       4 allocs/op
BenchmarkRegexp5     	 1000000	      1122 ns/op	     460 B/op	       8 allocs/op
BenchmarkRegexp10    	  647394	      1910 ns/op	     694 B/op	      13 allocs/op
PASS
ok  	github.com/bmf-san/goblin	13.507s
goblin - 6.2.4

Published by bmf-san almost 2 years ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.2.3...6.2.4

Before(6.2.3)

go test -bench=. -cpu=1 -benchmem -count=1
goos: darwin
goarch: arm64
pkg: github.com/bmf-san/goblin
BenchmarkSetRoutes1  	1000000000	         0.0000033 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes5  	1000000000	         0.0000041 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes10 	1000000000	         0.0000066 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic1     	18368128	        65.18 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic5     	 6692038	       187.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic10    	 3657552	       338.6 ns/op	       0 B/op	       0 allocs/op
BenchmarkWildCard1   	 4752026	       255.7 ns/op	     328 B/op	       3 allocs/op
BenchmarkWildCard5   	 1729692	       734.3 ns/op	     408 B/op	       3 allocs/op
BenchmarkWildCard10  	 1000000	      1181 ns/op	     558 B/op	       3 allocs/op
BenchmarkRegexp1     	 3216968	       375.3 ns/op	     336 B/op	       4 allocs/op
BenchmarkRegexp5     	  879732	      1299 ns/op	     459 B/op	       8 allocs/op
BenchmarkRegexp10    	  499522	      2319 ns/op	     693 B/op	      13 allocs/op
PASS
ok  	github.com/bmf-san/goblin	14.032s

After(6.2.4)

go test -bench=. -cpu=1 -benchmem -count=1
goos: darwin
goarch: arm64
pkg: github.com/bmf-san/goblin
BenchmarkSetRoutes1  	1000000000	         0.0000027 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes5  	1000000000	         0.0000022 ns/op	       0 B/op	       0 allocs/op
BenchmarkSetRoutes10 	1000000000	         0.0000025 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic1     	17289736	        61.54 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic5     	 6827828	       180.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkStatic10    	 3529551	       359.1 ns/op	       0 B/op	       0 allocs/op
BenchmarkWildCard1   	 5931859	       204.4 ns/op	     328 B/op	       3 allocs/op
BenchmarkWildCard5   	 2600925	       461.9 ns/op	     408 B/op	       3 allocs/op
BenchmarkWildCard10  	 1496074	       822.3 ns/op	     600 B/op	       3 allocs/op
BenchmarkRegexp1     	 3727276	       315.6 ns/op	     336 B/op	       4 allocs/op
BenchmarkRegexp5     	 1000000	      1045 ns/op	     459 B/op	       8 allocs/op
BenchmarkRegexp10    	  667413	      1862 ns/op	     694 B/op	      13 allocs/op
PASS
ok  	github.com/bmf-san/goblin	13.267s
goblin - 6.2.3

Published by bmf-san almost 2 years ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.2.2...6.2.3

goblin - 6.2.2

Published by bmf-san almost 2 years ago

goblin - 6.2.1

Published by bmf-san almost 2 years ago

What's Changed

Full Changelog: https://github.com/bmf-san/goblin/compare/6.2.0...6.2.1

Before(6.2.0)

go test -bench=. -cpu=1 -benchmem -count=1
goos: darwin
goarch: arm64
pkg: github.com/bmf-san/goblin
BenchmarkStatic1         9711297               108.3 ns/op            32 B/op          1 allocs/op
BenchmarkStatic5         4751539               253.2 ns/op            96 B/op          1 allocs/op
BenchmarkStatic10        2657132               440.0 ns/op           176 B/op          1 allocs/op
BenchmarkWildCard1       3007450               397.6 ns/op           352 B/op          5 allocs/op
BenchmarkWildCard5        905044              1340 ns/op             559 B/op          9 allocs/op
BenchmarkWildCard10       478514              2417 ns/op             805 B/op         14 allocs/op
BenchmarkRegexp1         3007351               399.5 ns/op           352 B/op          5 allocs/op
BenchmarkRegexp5          857139              1329 ns/op             559 B/op          9 allocs/op
BenchmarkRegexp10         492820              2410 ns/op             806 B/op         14 allocs/op
PASS
ok      github.com/bmf-san/goblin       12.384s

After(6.2.1)

go test -bench=. -cpu=1 -benchmem -count=1
goos: darwin
goarch: arm64
pkg: github.com/bmf-san/goblin
BenchmarkSetRoutes1     1000000000               0.0000015 ns/op               0 B/op          0 allocs/op
BenchmarkSetRoutes5     1000000000               0.0000035 ns/op               0 B/op          0 allocs/op
BenchmarkSetRoutes10    1000000000               0.0000025 ns/op               0 B/op          0 allocs/op
BenchmarkStatic1        18489057                63.07 ns/op            0 B/op          0 allocs/op
BenchmarkStatic5         6925203               183.9 ns/op             0 B/op          0 allocs/op
BenchmarkStatic10        3699958               338.2 ns/op             0 B/op          0 allocs/op
BenchmarkWildCard1       4765615               255.0 ns/op           328 B/op          3 allocs/op
BenchmarkWildCard5       1934539               613.0 ns/op           436 B/op          3 allocs/op
BenchmarkWildCard10       854175              1179 ns/op             559 B/op          3 allocs/op
BenchmarkRegexp1         3206086               374.0 ns/op           336 B/op          4 allocs/op
BenchmarkRegexp5          878718              1294 ns/op             460 B/op          8 allocs/op
BenchmarkRegexp10         502275              2312 ns/op             693 B/op         13 allocs/op
PASS
ok      github.com/bmf-san/goblin       12.633s
Package Rankings
Top 5.08% on Proxy.golang.org
Badges
Extracted from project README
Mentioned in Awesome Go GitHub release CircleCI Go Report Card codecov GitHub license Go Reference Sourcegraph Stargazers repo roster for @bmf-san/goblin Forkers repo roster for @bmf-san/goblin