Skip to content

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.

StackPHP.wasmGzippedvs php-8.5
php-8.58.5.128.7 MB3.0 MB
php-8.48.4.267.5 MB2.8 MB-14.4 %
php-8.38.3.356.1 MB2.3 MB-30.4 %
php-8.5-intl8.5.1241.7 MB16.3 MB+378.6 %
php-8.5-opcache-runtime8.5.128.7 MB3.0 MB+0.0 %
php-8.5-opcache-precompiled8.5.128.7 MB3.0 MB+0.0 %
example-playground8.5.1219.3 MB7.2 MB+121.7 %
example-symfony8.5.1230.5 MB7.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.