4 ms·
I'm curious why NeDB wouldn't suffice. https://github.com/louischatriot/nedb https://github.com/louischatriot/nedb
by jedireza 12y ago
I'm curious why NeDB wouldn't suffice.
https://github.com/louischatriot/nedb https://github.com/louischatriot/nedb
- yourad_io 12y agoFrom 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 http://www.slideshare.net/techfort/lokijs/4
- fiatjaf 12y agoOk, 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.
- jedireza 12y agoThanks for sharing that. I jumped the gun before commenting.
- yourad_io 12y agoNo worries. I just noticed they include the benchmarks here [1] [1] https://github.com/techfort/LokiJS/tree/master/benchmark https://github.com/techfort/LokiJS/tree/master/benchmark
- kristopolous 12y agothere is this benchmark : https://github.com/danstocker/jorder/wiki/Benchmarks https://github.com/danstocker/jorder/wiki/Benchmarks ... I maintain this one (https://github.com/kristopolous/db.js 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.