delicious

jOrder and alternatives benchmarked

A murb'ed feed, posted more than 12 years ago filed in web, programming, javascript, query, client, json & clientside.

On this page different solutions for querying (i.e. offering basic database-like capabilities) in Javascript, among a regular, native JS-for-loop, jOrder, db.js, TaffyDB and jLinq… The newer ECMAscript 1.6 method ‘filter’ hasn’t been taken into consideration, but filter performs generally slower than a lightweight for-loop.

While jOrder is (currently) the fastes out there, db.js and TaffyDB’s advantage is a minified version, its reasonable fastness and a flexible match-method. TaffyDB is a bit faster on smaller sets, whereas db.js is faster on larger sets. jLinq has the nicest webpage, but is much slower than the others.

Go to the original link.