50Ply Blog

Building Things

Cljs-bench Facelift

| Comments

The Clojurescript benchmark report that cljs-bench generates had been looking a little old fashioned. Today I gave it a facelift.

I’m now using Enlive to create the HTML for the report. Enlive offers very strong separation between business code and HTML. Since the Enlive template is just a normal HTML file, I can edit it using impatient-mode and see the impact of my work immediately.

Here’s a video of me using impatient-mode to sequentially enable chunks of CSS while seeing the browser update instantly.