Often I will hit an endpoint which returns a lot of JSON, and I will want to fiddle around with the JSON object directly. To do this I open firefox web inspector, switch to console and paste the JSON in.
Unfortunately if I have even just a few hundred kb of json, pasting it into the firefox console will freeze the console for several minutes.
Ironically, if I use web inspector and set the body of the webpage to my JSON, and then do JSON.parse(document.body.innerHTML), then it’s lightning fast.
Likewise Chrome and Safari’s web inspectors parse the JSON lightning fast.
So I was just wondering, is there something weird going on with Firefox to make it slower? Even if someone could just point me in a direction code wise I would love to tinker and find a work around. I want to uninstall Chrome and this is the last thing preventing me from doing so.