Hey, the Mojo parser author here. the test folder is just for the unit tests. All the benchmarking code is located in the /benchmark folder.
It would be great if you can give it another go on your machine.
https://github.com/MoSafi2/MojoFastTrim/tree/restructed/benc...
That's great to see, thanks a ton. care to share your system information? I am trying to understand where the difference is coming from and that would really helpful.
Sure, it's the 14-inch 2021 Macbook Pro (Apple M1 Pro chip), 16GB. Connected to power, other programs running, but nothing actively working. Timings were pretty stable when running a few times.
When running on the commit & code you point to here, here are my new results:
Which indeed shows your parser running about 25% faster than the needletail version.