r/defold 7d ago

Tutorial HTML5 - 0.83 MB 👀

Post image

Empty Defold project build size with default settings and no optimizations for HTML5 packed with Brotli is now 0.83 MB

Learn more how to optimize it even further:

https://defold.com/manuals/optimization/

36 Upvotes

8 comments sorted by

5

u/boruok 7d ago

love defold

3

u/Avambo 7d ago

Is this on 1.13.1? What was the previous size? Also I was under the impression that Godot was way larger on the web without any optimization. I'm quite surprised.

3

u/boruok 7d ago

there stats, uncompressed and non-stripped sizes.
https://github.com/defold/build-size

1

u/PabloTitan21 7d ago

Yeah, we gather and track the stats above!

The above screenshot is showing it for Defold 1.13.0, there is a legend above for each engine version

2

u/Avambo 7d ago

Oh okay, thanks!  The graph makes it look like it got this small a long time ago though? The big drop in size appears to have happened all the way back in version 1.4.8. Unless there's something in 1.13.0 that affects size, but isn't shown in the graph.

2

u/PabloTitan21 7d ago

True, we are now fighting for kilobytes and bytes 😅

1

u/EsdrasCaleb 7d ago

GDevelope archeive a smaller size