4 ms·
Still does 38kB really matter if the rest of your app requires parsing of several hundreds of kB of JS?
by amelius 10y ago
Still does 38kB really matter if the rest of your app requires parsing of several hundreds of kB of JS?
- untog 10y agoI think that if you're focused enough on performance to be looking at InfernoJS, the rest of your JS isn't hundreds of KB big.
- grayrest 10y agoIf you're bundling it into one payload it does not. If you're code splitting, it's 38k of download time and ~120k of parse time you're not paying on time to first meaningful paint. It's a couple dozen ms on desktops but can be several hundred on mobile.
- amelius 10y agoIf you're going that route, then server side rendering may be a better option.
- enraged_camel 10y agoProbably not. The rest of your app aside, in the vast majority of cases, if you care about the file size you're optimizing the wrong thing (barring certain extremes of course).