Joakim Frostegård
74a538963f
aquatic_http_protocol: urlencode/urldecode Request.key
...
About 11% performance regression for Request::from_bytes
2020-08-10 04:37:01 +02:00
Joakim Frostegård
997482d46d
aquatic_http: urldecode_20_bytes: remove duplicate check
...
request-from-bytes performance seems to have regressed,
I don't know why (+8%)
2020-07-24 23:06:46 +02:00
Joakim Frostegård
fd68a5f603
aquatic_http: serialize responses to a buffer ref instead of new vec
...
This improves benchmark performance somewhat and performance
during load testing a bit too.
2020-07-24 21:59:23 +02:00
Joakim Frostegård
b3154c5bcf
aquatic http protocol: delete obsoleted request-from-path benchmark
...
Now there is a request-from-bytes benchmark that supersedes
request-from-path.
Final comparison of gains made since first benchmark:
request-from-path
time: [540.01 ns 541.51 ns 543.15 ns]
change: [-90.786% -90.741% -90.696%] (p = 0.00 < 0.01)
Performance has improved.
2020-07-21 14:25:47 +02:00
Joakim Frostegård
22316df025
aquatic http protocol: rerun response criterion benchmarks
...
Regression of about 100%, not clear why, but absolute change
is small. Runtime compared to bendy version is -86.407% anyway.
So save this as baseline without investigating the reason for
the regression.
2020-07-21 01:43:47 +02:00
Joakim Frostegård
0b41e91dde
aquatic http protocol: rerun request criterion benchmarks
...
request-from-path: first run since previous changes
request-from-bytes: speedup possibly due to updated compiler
2020-07-21 01:38:08 +02:00
Joakim Frostegård
8fea96bcd2
aquatic http protocol: request parsing: remove hashmap for performance
...
request-from-bytes:
time: [720.22 ns 723.34 ns 726.73 ns]
change: [-53.265% -52.884% -52.477%] (p = 0.00 < 0.01)
Performance has improved.
2020-07-21 00:11:53 +02:00
Joakim Frostegård
b7d5a12046
aquatic http protocol: optimize request parsing
...
request-from-bytes:
time: [1.5288 us 1.5362 us 1.5441 us]
change: [-38.029% -37.466% -36.890%] (p = 0.00 < 0.01)
Performance has improved.
2020-07-20 22:13:42 +02:00
Joakim Frostegård
ea4b560faa
aquatic_http_protocol: add benchmark for request from bytes
2020-07-20 20:27:42 +02:00
Joakim Frostegård
4ac2012a2a
aquatic_http: move protocol module to new crate aquatic_http_protocol
2020-07-19 21:59:31 +02:00