Skip to content

Version 1.8.0

Compare
Choose a tag to compare
@nebrelbug nebrelbug released this 16 Sep 20:08

TL;DR

The main feature in this change is the addition of filepath caching, added in #21.

Preliminary results show this having a GIANT performance benefit when caching is enabled!

(Using autocannon -c 100)

Server Cache disabled Cache enabled: before PR Cache enabled: after PR
Oak 20k requests in 10.07s
13 MB read
49ms avg. latency
48k requests in 10.07s
30.9 MB read
20ms avg. latency
159k requests in 10.11s
101 MB read
6ms avg. latency
Alosaur 23k requests in 10.06s
6.28 MB read
42ms avg. latency
61k requests in 10.07s
16.6 MB read
16ms avg. latency
210k requests in 10.08s
56.6 MB read
5ms avg. latency
Opine 12k requests in 11.06s
9.36 MB read
88ms avg. latency
28k requests in 10.07s
21 MB read
35ms avg. latency
54k requests in 10.08s
40.9 MB read
18ms avg. latency

Note that these servers weren't running the same templates, so don't use these results to compare the servers

The new version of Eta performs drastically better with the new PR! Alosaur, for example, served 3.3 times more data! 🔥 🔥 🔥

Commits

  • Merge pull request #21 from eta-dev/path-caching 88a65e0
  • Add testing for filepath caching 70bb7e5
  • Add explanatory comment about caching aec8d91
  • Add return types fa40fc3
  • Merge pull request #22 from eta-dev/all-contributors/add-asos-craigmorten e551376
  • docs: update .all-contributorsrc [skip ci] f89db22
  • docs: update README.md [skip ci] 70e3a7b
  • Add explanatory comment 7262027
  • Initial filepath caching implementation cd5a436
  • Format interface 0636a73
  • Add filepathCache to config, sort EtaConfig interface b2b71f9

v1.7.0...v1.8.0