4 ms·
Yeah, these tens of kilobytes of JS next to those ten badly compressed 600kB jpgs are really killing it.
by premium-concern 10y ago
Yeah, these tens of kilobytes of JS next to those ten badly compressed 600kB jpgs are really killing it.
- dastbe 10y agothis isn't a fair comparison. It fails to account for what happens after the files are downloaded, which is where overall js code size has an outsized effect.
- premium-concern 10y agoI think people have been including jQuery just fine for the last decade.
- dastbe 10y agoYes, but jquery is much smaller than an empty scala.js app. jquery is about 25kb gzipped and minified (the other comment used the raw size) whereas scala js is 45kb for an empty application.
- raquo 10y agoTBH, You don't use scala.js to write hello world apps. I'm much more curious how Scala.js handles a 100Kloc app, but I haven't seen any data on that.