Skip to content

Commit

Permalink
update bench
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlambson committed Aug 11, 2024
1 parent 1480918 commit c49b6d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Results:
```
$ python benchmarks/benchmark.py
Generating 1,000,000 IDs
- nanoid: 2.22s (2.215884291974362e-06 s/id)
- fastnanoid: 0.86s (8.563055000267923e-07 s/id) - 2.59x faster
- uuid (generate + base64encode): 1.28s (1.2837962500052527e-06 s/id) - 1.73x faster
- uuid (generate only): 0.98s (9.750179999973624e-07 s/id) - 2.27x faster
- uuid (base64encode only): 0.26s (2.631903750007041e-07 s/id) - 8.42x faster
- nanoid: 2.19s (2.1881258339853956e-06 s/id)
- fastnanoid: 0.86s (8.555265420000069e-07 s/id) - 2.56x faster
- uuid (generate + base64encode): 1.28s (1.2831176670151764e-06 s/id) - 1.71x faster
- uuid (generate only): 0.97s (9.65138916973956e-07 s/id) - 2.27x faster
- uuid (base64encode only): 0.26s (2.62122415995691e-07 s/id) - 8.35x faster
```

0 comments on commit c49b6d4

Please sign in to comment.