Library comparisons

Current LilScript versus the minified original.

Every raw, gzip and Brotli result comes from a separate compilation with its own optimization objective. Compare the exact supported surface, download the artifacts and inspect their build receipts.

Original → LilScript, in bytes

Larger outputs remain in the table. Each library page lists all minifier lanes, hashes, settings, tests and exclusions.

Library and boundaryRawgzip-9Brotli-11Evidence
KaTeXMain ESM; fonts and CSS excluded.263,473 → 248,998 B−5.5% · Oxc76,117 → 73,936 B−2.9% · Oxc62,959 → 61,503 B−2.3% · TerserFiles & tests ↗Measured 2026-10-03
react-markdownMarkdown-to-React pipeline; React external.146,329 → 117,050 B−20.0% · Terser46,814 → 44,398 B−5.2% · Terser41,092 → 37,684 B−8.3% · TerserFiles & tests ↗Measured 2026-10-03
MarkedParse API; extension-only exports excluded.42,650 → 31,834 B−25.4% · Oxc12,530 → 9,834 B−21.5% · Oxc11,488 → 8,851 B−23.0% · TerserFiles & tests ↗Measured 2026-10-03
ZodNode package root; locale provider external.132,160 → 87,282 B−34.0% · Oxc35,532 → 32,437 B−8.7% · Oxc29,956 → 28,807 B−3.8% · OxcFiles & tests ↗Measured 2026-10-03
MotionFull Motion DOM entry; no React integration.135,340 → 114,011 B−15.8% · Oxc45,028 → 41,768 B−7.2% · Terser40,188 → 36,405 B−9.4% · TerserFiles & tests ↗Measured 2026-10-03
jQueryBrowser singleton and jQuery API.87,344 → 73,493 B−15.9% · Oxc30,458 → 28,626 B−6.0% · Terser27,631 → 25,873 B−6.4% · TerserFiles & tests ↗Measured 2026-10-03
PostHogSeven submodules, each compared with PostHog’s own build of the same code; totals of the seven.46,660 → 43,673 B−6.4% · smallest upstream per module19,045 → 18,734 B−1.6% · smallest upstream per module17,234 → 16,953 B−1.6% · smallest upstream per moduleFiles & tests ↗Measured 2026-10-04
MonacoPartial editor namespace; CSS and workers excluded.4,528,715 → 228,019 B−95.0% · Oxc1,143,993 → 62,291 B−94.6% · Oxc883,285 → 54,211 B−93.9% · TerserFiles & tests ↗Measured 2026-10-03
MobXProduction MobX 7 API.51,334 → 56,508 B+10.1% · Oxc14,705 → 16,796 B+14.2% · Oxc13,342 → 15,159 B+13.6% · OxcFiles & tests ↗Measured 2026-10-03
cnMain class-merging API, including its tables.26,617 → 26,427 B−0.7% · Oxc10,493 → 10,431 B−0.6% · Oxc9,288 → 9,262 B−0.3% · OxcFiles & tests ↗Measured 2026-10-03
PlayCanvasShader-processing subsystem; not the complete engine.46,667 → 109,574 B+134.8% · Terser14,012 → 26,305 B+87.7% · Terser12,522 → 22,673 B+81.1% · TerserFiles & tests ↗Measured 2026-10-03
Solid compatibility runtimeExperimental Solid 2 compatibility, including JavaScript providers.76,862 → 33,732 B−56.1% · Oxc27,284 → 9,591 B−64.8% · Oxc24,632 → 8,629 B−65.0% · TerserFiles & tests ↗Measured 2026-10-03
rehypePortable main-entry API; see the linked dependency boundary.218,304 → 159,668 B−26.9% · Oxc67,636 → 57,442 B−15.1% · Terser54,909 → 48,371 B−11.9% · TerserFiles & tests ↗Measured 2026-10-03
remarkPortable main-entry API; see the linked dependency boundary.118,946 → 124,185 B+4.4% · Terser37,039 → 43,205 B+16.6% · Terser32,318 → 36,698 B+13.6% · TerserFiles & tests ↗Measured 2026-10-03
micromarkPortable main-entry API; see the linked dependency boundary.81,809 → 72,238 B−11.7% · Terser26,621 → 27,195 B+2.2% · Terser23,008 → 22,898 B−0.5% · TerserFiles & tests ↗Measured 2026-10-03
mdast-util-from-markdownPortable main-entry API; see the linked dependency boundary.84,774 → 74,532 B−12.1% · Terser27,170 → 27,466 B+1.1% · Terser23,436 → 23,118 B−1.4% · TerserFiles & tests ↗Measured 2026-10-03
remark-parsePortable main-entry API; see the linked dependency boundary.84,959 → 73,380 B−13.6% · Terser27,233 → 27,228 B−0.0% · Terser23,499 → 23,215 B−1.2% · TerserFiles & tests ↗Measured 2026-10-03
unifiedPortable main-entry API; see the linked dependency boundary.14,375 → 11,667 B−18.8% · Oxc5,264 → 4,457 B−15.3% · Oxc4,791 → 4,041 B−15.7% · TerserFiles & tests ↗Measured 2026-10-03
mdast-util-to-hastPortable main-entry API; see the linked dependency boundary.16,904 → 17,373 B+2.8% · Terser5,472 → 6,018 B+10.0% · Terser4,947 → 5,369 B+8.5% · TerserFiles & tests ↗Measured 2026-10-03
remark-rehypePortable main-entry API; see the linked dependency boundary.17,050 → 17,535 B+2.8% · Terser5,527 → 5,998 B+8.5% · Terser4,998 → 5,446 B+9.0% · TerserFiles & tests ↗Measured 2026-10-03
rehype-katexPortable main-entry API; see the linked dependency boundary.1,246 → 1,503 B+20.6% · Oxc700 → 847 B+21.0% · Oxc613 → 729 B+18.9% · OxcFiles & tests ↗Measured 2026-10-03
hast-util-to-htmlPortable main-entry API; see the linked dependency boundary.31,627 → 28,483 B−9.9% · Oxc11,217 → 9,274 B−17.3% · esbuild9,833 → 8,235 B−16.3% · TerserFiles & tests ↗Measured 2026-10-03
rehype-stringifyPortable main-entry API; see the linked dependency boundary.31,728 → 28,743 B−9.4% · Oxc11,255 → 9,396 B−16.5% · Terser9,875 → 8,433 B−14.6% · TerserFiles & tests ↗Measured 2026-10-03
remark-gfmPortable main-entry API; see the linked dependency boundary.41,973 → 31,262 B−25.5% · Oxc12,380 → 11,334 B−8.4% · Terser11,178 → 10,134 B−9.3% · TerserFiles & tests ↗Measured 2026-10-03
remark-breaksPortable main-entry API; see the linked dependency boundary.2,988 → 2,566 B−14.1% · Terser1,284 → 1,186 B−7.6% · Terser1,173 → 1,067 B−9.0% · TerserFiles & tests ↗Measured 2026-10-03
remark-mathPortable main-entry API; see the linked dependency boundary.6,112 → 6,072 B−0.7% · Oxc2,265 → 2,446 B+8.0% · Oxc2,041 → 2,203 B+7.9% · OxcFiles & tests ↗Measured 2026-10-03

