Skip to content

Releases: bmf-san/goblin

6.3.4

12 Jun 16:56
8aa4a2b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.3.3...6.3.4

6.3.3

12 Jun 12:40
ed3d232
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.3.2...6.3.3

6.3.2

09 Jun 14:21
61f0a73
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.3.1...6.3.2

6.3.1

26 May 17:32
b2e3a1c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.3.0...6.3.1

6.3.0

02 Feb 02:55
4793d48
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.2.5...6.3.0

6.2.5

12 Jan 17:38
7358a32
Compare
Choose a tag to compare

What's Changed

Full Changelog: 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

6.2.4

11 Jan 17:27
6c4c10b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 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

6.2.3

10 Jan 17:02
115af84
Compare
Choose a tag to compare

What's Changed

  • Fixed due to performance degradation by @bmf-san in #86

Full Changelog: 6.2.2...6.2.3

6.2.2

10 Jan 16:37
3ec03de
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.2.1...6.2.2

6.2.1

08 Jan 20:00
8e15e5c
Compare
Choose a tag to compare

What's Changed

  • Refactoring insert and search method for improving perfomance by @bmf-san in #83

Full Changelog: 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