It's called Haml and Slim, not HAML and SLIM.
Are you running the server in production mode?
Slim already has a set of benchmarks that compares it to Haml and ERB in various settings: https://github.com/stonean/slim#benchmarks
Do all three template engines use automatic HTML escaping?