Porffor passes 50% of Test262

submited by
Style Pass
2024-10-19 14:00:09

50%! 🥳 This is a huge milestone and I like to think shows the promising potential of Porffor. Truly AOT compiling of JS to Wasm/native has long been attempted and dismissed as infeasible, but this for the first time proves it can be possible in a new JS engine.

Test262 is the official ECMAScript conformance test suite, it has almost 50k tests for every feature in the language, down to very niche details. Porffor now passes half of all of these! For a comparison: V8, JavaScriptCore, SpiderMonkey all pass around 88%; Hermes passes around 55%.

A shifting of priorities. Porffor development will now not purely focus on conformance as it has been for the past ~year. Instead for now, it will be more like 50/50 between stability and performance with a temporary feature freeze. Stability is Porffor’s largest problem, as expected for an early unstable project. I would say this is the current main blocker of using Porffor in production (no longer conformance!).

The good part is the very bad things (malformed Wasm and compiler errors) are very infrequent, now under 1%, showing the improvements in stability. The number of timeouts is not great, but there are some huge tests and the timeout limit is relatively short at 10s so I am not that concerned.

Leave a Comment