Skip to content

itenium-be/TemplatingEngineBenchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Templating Engines

Benchmarks with: benny

Run Benchmarks

npm install

# Run benchmarks
npm start

# See graphs
npm run serve

Benchmark Results

See benchmark/results

Mustache vs Handlebars Charts

Benchmark without precompilation

Benchmark WITH precompilation

Precompile Handlebars

See Load precompiled templates from Typescript

cd src
npx handlebars minimal-precompiled.handlebars -f minimal-precompiled-hbs.js -c handlebars
npx handlebars maximal-precompiled.handlebars -f maximal-precompiled-hbs.js -c handlebars

# and then we changed
var Handlebars = require("handlebars");
# into
import Handlebars from "handlebars";
# 😀

About

Benchmarks comparing Mustache vs Handlebars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published