You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 45eb7d1
Browse filesBrowse the repository at this point in the historyBrowse files
**Conclusion:**`library` costs ~3s fixed plus 5-8ms per additional entry point, so ms/entry keeps
275
+
falling to ~10 at N=1000. `ng-packagr` costs ~225ms per additional entry up to N=200, then 248ms
276
+
(200-500) and 295ms (500-1000). The speedup grows from 1.5x (N=10) to 27x (N=1000).
277
+
278
+
Caveats:
279
+
280
+
- The `ng-packagr` rise past N=500 is a trend on medians of 3 runs (N=1000 runs span 256-274s), not yet the U-curve reported in earlier benchmarks.
281
+
- Output equivalence (bundles, declarations) of the two builders is not verified.
282
+
- Not measured: `deep` layout, stylesheets, N>=2000, other machine shapes.
283
+
284
+
Per-iteration CSV and the raw log are kept outside the repository (`tmp/benchmark-2026-10-23.md`).
263
285
264
286
## Future Work
265
287
266
-
-First real A/B run against `ng-packagr` (`--builder=library,ng-packagr`; the fixture generation and harness support are in place, see 2026-10-22). Needs a quiet machine and the full default sweep.
288
+
-Extend the A/B run against `ng-packagr` (first run: 2026-10-23, flat/inline, N up to 1000): `deep` layout, the style-flavor matrix, N=2000, more iterations, and an output-equivalence check of the two builders.
267
289
- Full style-flavor matrix sweep (default `--count` sweep x 6 flavors x 2 layouts) to quantify the actual performance impact of stylesheet processing and external file reads, now that the matrix is implemented.
268
290
- Dependencies between entry points.
269
291
- Shared stylesheet tokens imported by multiple components.
0 commit comments