Skip to content

Commit

Permalink
new: #'uuid/v1 now 10x as fast as java.util.UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
danlentz committed Mar 2, 2015
1 parent e5c8e2e commit 97db9fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,16 @@ user> (uuid/v1)
```


V1 identifiers are the fastest kind of UUID to generate -- about **350%
faster than calling the JVM's built-in static method for generating UUIDs**,
V1 identifiers are the fastest kind of UUID to generate -- about _TEN TIMES
as fast as calling the JVM's built-in static method for generating UUIDs_,
`#'java.util.UUID/randomUUID`.


```
user> (criterium.core/bench (uuid/v1))
Evaluation count: 139356300 in 60 samples of 2322605 calls.
Execution time mean: 443.707611 ns
Execution time mean: 201.153073 ns
user> (criterium/bench (java.util.UUID/randomUUID))
Expand Down

0 comments on commit 97db9fe

Please sign in to comment.