Closed lucacasonato closed 1 year ago
Special-case parsing of the GET request method as that is by far the most common. Speeds up the req_short benchmark by a fair margin:
req_short/req_short time: [32.601 ns 32.737 ns 32.914 ns] thrpt: [1.9241 GiB/s 1.9345 GiB/s 1.9425 GiB/s] change: time: [-4.1113% -3.5415% -3.0150%] (p = 0.00 < 0.05) thrpt: [+3.1087% +3.6715% +4.2876%] Performance has improved.
Co-authored-by: Luca Casonato hello@lcas.dev
Thanks! Should I assume this supercedes #118?
Something like that yeah 😁
Special-case parsing of the GET request method as that is by far the most common. Speeds up the req_short benchmark by a fair margin:
Co-authored-by: Luca Casonato hello@lcas.dev