dagolden/path-tiny — pull request #25 by schwern (2013-03-24 08:45:43+00:00)
Title: Use autodie::exception directly

I decided to see how much code it would be to use autodie::exception directly and what the performance gains were. There's not a lot of code, it could be improved, but the gains are considerable.

Load time drops from 100ms to 60ms.
Test suite runtime drops from 1650ms to 1250ms.

It gets better when combined with the startup diet.

Load time reduced from 100ms to 30ms vs master
Test runtime reduced from 1650ms to 1050ms vs master

That's a 70% improvement in load time and a 35% improvement in test runtime.