Build wall time

Original / LilScript seconds for each objective, from the linked measurements. These are individual sequential runs, not averaged build-speed benchmarks. Original source preparation and final-delivery stages differ between libraries; see each row’s method.

LibraryRaw · original / LilScriptgzip · original / LilScriptBrotli · original / LilScriptTiming scope
KaTeX0.234 / 10.28 s0.234 / 6.73 s1.86 / 13.64 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
react-markdown2.35 / 63.45 s2.35 / 77.83 s2.35 / 163.96 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
Marked0.221 / 14.79 s0.221 / 13.19 s0.565 / 29.87 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
Zod0.214 / 12.69 s0.214 / 11.79 s0.214 / 19.05 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
Motion0.359 / 8.18 s2.42 / 7.58 s2.42 / 9.53 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
jQuery0.221 / 81.13 s2.10 / 70.99 s2.10 / 170.31 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
PostHog0.712 / 8.05 s0.870 / 12.95 s0.870 / 26.50 sPer submodule, summed: upstream bundling and minifier / LilScript compilation. Installation, tests and final compression excluded.
Monaco1.40 / 35.75 s1.40 / 27.32 s48.33 / 81.83 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
MobX0.208 / 70.11 s0.208 / 60.82 s0.208 / 109.80 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
cn0.181 / 14.60 s0.181 / 9.08 s0.181 / 12.99 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
PlayCanvas0.751 / 8.09 s0.751 / 5.23 s0.751 / 21.23 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
Solid compatibility runtime0.231 / 16.35 s0.231 / 41.96 s1.41 / 124.56 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
rehype0.215 / 48.61 s1.49 / 45.25 s1.49 / 100.01 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
remark1.50 / 43.75 s1.50 / 41.89 s1.50 / 64.44 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
micromark1.28 / 70.33 s1.28 / 80.27 s1.28 / 225.09 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
mdast-util-from-markdown1.29 / 72.38 s1.29 / 71.46 s1.29 / 166.42 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
remark-parse1.27 / 58.74 s1.27 / 57.19 s1.27 / 159.55 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
unified0.185 / 4.27 s0.185 / 3.97 s0.380 / 10.23 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
mdast-util-to-hast0.778 / 89.57 s0.778 / 57.14 s0.778 / 159.62 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
remark-rehype0.503 / 61.76 s0.503 / 58.28 s0.503 / 142.95 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
rehype-katex0.172 / 0.465 s0.172 / 0.615 s0.172 / 1.87 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
hast-util-to-html0.183 / 14.34 s0.069 / 12.54 s0.438 / 52.01 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
rehype-stringify0.184 / 14.59 s0.391 / 12.69 s0.391 / 49.06 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
remark-gfm0.203 / 15.44 s0.710 / 13.49 s0.710 / 23.36 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
remark-breaks0.211 / 3.02 s0.211 / 8.78 s0.211 / 12.39 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.
remark-math0.199 / 7.63 s0.199 / 12.34 s0.199 / 25.66 sOriginal package bundling + minification / LilScript compilation. Installation, tests and final compression excluded.

What the comparison measures

Raw counts uncompressed JavaScript bytes. gzip uses level 9; Brotli uses quality 11 and window 22. Original baselines select the smallest measured original artifact for each codec. A compressed winner need not be the raw winner.

The size boundary follows the linked library page: shared public exports, a selected subsystem, or the stated full SDK. CSS, fonts, type declarations, external dependencies and extra workers are outside a main-entry JavaScript measurement unless the page explicitly includes them. Compatibility runtimes and partial ports are identified.

Most original build times include bundling an installed upstream package and minification; they exclude building the upstream repository from source. PostHog records its source and delivery stages separately. Dependencies, tests and final transport compression are excluded. Measurements come from the hosts and dates recorded in each receipt.

Private property mangling and scalar replacement require proof or explicit source contracts. Download size does not establish parse speed or runtime speed. Runtime comparisons must use equivalent workloads, tested artifacts and the same browser or engine.

Download the complete measurement index