JS Object Storage Performance

Test Description

Precreate 50.000 objects (locally stored). After this create 10.000 new (not stored) objects inside a loop.

The "store" variable will be resetted after the first loop with "null".

Result

The additional cleanup (overwrite with null) of the global storage optimizes performance after the first loop. First loop is done after ~1150ms. The following loop needs ~350ms. Quite good. The same value as in the first example, where the data have never exist.

Interesting because theoratically the function implemenetation of "test" is inside the scope of "store".