Fabio Spampinato
fabiospampinato.bsky.social
Fabio Spampinato
@fabiospampinato.bsky.social
Trying to write good software.
Zeptomatch v2.1.0 update 🥳:

- Partial matching, for traversing the filesystem easily _and_ efficiently.
- Roughly 2x faster single-glob matching, and 4x faster multi-glob matching (it's dependent on the specific globs though).
- Now roughly ~10x faster than minimatch.

github.com/fabiospampin...
October 20, 2025 at 11:01 AM
Your outie hates each re-render equally
February 22, 2025 at 2:10 AM
Yeah we can't really beat JSON.parse in JS, it's just sort of a "standard" little parser people use for benchmarking these parser generators.

SuperJSON seems good, but it's using a different format and in this case it's essentially just a slower JSON.parse: github.com/flightcontro...
February 17, 2025 at 2:09 PM
fast-json doesn't seem to have an API for fully parsing a JSON string, it seems more about extracting values at specific paths or something like that.

Acorn seems pretty good, but it is probably doing a bit more work to produce an AST. JSON.parse is the fastest. I see the following:
February 17, 2025 at 1:59 PM