Performance Test Report

Start: 2018-12-19 18:31:04
14 tests -- 14 passed / 0 failed / 0 pending
E:\work\node\lru-cache\src\test\performance.test.js
58.006s
Performance Javascript Objectshould measure the time for 1000000 inserts and 5000000 updates in a normal Javascript Objectpassed in 1.335s
Performance Javascript Objectshould measure the time for 30000000 by-key-accesses on normal Javascript Objectpassed in 1.804s
Performance Javascript Objectshould measure the time for 1000000 deletes from Javascript Objectpassed in 0.218s
Performance Javascript Mapshould measure the time for 1000000 inserts and 5000000 updates in a normal Javascript Mappassed in 1.094s
Performance Javascript Mapshould measure the time for 30000000 'get' calls on normal Javascript Mappassed in 0.025s
Performance Javascript Mapshould measure the time for 1000000 'delete' calls on normal Javascript Mappassed in 0.205s
Performance LruMapshould measure the time for 1000000 inserts and 5000000 updates in LruMap with infinite maxSizepassed in 1.456s
Performance LruMapshould measure the time for 30000000 'getWithoutLruChange' calls on LruMappassed in 4.034s
Performance LruMapshould measure the time for 30000000 'get' calls on LruMap (making the corresponding entry the most recently used)passed in 5.966s
Performance LruMapshould measure the time for 1000000 'delete' calls on LruMappassed in 0.5s
Performance LruMapshould measure the time for 1000000 inserts and 5000000 updates in LruMap with maxSize 3passed in 1.824s
Performance LruCache without listenersshould measure the time for 1000000 inserts and 5000000 updates in LruCache with infinite maxSize and no event listenerpassed in 20.829s
Performance LruCache without listenersshould measure the time for 30000000 'get' calls on LruCache (should not be much slower compared to LruMap)passed in 6.846s
Performance LruCache without listenersshould measure the time for 1000000 inserts and 5000000 updates in LruCache with maxSize 3 and no event listenerpassed in 8.211s