Skip to content

JavaScript start-up performance using JSON.parse

danielpdev profile image danielpdev twitter logo github logo ・1 min read

Original article on

This optimization only applies if you have an application where the startup uses a large configuration object > 10Kb.

When you load the application and the object you are using at startup it is > 10kb, then formatting the configuration object as a string and using JSON.parse during running can give you a nice performance improvement (1.7 Γ— as much as possible fast).


twitter logo DISCUSS (1)
markdown guide
Classic DEV Post from Aug 4 '19

You're not worth hiring unless...

danielpdev profile image
Fullstack JS Web Dev with Angular, ExpressJS and DynamoDB