Super-ZIG/io-bench
SuperZIG.io project benchmarks repository.
When simplicity meets efficiency
Well, this library has a lot of stuff, so I'm going to do the comparisons and benchmarks individually.
In this table, I've listed all the important comparisons I've done so far (this document is still under development).
Target | Implementation | Competitor | Result |
---|---|---|---|
ascii |
io.string.utils.ascii |
std.ascii |
same speed |
utf8 |
io.string.utils.utf8 |
std.unicode |
up to x5 |
codepoint |
io.string.utils.codepoint |
std.unicode |
up to x5 |
To execute the benchmark, use one of the following commands:
# For optimized performance:
zig build run --release=fast -- <target>
# For normal performance:
zig build run -- <target>