DEV Community


JavaScript start-up performance using JSON.parse

danielpdev profile image danielpdev ・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).


Discussion (1)

yujiri8 profile image
Ryan Westlund

Wow... that's really interesting.

Forem Open with the Forem app