TEST uuid_creation N == 100000 (10 runs) v1 get: 79487.3 us ( 1.0) v3 get: 131336.8 us ( 1.7) v4 crypto strong get: 201665.8 us ( 2.5) v4 crypto weak get: 201813.2 us ( 2.5) v4 random bigint get: 209130.1 us ( 2.6) v4 random native get: 322730.1 us ( 4.1) v4 random_wh06_int get: 154083.6 us ( 1.9) v5 get: 152191.5 us ( 1.9) TEST pseudo_randomness N == 10000 (10 runs) crypto:rand_uniform/ get: 61465.2 us ( 27.1) erlang:now/0 get: 2781.2 us ( 1.2) os:timestamp/0 get: 2264.4 us ( 1.0) random:uniform/1 get: 6971.9 us ( 3.1) random_wh06_int:unif get: 13464.4 us ( 5.9)
v4 UUIDs
-
trie retest
The older trie (speed) testing didn't experiment with Erlang compilation options and used Erlang R14B01 (newest, at the time). To examine how…
-
A Better Erlang Priority Queue
The other priority queue implementations were meant to avoid the O(N) task of finding a priority within the implementation used by both Riak and…
-
An Erlang Priority Queue (continued)
After looking at various priority queue implementation possibilities and creating 3 separate implementations, it became necessary to test the data…
- Post a new comment
- 0 comments
- Post a new comment
- 0 comments