Porffor

1 min read Original article ↗

Efficiency

Porffor is an order of magnitude more memory efficient than other runtimes. On a server with 1GB of memory, Porffor fits over 1 thousand applications under load. 40x Node containers and 25x self-hosted workerd.

Node containers

28apps/GB

37 MB/app

Self-hosted workerd

45apps/GB

23 MBmemory/app

Porffor processes

1,144apps/GB

0.9 MBmemory/app

Distribution

Porffor ships your program as a single file that users just run, as that is how it works. With small apps over 50x smaller than bundling a runtime like Bun and Deno, as Porffor instead truly compiles ahead-of-time.

Porffor2.6 MB

Node137 MB

Deno79 MB

Bun59 MB

Conformance

Rebuilding the JS engine requires reimplementing the entire language from scratch. Porffor tests against Test262, the official ECMAScript conformance suite. Porffor is alpha and still has a lot of compatibility bugs, but it is improving every commit.