If getting 300kB of data from local storage and parsing it using JSON.parse too slow for one synchronous lock operation, you will have to split it into smaller pieces. They can be stored in separate storage slots and the shell can be processed in an asynchronous cycle (see Also JavaScript Performance Long Running Work Tasks , How to stop an intensive Javascript cycle from freezing the browser ).
Bergi Jun 27 '13 at 18:21 2013-06-27 18:21
source share