0bef3c6e40
As one redditor stated, I'm claiming that my program is fast without benchmarks. Here's said benchmark ;). The benchmarks use Criterion and just see how many magnet url's it can make per second. On the sluggish laptop I'm using at the moment, I get around 50K/s. Removed redundant if statement in lib.rs for the tr field, increasing performance by 40%. Made it so that the xl field uses a customized match statement for its output, basically making it so it converts from a str to an int, further increasing performance by 11%. |
||
---|---|---|
.. | ||
benchmark.rs |