DEV Community

Discussion on: Serverless Functions With WebAssembly Modules

Collapse
 
theburningmonk profile image
Yan Cui

What's the cold start overhead like with loading WASM modules? If it needs a VM then I imagine there'd be some overhead to bootstrap and load class definitions, etc. right?

Collapse
 
jthomas profile image
James Thomas

Seems to depend on the size of the WASM file. Testing with my examples above - the simple C module takes about 2ms and the entire C library takes about 300ms.