News for hackers. Stuff that matters.
Re:LokiJS – Lightweight JavaScript in-memory database by yourad_io on Tuesday November 04, 2014 @12:50PM (#8557920)
From the slideshare presentation on the homepage (p. 4)[1]

> Performs better than similar products (NeDB, TaffyDB, PouchDB etc.) and it's much smaller

It would be interesting to see benchmarks.

[1] http://www.slideshare.net/techfort/lokijs/4

Re:LokiJS – Lightweight JavaScript in-memory database by fiatjaf on Tuesday November 04, 2014 @05:51PM (#8559550)
Ok, TaffyDB is a piece of crap. You call `.fetch` to fetch a document at some id, but if you modify your fetched copy, the copy in the database is also modified. With a database like this I'm much better with a hashmap.
Re:LokiJS – Lightweight JavaScript in-memory database by kristopolous on Tuesday November 04, 2014 @02:38PM (#8558588)
there is this benchmark : https://github.com/danstocker/jorder/wiki/Benchmarks ... I maintain this one (https://github.com/kristopolous/db.js) which is part of that.

From my perspective, with a small collection size, I'll sacrifice performance for expressiveness. I have a number of expensive features that I think do nice things.

Re:LokiJS – Lightweight JavaScript in-memory database by jedireza on Tuesday November 04, 2014 @01:02PM (#8557984)
Thanks for sharing that. I jumped the gun before commenting.
Re:LokiJS – Lightweight JavaScript in-memory database by yourad_io on Tuesday November 04, 2014 @01:57PM (#8558334)
No worries. I just noticed they include the benchmarks here [1]

[1] https://github.com/techfort/LokiJS/tree/master/benchmark