Skip to content

perf(plugins): registry and bundle size items left from #4446 #4454

Open

Description

@datlechin

Follow-up to #4446 (perf audit, size lane). Items left out of that PR:

  • P2 (18c), per-arch registry plugins and manifests. Decided later: keep plugins/v3.json for now. Every release still downloads both slices of each installed registry plugin. The v0.88.0-beta.2 set is 32 zips, 127.6 MB. DuckDB is 34.5 MB to download and 94 MB on disk, against about 17 and 46 MB per arch. The plan: plugins/v3-arm64.json and plugins/v3-x86_64.json, one serial key per file, v3.json frozen for older apps. fix(plugins): update an installed plugin that lacks this Mac's architecture #4446 already makes a plugin without this Mac's arch update instead of failing, which P2 needs first.
  • P3 (18b), DuckDB ships twice (DuckDB driver and Parquet export, about 40 MB of DuckDB code per arch in each). Declined: at most 34 users a release have both (0.87.0 downloads: DuckDB 106, Parquet 34).
  • P4 (18a), one framework for the package code bundled plugins share. Not now: about 3.4 MB arm64 on disk, about 0.3 to 0.5 MB in the update. It needs a spike first: count N_NO_DEAD_STRIP on a Release TableProSQLGrammar.o.
  • 18a2, tablepro-mcp and tablepro-cli each carry TableProMCP. Not now: 1.2 MB on disk, 138 KB in the update.
  • No end-to-end test for a local .zip or .tableplugin without this Mac's arch: that path checks TablePro's code signature first, which a test fixture cannot carry. The shared check is tested through the registry download gate.

Activity

  1. added
    enhancement
    platform-macos
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplatform-macos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions