Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 3.45 KB

benchmarks.md

File metadata and controls

60 lines (39 loc) · 3.45 KB

Benchmarks

JavaScript

This repo provides a framework for running benchmarks against multiple templating engines under Node.js. The following templating engine are compared:

Template Syntax Streaming Asynchronous Auto-escape
dustjs Text
doT Text
handlebars Text
pug Short-hand HTML
marko HTML/Concise HTML
nunjucks Text
swig Text

old benchmark

Go

  1. goTemplateBenchmark

This repo compares template engines in golang. It includes Ace, Amber, Mustache.go, Raymond, Pongo2, Jet, Soy.

Java

JMH benchmark

forked above

Forked Above

forked from Java Template Benchmark

Rust

.Net

THe benchmark compares time taken for template engines implemented in C#. The template engines include - Fluid, Scriban, DotLiquid, Liquid.NET and Handlebars.NET repository. Fluid is faster and allocates less memory than these .NET Liquid implementation. Fluid is 19% faster than the second in parsing while Scriban allocates nearly 3 times less memory than second. In rendering, Fluid is 26% faster than the second while Handlebars is 5 times faster than Scriban.

PHP

Comparison Details for three PHP templates engines-Twig, Smarty and Fenom is done. The comparison templates invlve forEach, variable reference and template inheritance. Script file