| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Changepacks@devup-ui/wasm@1.0.78 - bindings/devup-ui-wasm/package.jsonMaybe you forgot to write the following files to the latest version @devup-ui/next-plugin@1.0.83 - packages/next-plugin/package.jsonMaybe you forgot to write the following files to the latest version |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
No separate benchmark workflow was added.
Memory and startup impact
The normal package keeps the existing full feature set. The lite engine is selected only when the static graph succeeds and contains no source or resolved external .css.ts/.css.js candidate; graph failure deliberately falls back to full.
Validation
Existing benchmark.js CI result
Two six-sample attempts at 21fd3cc1 used the existing workflow and normal next build:
Raw wall samples:
The median of the 12 same-ordinal Devup-minus-Tailwind deltas is -25 ms, but the two attempt medians split exactly ±30 ms. The defensible conclusion is parity within CI runner noise, not a general performance victory. Typical Devup config time fell from about 90–95 ms before the deferred Webpack fix to 71–76 ms in the retry (Tailwind 11–12 ms). Devup compiled in 3.7–3.8 s versus Tailwind 3.9–4.0 s in that retry, while its richer types took about 333–344 ms versus Tailwind 244–255 ms.
The earlier lite-WASM run still loaded the full engine through the top-level Webpack adapter and measured Devup 7.42 s versus Tailwind 7.30 s. Removing that hidden full-engine load is what changed the config-time and memory behavior.
Structured timings put CSS/sheet/class/file serialization below 1 ms, so batching or debouncing it would add complexity without addressing the measured bottleneck. A Rust/WASM -O3 experiment was also rejected: it increased WASM size and package-build time and produced a 7.61 s Devup median versus 6.95 s Tailwind. The compact z/-Oz settings remain.
Benchmark limits
This is fairer than the previous one-shot fixed-order benchmark, but it is not proof that one library is generally faster. The fixtures are not semantically identical: Tailwind uses untyped class strings and emits its framework CSS, while Devup validates responsive and polymorphic props and emits much less CSS (327 versus 6,197 bytes in the measured fixtures). Next and Devup output caches are removed between samples, and both competitors receive the same treatment, but tsconfig.tsbuildinfo is not removed; these samples are therefore build-output cold, not TypeScript-incremental-state cold. Disabling type checking or weakening inference would reverse the goal and was deliberately not done.
bun.lock remains unrelated and is excluded from every commit. The add-bench PR was not touched.