Post

My ahead-of-time JS engine Porffor eliminates JS cold starts on AWS Lambda. 12x faster and 2x cheaper than managed Node. Still very early but these results should speak for themselves :) goose.icu/lambda/

13 reposts94 likes

I used LLRT's Lambda release without the SDK. I tried round-trip latency but couldn't get good measurements, but I'm not an AWS person. I think duration is most important as this is specifically cold starts but happy to follow up.

Do you have a sense of what that 10ms execution time on Lambda is being spent on for porffor and LLRT? I presume you would see similar results for a minimal C implementation so is 10ms the overhead of the AWS wrapper calling the code?

This is very cool. Are you imagining use cases outside of cloud / lambda? I have some inkling of an idea of running JS / TS on embedded devices via WASM, but haven’t explored it very much because the existing runtimes seemed prohibitively expensive

Thanks! Yes, there are a surprisingly number of use cases and embedded is a big one like any environment where you can't JIT but want better performance then interpreting. For embedded you can either use Wasm or Porffor's compile to C feature and give that to some proprietary compiler, etc