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
<script src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.8.1/immutable.min.js"></script>
const INITIAL_STATE = Immutable.fromJS({
count: 0,
isLoading: false,
items: Immutable.Map(),
itemIds: Immutable.Set()
});
const state = INITIAL_STATE;
const items = Immutable.fromJS({
'1': { 'id': '1', data: 'hello_world' }
});
const itemIds = Immutable.fromJS([
'1', '2', '3', '4'
]);
Ready to run.
Test | Ops/sec | |
---|---|---|
set |
| ready |
merge |
| ready |
withMutations set |
| ready |
withMutations merge |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.