Manu Mtz-Almeida
042046e1f8
Improves travis configuration
2015-06-06 17:35:30 +02:00
Manu Mtz-Almeida
dde06a07f0
Logger only prints internal errors
2015-06-06 17:24:16 +02:00
Manu Mtz-Almeida
70325deb98
c.ClientIP() performance improvement
...
benchmark old ns/op new ns/op delta
BenchmarkManyHandlers 4956 4463 -9.95%
benchmark old allocs new allocs delta
BenchmarkManyHandlers 16 13 -18.75%
benchmark old bytes new bytes delta
BenchmarkManyHandlers 256 216 -15.62%
2015-06-04 13:15:22 +02:00
Manu Mtz-Almeida
822b995687
c.JSON performance improvement
...
benchmark old ns/op new ns/op delta
BenchmarkOneRouteJSON 1143 1053 -7.87%
benchmark old allocs new allocs delta
BenchmarkOneRouteJSON 4 3 -25.00%
benchmark old bytes new bytes delta
BenchmarkOneRouteJSON 72 56 -22.22%
2015-06-04 13:08:29 +02:00
Manu Mtz-Almeida
56683d33b1
c.String() performance improvements
...
```
benchmark old ns/op new ns/op delta
BenchmarkOneRouteString 448 310 -30.80%
benchmark old allocs new allocs delta
BenchmarkOneRouteString 1 0 -100.00%
benchmark old bytes new bytes delta
BenchmarkOneRouteString 48 0 -100.00%
```
2015-06-04 12:53:42 +02:00
Manu Mtz-Almeida
7186200309
Improves performance tests
2015-06-04 12:50:52 +02:00
Manu Mtz-Almeida
971c44c8a8
Updates godep
2015-06-04 11:48:17 +02:00
Manu Mtz-Almeida
1f56e50083
Using Render() instead of Write()
2015-06-04 05:25:21 +02:00
Manu Mtz-Almeida
92475baba6
Adds more units tests
2015-06-04 04:50:40 +02:00
Manu Mtz-Almeida
ee021d06ea
More unit tests
2015-06-04 04:32:18 +02:00
Manu Mtz-Almeida
f199a21486
Updates README
2015-06-04 03:24:28 +02:00
Manu Mtz-Almeida
b99f210f06
Updates README
2015-06-04 02:49:14 +02:00
Manu Mtz-Almeida
0b043d0886
Fixes performance regression
2015-06-04 01:54:36 +02:00
Manu Mtz-Almeida
21979d6a99
Completes integration test
2015-06-03 05:25:50 +02:00
Manu Mtz-Almeida
d73f532972
Merge branch 'test-load-html-glob' of https://github.com/kmulvey/gin
2015-06-03 05:12:25 +02:00
Kevin Mulvey
b235d14ca1
compare the byte array
2015-06-02 20:52:33 -04:00
Manu Mtz-Almeida
ce784498b4
Adds benchmarks
2015-06-01 01:39:08 +02:00
Manu Mtz-Almeida
a21cc8dd3d
Updates HTML render
2015-06-01 00:15:16 +02:00
Kevin Mulvey
da5be64c9f
test standard router
2015-05-31 17:50:26 -04:00
Kevin Mulvey
b512566acf
unix socket integration test
2015-05-31 17:50:26 -04:00
Manu Mtz-Almeida
4430610795
Updates godep
2015-05-31 22:48:38 +02:00
Manu Mtz-Almeida
6e1a6d7c60
Updates godep dependencies
2015-05-31 22:38:33 +02:00
Manu Mtz-Almeida
766493c916
Fixes all unit tests
2015-05-31 22:35:49 +02:00
Manu Mtz-Almeida
0d5dc25d39
Fixes unit test when running in Windows
2015-05-31 18:44:34 +02:00
Manu Mtz-Almeida
1228b03914
Fixing some unit tests
2015-05-31 18:35:28 +02:00
Manu Mtz-Almeida
218b924e72
Updates CHANGELOG
2015-05-31 17:35:22 +02:00
Manu Mtz-Almeida
e60087f223
Fixed documentation error
2015-05-31 17:31:26 +02:00
Manu Mtz-Almeida
0d1b9856ed
Adds shortcut for disabling bind validation.
2015-05-31 17:03:15 +02:00
Manu Mtz-Almeida
0c9f086b74
Renames Validate() to validate()
2015-05-31 16:30:00 +02:00
Manu Mtz-Almeida
fecde9fed6
Refactors binding validation
2015-05-31 16:18:50 +02:00
Manu Mtz-Almeida
aa9078bc73
More benchmarks
2015-05-31 15:55:10 +02:00
Manu Mtz-Almeida
43bcac2031
Updates README
2015-05-31 05:00:47 +02:00
Manu Mtz-Almeida
dcb5553a9b
Fixes typo
2015-05-31 04:37:05 +02:00
Manu Mtz-Almeida
cd92bf4385
Adds panic when using too many handlers
2015-05-31 04:34:21 +02:00
Manu Mtz-Almeida
86824a640c
Updates CHANGELOG
2015-05-31 04:33:47 +02:00
Manu Mtz-Almeida
709fde85d1
More benchmarks
2015-05-30 16:36:14 +02:00
Manu Mtz-Almeida
b7a15d3554
Router optimizations
...
benchmark old ns/op new ns/op delta
Benchmark404 249 237 -4.82%
Benchmark404Many 454 390 -14.10%
2015-05-30 15:55:19 +02:00
Manu Mtz.-Almeida
02a5e0929a
Merge pull request #319 from bfosberry/fixing-example-bugs
...
Fixing compile bug
2015-05-30 15:08:00 +02:00
Manu Mtz-Almeida
835f66fdc9
404 not found performance improvements
...
benchmark old ns/op new ns/op delta
Benchmark404 737 249 -66.21%
Benchmark404Many 2330 454 -80.52%
benchmark old allocs new allocs delta
Benchmark404 3 0 -100.00%
Benchmark404Many 10 0 -100.00%
benchmark old bytes new bytes delta
Benchmark404 115 68 -40.87%
Benchmark404Many 235 57 -75.74%
2015-05-30 14:45:13 +02:00
Manu Mtz-Almeida
deb137cdd2
Adds benchmarks
2015-05-30 14:43:09 +02:00
Manu Mtz-Almeida
48633f7001
Better documentation
2015-05-29 21:03:41 +02:00
Manu Mtz-Almeida
66e9feb622
Optimizes tree lookup
2015-05-29 21:03:28 +02:00
Manu Mtz-Almeida
9584e4ea5c
Fix for #310
2015-05-29 20:34:41 +02:00
Brendan Fosberry
302cd99322
Fixing compile bug
2015-05-29 12:12:54 -05:00
Manu Mtz-Almeida
e899d8a99e
Code cleanup + documentation
2015-05-28 03:22:34 +02:00
Manu Mtz.-Almeida
5680762712
Merge pull request #305 from JustinBeckwith/patch-1
...
add querystring parameter example to readme
2015-05-28 03:16:49 +02:00
Manu Mtz-Almeida
b96f68ce7b
Fixes RunTLS() implementation
...
- thanks @Dal-Papa
2015-05-28 03:02:53 +02:00
Manu Mtz.-Almeida
34411c896f
Merge pull request #312 from kmulvey/add-logger-tests
...
Added tests for colorForMethod() and colorForStatus()
2015-05-28 02:59:45 +02:00
Kevin Mulvey
7469025182
forgot the default of ColorForMethod
2015-05-27 20:53:28 -04:00
Kevin Mulvey
1b031cb271
Added tests for colorForMethod() and colorForStatus()
2015-05-27 20:36:37 -04:00