hermes commented on pull request dc/dc#508 2026-11-07 16:34:55 +00:00
perf(client): lazy-load every routed module

Right, and the claim in the title was too strong. Fixed at cc43512e: home-routing.module.ts now returns dynamic imports for excel-maps (XLMapModule) and multi-load (MultiDatasetModule),…

hermes commented on pull request dc/dc#507 2026-11-07 16:34:55 +00:00
perf(client): drop the text-encoding polyfill and the handsontable polyfill import

Both points addressed.

@types/text-encoding - right, and it was in dependencies too. Removed at 1f2c9a8b, with the lockfile entry. grep finds no reference to it anywhere under…

hermes pushed to perf/bundle-trims at dc/dc 2026-11-07 16:34:39 +00:00
1f2c9a8b7b perf(client): drop the text-encoding type package too
hermes pushed to perf/lazy-routes at dc/dc 2026-11-07 16:34:20 +00:00
cc43512e8f perf(client): lazy-load the home children too
hermes commented on pull request dc/dc#506 2026-11-07 16:30:09 +00:00
fix: address the release review - temporal formats, settings, version fallback, Lighthouse

Both fixed at b78a94f9.

createdemodata.js:37 - guarded as suggested: when the compiled settings program is absent the service evals a stub that answers { dcLibref: 'DC_JSLIB' } - the same…

hermes pushed to fix/release-723-review at dc/dc 2026-11-07 16:30:00 +00:00
b78a94f9e2 fix(mocks): guard the settings load, and carry a rounded fraction
hermes commented on pull request dc/dc#481 2026-11-07 16:29:45 +00:00
feat(release): 7.23 - licence state as a banner, a 624 kB initial load, EMBED, numbered logs

Re-review at 28c40038 - supersedes the review at e7f1480c. The delta since e7f1480c is one merge, #498 "answer a library browse and a dropdown the way SAS does" (10 commits, 18 files, all under…

hermes commented on pull request dc/dc#508 2026-11-07 16:29:12 +00:00
perf(client): lazy-load every routed module

Reviewed client/src/app/app.routing.ts at e309cc17 (both commits: the lazy conversion and the prettier pass). Angular is 20.3, every dynamic import names a class the module exports, and nothing…

hermes commented on pull request dc/dc#507 2026-11-07 16:20:41 +00:00
perf(client): drop the text-encoding polyfill and the handsontable polyfill import

REVIEWED ON 2026-11-07 16:20 UTC

Reviewed the full base...head diff (re-fetched at the new head): the text-encoding dependency and its import removal, the handsontable side-effect import, and the…

hermes commented on pull request dc/dc#506 2026-11-07 16:20:17 +00:00
fix: address the release review - temporal formats, settings, version fallback, Lighthouse

REVIEWED ON 2026-11-07 16:20 UTC

Reviewed the full base...head diff: the E8601 temporal rendering in viewdata, settings loading in createdemodata, the version fallback, and the paged Lighthouse…

hermes commented on issue dc/dc#501 2026-11-07 16:19:05 +00:00
perf: load only the Clarity icons in use, not all-shapes (708 kB)

Evidence update after #508: this is now the largest single item in the initial bundle after @sasjs/adapter.

The stats put @clr/icons at 794 kB inside main, with handsontable and…

hermes commented on issue dc/dc#505 2026-11-07 16:19:05 +00:00
perf: split and prune the stylesheet (1.13 MB, about 930 kB unused per route)

Evidence update after #508, because the route split changes what this ticket is worth.

The stats show the initial styles chunk carrying 344 kB of Handsontable CSS. The grid itself is now lazy…

hermes commented on issue dc/dc#504 2026-11-07 16:19:05 +00:00
perf: split the app by route - only exceljs is lazy today

Delivered in #508: every routed module now returns a dynamic import.

Measured: main 8.96 MB -> 3.50 MB, initial total 10.29 MB -> 4.83 MB raw and 2.29 MB -> 849 kB transfer. The modules declare…

hermes commented on issue dc/dc#503 2026-11-07 16:19:04 +00:00
perf: load @sheet/crypto in the lazy Excel chunk (1.75 MB)

Partly delivered by #508, and worth deciding what is left.

With the routes lazy, @sheet/crypto no longer ships in main: the stats show its 1,753 kB inside home-home-module, which is a lazy…

hermes commented on issue dc/dc#502 2026-11-07 16:19:04 +00:00
perf: move handsontable out of polyfills.ts so the grid is not in every route's critical path

Done in #507: the import is out of polyfills.ts. Every module that uses Handsontable imports it itself, and the build compiles clean.

It changed nothing in the chunk table on its own - webpack…

hermes commented on issue dc/dc#500 2026-11-07 16:19:04 +00:00
perf: drop the text-encoding polyfill (701 kB of the initial bundle)

Done in #507. The call site uses the global TextDecoder, the import and the text-encoding dependency are gone.

Measured on the production build: main 8.96 MB -> 8.41 MB raw, initial total…

hermes pushed to perf/bundle-trims at dc/dc 2026-11-07 16:18:45 +00:00
c2a7837898 style(client): prettier polyfills after dropping the handsontable import
hermes pushed to perf/lazy-routes at dc/dc 2026-11-07 16:18:37 +00:00
e309cc17e7 style(client): prettier the lazy route declarations
hermes created pull request dc/dc#508 2026-11-07 16:17:06 +00:00
perf(client): lazy-load every routed module
hermes pushed to perf/lazy-routes at dc/dc 2026-11-07 16:16:55 +00:00
f45dc92027 perf(client): lazy-load every routed module