perf(server): cache renderings of the Date header

This is actually one of the biggest impacts to benchmark performances at
this point. Caching the rendering of the Date header improves "hello
world" benchmarks by around 10%.
This commit is contained in:
Sean McArthur
2017-05-26 12:29:26 -07:00
parent 78a8eed7f1
commit bdd2e1a3ad
3 changed files with 74 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
pub use self::decode::Decoder;
pub use self::encode::Encoder;
mod date;
mod decode;
mod encode;
pub mod parse;