DailyJS

JavaScript Template Library Benchmarks

Introduction

Alex R. Young

Subscribe

@dailyjs

Facebook

Google+

benchmarks templating

JavaScript Template Library Benchmarks

Posted by Alex R. Young on .
Featured

benchmarks templating

JavaScript Template Library Benchmarks

Posted by Alex R. Young on .

Brian Landau sent us these JavaScript template library
benchmarks
,
which tests the following libraries:

  • jQuery Templates
  • mustache.js
  • underscore
  • jQuote
  • Srender
  • Tempest
  • nano
  • wayneeseguin’s jquery_templates

The benchmarks are based on PPK's benchmarking
methodology
.
The results suggest that the libraries all have similar performance
characteristics. Brian concludes that mustache.js is the best library if
your templates contain heavy iteration over data, otherwise nano is a
good choice.

To download all of the libraries and tests in one convenient package,
check out
brianjlandau/js-templates-benchmark from GitHub.