Hacker News new | ask | show | jobs
by catlifeonmars 34 days ago
What kind of overhead does the Wasm approach add in terms of memory and cpu time? I also have way too many ESP32 boards lying around
2 comments

Based on some measurements, compute in a pod is ~30-90x slower compared to native C. Wasm gas metering adds ~45% on top, sensor driver takes up to 25KB on a board without PSRAM.

More on the benchmarks here - https://arterialist.github.io/kube32/benchmarks/

I'll measure and let you know later, would appreciate if can do measurements on your hardware too as I only have a few options to test on