HipJSON: A high performance implementation of JSON parser with std.json syntax. Used by Redub and Hipreme Engine

Hipreme msnmancini at hotmail.com
Thu Nov 6 20:14:43 UTC 2025


On Thursday, 6 November 2025 at 16:39:22 UTC, 9il wrote:
> On Thursday, 23 October 2025 at 01:50:55 UTC, Hipreme wrote:
>> [...]
>
> Hi,
>
> I have added proper Mir tests.
> Otherwise, the benchmark is misleading: Mir ASDF is a few times 
> faster.
>
> https://github.com/MrcSnm/hipjson/pull/1
>
> #### Target = Apple M4
> ```
> STD JSON: 340 ms, 500 μs, and 7 hnsecs (50000 Tests)
> JSONPIPE: 239 ms and 89 μs (50000 Tests)
> Mir Ion Algebraic: 234 ms, 974 μs, and 3 hnsecs (50000 Tests)
> Mir Ion Amazon   : 98 ms, 492 μs, and 8 hnsecs (50000 Tests)
> Mir ASDF         : 22 ms, 389 μs, and 9 hnsecs (50000 Tests)
> HipJSON: 85 ms, 877 μs, and 9 hnsecs (50000 Tests)
> ```
>
> For a sophisticated JSON benchmark you may want to add it to
>
> https://github.com/kostya/benchmarks

Yeah even with the new ASDF (or even Ion Amazon), it is still 
kinda unfair to compare them since ASDF doesn't build actual 
dictionaries or arrays usable by your code (i.e: lazy parsing), 
but still it is good to know it can iterate it that fast


More information about the Digitalmars-d-announce mailing list