keep-starknet-strange / ziggy-starkdust

⚡ Cairo VM in Zig ⚡
https://keep-starknet-strange.github.io/ziggy-starkdust/
MIT License
80 stars 39 forks source link

#519 improve set integration bench #527

Closed StringNick closed 3 months ago

StringNick commented 3 months ago

close #519 after this changes:

Time (mean ± σ):     423.0 ms ±   2.2 ms    [User: 386.1 ms, System: 31.1 ms]
  Range (min … max):   421.2 ms … 428.8 ms    10 runs
StringNick commented 3 months ago

pushed improved perfomance bech:

Time (mean ± σ):     268.8 ms ±   2.3 ms    [User: 227.5 ms, System: 31.4 ms]
  Range (min … max):   266.2 ms … 272.7 ms    10 runs

1.9x perfomance increased overall bench