From a2a2fa5807496a2b6bb43a4d977259ef6ccffbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Mon, 20 Jul 2020 16:21:54 +0200 Subject: [PATCH] Update TODO --- TODO.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TODO.md b/TODO.md index dbe5e69..55b3e5b 100644 --- a/TODO.md +++ b/TODO.md @@ -10,6 +10,9 @@ ## aquatic_http_load_test +* use slab for connections? HashMap not necessary +* request sending: too many allocations, likely due to request to byte + conversion. optimize! * think about when to open new connections * requests per seconds only goes up with lower poll timeout in tracker or more connections (if they don't all send stuff at the same time), in my @@ -18,6 +21,11 @@ ## aquatic_http * request parsing: + * urldecode_memchr is extreme bottleneck (15% CPU usage in network worker), + with heavy subfunctions mainly: + * smartstr push str + * from str radix + * vec reserve * test multiple scrape hashes * test with strange/bad inputs, with and without quickcheck * maybe do crazy http parsing: check for newline with memchr, take slice until