jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
A simple performance comparison between SculeJS v0.0.6 and TaffyDB v2.7
<script src="https://github.com/dan-eyles/sculejs/blob/master/lib/com.scule.js"></script>
<script src="https://github.com/typicaljoe/taffydb/blob/master/taffy.js"></script>
var collection = Scule.factoryCollection('scule+memory://test');
collection.ensureHashIndex('i');
collection.ensureHashIndex('tag');
var database = new TAFFY();
for (var i=0; i < 1000; i++) {
object = {
index: i,
tag: 'tag_' + i,
random: Scule.global.functions.randomFromTo(i, 20000)
};
collection.save(Scule.global.functions.cloneObject(object));
database.insert(Scule.global.functions.cloneObject(object));
}
collection = null;
database = null;
Ready to run.
Test | Ops/sec | |
---|---|---|
SculeJS |
| ready |
TaffyDB |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.