more posts

Porffor: Objects v2

Porffor's object implementation was never great; it was a map without even hashing to get something simple done well. Luckily, Porffor's new object implementation is complete! Not only is it faster, it also makes much smaller Wasm than before and is more conformant!

richards.js is an older V8 benchmark which heavily uses objects. It is now 30% faster and its Wasm binary is >4x smaller (402kb -> 92kb). Also, Test262 (featuring 50k test files) now runs twice as fast (6m -> ~3m), thanks to not having to compile as many unused functions.

It also gives a small Test262 conformance boost, so 0 downsides! (+0.10%)

Thanks for reading! As always, you can follow progress and message me on Twitter or Bluesky or email.