Commit Graph

21 Commits

Author SHA1 Message Date
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