Skip to content

WebC v0.9.3: 65% Faster

Compare
Choose a tag to compare
@zachleat zachleat released this 15 Mar 21:43
· 41 commits to main since this release

What's Changed

  • Added a WebC component cache
  • Shamefully large performance wins via changes to Node vm.createContext

A special thanks to @marvinhagemeister’s Node profiling recommendation!

How fast is it?

From a large sample WebC project:

Before, using WebC v0.9.2:
> Wrote 2621 files in 21.17 seconds (8.1ms each, v2.0.0)

After, using WebC v0.9.3:
> Wrote 2621 files in 7.24 seconds (2.8ms each, v2.0.0)

From 8.1ms per template to 2.8ms per template!

Integrations

Full Changelog: v0.9.2...v0.9.3