smarr / ReBenchDB

ReBenchDB records benchmark results and provides customizable reporting to track and analyze run-time performance of software programs.
MIT License
13 stars 6 forks source link

Start using EJS Template Engine, and Update Dependencies #138

Closed smarr closed 1 year ago

smarr commented 1 year ago

For the work of moving away from R, it seems to be useful to go beyond trivial mustache templates. Often it seems useful to have some logic in the templates, to keep the logic close to where it is needed, and avoid having too much data-prep code that is very specific to a specific way of presenting data.

After looking at and experimenting with a few template engines, EJS seems closest to what I might like. I also tried ETA, but it seems not to be maintained any more. I like EJS, because it's not a full new language, but mostly JavaScript. And it has good enough debugging output that helps identifying bugs.

Also update node dependencies, to resolve a security bug in one of them.