From https://discourse.julialang.org/t/ann-haml-jl-rubys-favourite-templating-language-comes-to-julia/29066
replace StatProfilerHTML.jl’s perl backend by a pure Julia version.
If you're doing that, is there some reason ProfileView.jl isn't adequate? Would be nice to know why. It has a "community-maintained" (=unmaintained) SVG backend, so in theory it can output HTML.