Skip to content

Module sizes

These are gzip-compressed production output sizes from the committed tests/fixtures/size-snapshot.json. Run vp run build && vp run size:snapshot whenever the toolchain, adapters, or exposed APIs change.

ModuleGzip size
runtime6.67 MiB
math0.79 KiB
hashlib0.65 KiB
itertools0.50 KiB
random0.55 KiB
statistics0.25 KiB
fractions0.24 KiB
decimal0.22 KiB
hmac0.18 KiB
base640.22 KiB
binascii0.20 KiB
bisect0.17 KiB
heapq0.20 KiB
string0.36 KiB
textwrap0.18 KiB
csv0.16 KiB
json0.34 KiB
html0.15 KiB
urllib-parse0.21 KiB
datetime0.24 KiB
calendar0.19 KiB
uuid0.31 KiB

Installed package

PackageGzip size
pystd (all modules)6.68 MiB

The shared runtime retains an 18 MiB uncompressed safety ceiling; facades retain a 16 MiB ceiling. Vitest allows up to 1% gzip variation between component builds and rejects larger regressions against the snapshot. Every subpath uses the same internal CPython runtime, so adding modules does not duplicate it.