Sizes¶
What each stack of this repository weighs: the .wasm file of its build for the web, and what a
browser downloads, once gzipped, as GitHub Pages sends it. The extensions are what makes a build
bigger, intl above all (see Supported extensions), and what is embedded, as the
vendor/ of the Symfony example.
| Stack | PHP | .wasm | Gzipped | vs php-8.5 |
|---|---|---|---|---|
php-8.5 | 8.5.12 | 8.7 MB | 3.0 MB | |
php-8.4 | 8.4.26 | 7.5 MB | 2.8 MB | -14.4 % |
php-8.3 | 8.3.35 | 6.1 MB | 2.3 MB | -30.4 % |
php-8.5-intl | 8.5.12 | 41.7 MB | 16.3 MB | +378.6 % |
php-8.5-opcache-runtime | 8.5.12 | 8.7 MB | 3.0 MB | +0.0 % |
php-8.5-opcache-precompiled | 8.5.12 | 8.7 MB | 3.0 MB | +0.0 % |
example-playground | 8.5.12 | 19.3 MB | 7.2 MB | +121.7 % |
example-symfony | 8.5.12 | 30.5 MB | 7.2 MB | +250.3 % |
castor site:build measures them when it builds this website. castor wasm:sizes gives them for
what you built, and castor wasm:sizes --json as JSON.