Erik Dubbelboer
|
021c821992
|
Fix NetHTTPServerGet benchmarks
Fixes https://github.com/valyala/fasthttp/issues/742
|
2020-02-11 19:19:59 +01:00 |
|
Erik Dubbelboer
|
32793db72d
|
Run golangci-lint using a Github Action
|
2019-11-16 18:09:28 +01:00 |
|
Maxim Lebedev
|
d3715c361c
|
⚡ Used Headers constants instead raw strings
|
2019-05-28 18:04:24 +03:00 |
|
Maxim Lebedev
|
f544170d63
|
Added methods constants (#567)
* ✨ Added methods constants
* 👌 Fixed methods comment due to review changes
|
2019-05-06 17:54:49 +02:00 |
|
Aliaksandr Valialkin
|
fc109d6887
|
Added a benchmark for RequestCtx.Redirect
|
2017-02-22 18:45:09 +02:00 |
|
Aliaksandr Valialkin
|
2c3b85d483
|
Benchmark server with 10K concurrent clients instead of 1K clients
|
2015-12-02 18:28:06 +02:00 |
|
Aliaksandr Valialkin
|
ffca8866f9
|
gofmt
|
2015-11-26 12:21:34 +02:00 |
|
Aliaksandr Valialkin
|
1c4474c96f
|
Made fakeListener.Accept() safe for concurrent use
|
2015-11-25 17:33:57 +02:00 |
|
Aliaksandr Valialkin
|
9e35210a5a
|
Fixed possible data race on RequestCtx.TimeoutError if connection's buffered reader is attached to ctx.fbr
|
2015-11-24 16:56:29 +02:00 |
|
Aliaksandr Valialkin
|
45ed911251
|
Improved RequestCtx.Hijack() - now HijackHandler works with the real net.Conn instead of fake io.ReadWriter. Also reduced memory usage by releasing empty read buffers on hijacked connections
|
2015-11-24 13:55:00 +02:00 |
|
Aliaksandr Valialkin
|
146145240d
|
Added RequestCtx.Hijack() for connections' hijacking
|
2015-11-23 19:41:43 +02:00 |
|
Aliaksandr Valialkin
|
d5e425206e
|
Consistency fix: BenchmarkNetHTTPServerGet10000ReqPerConn -> BenchmarkNetHTTPServerGet10KReqPerConn
|
2015-11-22 16:33:37 +02:00 |
|
Aliaksandr Valialkin
|
86fe38c7a2
|
Hide Respone and Request body behind Body accessors
|
2015-11-18 14:00:24 +02:00 |
|
Aliaksandr Valialkin
|
0d9c2f38b0
|
Move response body creation outside hot path in server benchmarks
|
2015-11-17 11:47:38 +02:00 |
|
Aliaksandr Valialkin
|
df1bd36dae
|
consistency fix
|
2015-11-17 10:05:16 +02:00 |
|
Aliaksandr Valialkin
|
2dbf142a06
|
convert connectionClose to accessor
|
2015-11-16 18:23:08 +02:00 |
|
Aliaksandr Valialkin
|
a080b09bef
|
Added cookie header to server timing tests
|
2015-11-14 20:46:38 +02:00 |
|
Aliaksandr Valialkin
|
1f81c87c38
|
Substituted direct access to Request.Method by accessors, so package users don't shoot in the foot when assigning directly to Request.Method
|
2015-11-14 17:34:12 +02:00 |
|
Aliaksandr Valialkin
|
5eb991ed31
|
Added Concurrency parameter to Server
|
2015-11-14 14:54:45 +02:00 |
|
Aliaksandr Valialkin
|
84b9f9e30a
|
Increase server concurrency in timing tests
|
2015-11-10 15:19:08 +02:00 |
|
Aliaksandr Valialkin
|
53e28a262f
|
Set 'Connection: close' header for the 'one request per conn' case in server benchmarks
|
2015-11-03 14:29:03 +02:00 |
|
Aliaksandr Valialkin
|
d0b2b2467a
|
Properly handle the case when servers read data by small chunks
|
2015-11-03 14:04:55 +02:00 |
|
Aliaksandr Valialkin
|
3eaecd9c6c
|
Added ability to limit the number of concurrent client connections per ip
|
2015-11-02 15:09:45 +02:00 |
|
Aliaksandr Valialkin
|
658c8a1172
|
Added benchmarks for 1K concurrent clients
|
2015-10-26 15:18:52 +02:00 |
|
Aliaksandr Valialkin
|
7874b9245a
|
Properly implement request read timeout via SetReadDeadline(). Implement response write timeout
|
2015-10-23 13:26:15 +03:00 |
|
Aliaksandr Valialkin
|
9fc3f767e6
|
Added timeout covering full request read
|
2015-10-22 14:32:20 +03:00 |
|
Aliaksandr Valialkin
|
9a1e1f2e61
|
Renamed ServerCtx to more appropriate RequestCtx
|
2015-10-22 11:46:33 +03:00 |
|
Aliaksandr Valialkin
|
b1a76330d5
|
Do not suppress logger in server benchmarks
|
2015-10-21 16:34:12 +03:00 |
|
Aliaksandr Valialkin
|
37cb5a0c67
|
Added status codes from net/http
|
2015-10-21 16:02:53 +03:00 |
|
Aliaksandr Valialkin
|
9febb1de1f
|
Added common request headers such as User-Agent and Referer to requests in benchmarks
|
2015-10-21 15:11:47 +03:00 |
|
Aliaksandr Valialkin
|
d49d752a65
|
Substituted racy ServerCtx.Steal() with ServerCtx.TimeoutError()
|
2015-10-21 15:05:44 +03:00 |
|
Aliaksandr Valialkin
|
a049630bca
|
initial commit
|
2015-10-19 01:21:09 +03:00 |
|