garybernhardt/raptor — pull request #50 by tcrayford (2012-04-19 01:10:12+00:00)
Title: Faster template rendering

Prior to this, raptor was reading templates/finding layouts off disk once per request.

- added a perf spec that measures the time to do 1000 requests of a simple ping app (just returns the string "pin" from delegate -> presenter -> view)
- cached template/layout files by storing the tilt objects in the responder (this produced a 2x speedup for the ping benchmark on my machine)
- removed actiontemplateresponder entirely (it was just delegating to templateresponder anyway)