Add format vs interpolation

This commit is contained in:
Loic Nageleisen 2023-04-26 11:59:23 +02:00
parent f42114b16a
commit cf3a374bf4
Signed by: lloeki
GPG key ID: D05DAEE6889F94C2
2 changed files with 28 additions and 0 deletions

12
format-string/README.md Normal file
View file

@ -0,0 +1,12 @@
```
Warming up --------------------------------------
format 611.664k i/100ms
#{} 1.229M i/100ms
Calculating -------------------------------------
format 6.037M (± 4.3%) i/s - 30.583M in 5.077835s
#{} 12.277M (± 0.4%) i/s - 61.438M in 5.004388s
Comparison:
#{}: 12276995.7 i/s
format: 6037136.3 i/s - 2.03x slower
```