3 ms·
Do you use Dart for your whole website? How about page load times for the homepage? Or do you use Dart for pages / things that won't appear until the user knows
by KajMagnus 11y ago
Do you use Dart for your whole website? How about page load times for the homepage? Or do you use Dart for pages / things that won't appear until the user knows what everything is about and is interested already, and won't mind ... 200 extra ms to download the Dart runtime?
Or is it an internal in-company application?
Do you happen to know how many kb JS code gets downloaded to a browser that doesn't support Dart natively?
(Unless this is too classified :-) )
Yes weird things happens sometimes with JS... a little bit more often with JS than with TS I think because TS is more restrictive.
- tkubacki 11y agoIt's Single Page Application used mostly from customer's intranet - currently around 1.6MB uncompressed (js version) - only initial page load is painful and takes around 2.3 sec from internet (on my decent DSL). But since it's just work tool they don't care about page loads that much as they do about feature completness. I'm using Polymer-Dart on frontned + Dropwizard on backend (these days I would use Dart on the server side too, but when I was starting it wasn't mature enough). Overall I'm pretty happy with this tech except I hoped for faster Web Components adoption (better Polymer support for non-Chrome)
- KajMagnus 11y agoThanks for sharing. Hmm, 1.6 MB minified and gzipped that might mean something like 300-400kb, which sounds fine to me. Edit Aha you wrote uncompressed — I suppose the JS was minified already then, and then the bundle will be larger, okay. Full stack Dart seems like a good alternative. I wonder how popular it'll become now when there's Rust, Go and Scala.js too :-)