matadon/mizuno — pull request #34 by qerub (2012-12-05 22:17:41+00:00)
Title: Use Jetty's Handler API directly and avoid ServletContextHandler/ServletHolder

This patch makes Mizuno use Jetty's Handler API directly and thereby avoid ServletContextHandler and ServletHolder. Consequences of this change are:

1. The request overhead is slightly lowered.
2. The dependencies on `jetty-servlet` and `jetty-servlets` are lost.

I'll try to provide sane benchmarks to prove 1.

(I learnt about this trick from https://github.com/mmcgrana/ring/blob/master/ring-jetty-adapter/src/ring/adapter/jetty.clj.)