{"id":14384648,"url":"https://github.com/watson/uuid-benchmark","last_synced_at":"2025-04-30T12:22:56.375Z","repository":{"id":66011374,"uuid":"144456810","full_name":"watson/uuid-benchmark","owner":"watson","description":"Benchmark of different UUID generation methods in Node.js 🐢🚀","archived":false,"fork":false,"pushed_at":"2018-08-13T20:06:31.000Z","size":189,"stargazers_count":48,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-26T16:04:06.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-12T10:17:31.000Z","updated_at":"2024-07-03T17:12:32.000Z","dependencies_parsed_at":"2023-03-10T23:28:09.085Z","dependency_job_id":null,"html_url":"https://github.com/watson/uuid-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fuuid-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fuuid-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fuuid-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fuuid-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson","download_url":"https://codeload.github.com/watson/uuid-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232890686,"owners_count":18592538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-28T18:01:32.805Z","updated_at":"2025-01-07T14:25:36.586Z","avatar_url":"https://github.com/watson.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Node.js UUID Benchmark 🐢🚀\n\nThe following benchmark results are generated on a MacBook (Early 2016)\nwith a 1,3 GHz Intel Core m7 processor using Node.js 10.8.0.\n\nTo run them your self, run:\n\n```\nnpm run bench\n```\n\n_See raw results in [`results.csv`](results.csv)_\n\n## 128 bit UUID\n\n\u003c!-- AUTOGENERATED - DO NOT EDIT --\u003e\n| Method                   | Features | Re-use | Sync | Cache | Format |   Ops/sec | RME    | Samples |\n| :----------------------- | :------- | :----: | :--: | ----: | :----- | --------: | :----- | ------: |\n| [uuid/v1]                | 🌎       |        |   ✅  |       | uuid   | 1,031,720 | ±1.68% |      89 |\n| [uuid/v1]                | 🌎       |        |   ✅  |       | hex    |   402,318 | ±1.38% |      86 |\n| [uuid/v1]                | 🌎       |    ✅   |   ✅  |       | hex    |   544,231 | ±1.02% |      91 |\n| [uuid/v1]                | 🌎       |        |   ✅  |       | buffer |   463,279 | ±2.10% |      84 |\n| [uuid/v1]                | 🌎       |    ✅   |   ✅  |       | buffer |   625,377 | ±1.61% |      91 |\n| [uuid/v4]                | 🌎🔀🛡️  |        |   ✅  |       | uuid   |   242,402 | ±1.77% |      88 |\n| [uuid/v4]                | 🌎🔀🛡️  |        |   ✅  |       | hex    |   224,290 | ±3.78% |      81 |\n| [uuid/v4]                | 🌎🔀🛡️  |    ✅   |   ✅  |       | hex    |   261,648 | ±3.28% |      87 |\n| [uuid/v4]                | 🌎🔀🛡️  |        |   ✅  |       | buffer |   248,587 | ±5.01% |      79 |\n| [uuid/v4]                | 🌎🔀🛡️  |    ✅   |   ✅  |       | buffer |   293,626 | ±3.17% |      89 |\n| [fast-uuid]              | 🌎🔀     |        |   ✅  |       | uuid   |   647,364 | ±0.82% |      91 |\n| [uuid-random]            | 🌎🔀🛡️  |        |   ✅  |   512 | uuid   | 1,249,273 | ±0.93% |      92 |\n| [uuid-random]            | 🌎🔀🛡️  |        |   ✅  |   512 | hex    | 1,182,259 | ±0.92% |      92 |\n| [uuid-random]            | 🌎🔀🛡️  |        |   ✅  |   512 | buffer | 1,749,568 | ±0.94% |      91 |\n| [sodium-uuid]            | 🌎🔀🛡️  |        |   ✅  |       | hex    |   222,468 | ±0.74% |      85 |\n| [sodium-uuid]            | 🌎🔀🛡️  |    ✅   |   ✅  |       | hex    |   230,227 | ±0.97% |      90 |\n| [sodium-uuid]            | 🌎🔀🛡️  |        |   ✅  |       | buffer |   282,921 | ±0.76% |      95 |\n| [sodium-uuid]            | 🌎🔀🛡️  |    ✅   |   ✅  |       | buffer |   285,123 | ±0.79% |      91 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  |       | hex    |   207,240 | ±1.85% |      92 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  |       | hex    |   246,718 | ±1.20% |      93 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  |       | buffer |   218,728 | ±2.85% |      87 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  |       | buffer |   288,010 | ±0.76% |      95 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  |   256 | hex    |   487,380 | ±0.66% |      95 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | hex    |   484,132 | ±0.69% |      89 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  |   256 | buffer |   579,664 | ±0.59% |      87 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | buffer |   567,894 | ±0.72% |      86 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  |  4096 | hex    |   509,949 | ±4.29% |      85 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | hex    |   514,632 | ±0.95% |      92 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  |  4096 | buffer |   589,869 | ±0.83% |      91 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | buffer |   584,236 | ±0.59% |      93 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  | 65536 | hex    |   549,442 | ±0.98% |      27 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | hex    |   503,349 | ±0.76% |      81 |\n| [sodium-native]          | 🌎🔀🛡️  |        |   ✅  | 65536 | buffer |   592,077 | ±1.12% |      87 |\n| [sodium-native]          | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | buffer |   635,565 | ±0.92% |      18 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      |       | hex    |    36,611 | ±1.81% |      73 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  |       | hex    |   247,546 | ±2.87% |      87 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      |       | buffer |    38,647 | ±1.39% |      76 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  |       | buffer |   283,446 | ±2.93% |      88 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  |   256 | hex    |   930,412 | ±1.40% |      88 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | hex    |   893,849 | ±1.18% |      91 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      |   256 | hex    |   322,917 | ±1.66% |      76 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |      |   256 | hex    |   319,095 | ±1.52% |      74 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  |   256 | buffer | 1,263,214 | ±1.34% |      85 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | buffer | 1,210,984 | ±2.24% |      85 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      |   256 | buffer |   374,283 | ±2.25% |      74 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |      |   256 | buffer |   385,773 | ±1.32% |      72 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  |  4096 | hex    | 1,213,789 | ±0.61% |      94 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | hex    | 1,132,888 | ±1.04% |      90 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      |  4096 | hex    |   798,433 | ±2.15% |      74 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |      |  4096 | hex    |   803,000 | ±1.31% |      78 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  |  4096 | buffer | 1,810,661 | ±1.08% |      89 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | buffer | 1,708,659 | ±1.13% |      93 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      |  4096 | buffer | 1,179,573 | ±1.65% |      73 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |      |  4096 | buffer | 1,084,560 | ±1.86% |      74 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  | 65536 | hex    | 1,238,794 | ±0.67% |      90 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | hex    | 1,162,037 | ±0.68% |      91 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      | 65536 | hex    |   937,338 | ±1.01% |      77 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |      | 65536 | hex    |   910,588 | ±1.20% |      75 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |   ✅  | 65536 | buffer | 1,907,768 | ±0.93% |      84 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | buffer | 1,789,604 | ±0.58% |      90 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |        |      | 65536 | buffer | 1,359,017 | ±1.67% |      75 |\n| [crypto.randomBytes]     | 🌎🔀🛡️  |    ✅   |      | 65536 | buffer | 1,349,288 | ±1.19% |      77 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  |       | hex    |   297,034 | ±3.03% |      91 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  |       | buffer |   352,826 | ±0.58% |      95 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |        |   ✅  |   256 | hex    |   972,593 | ±2.21% |      89 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | hex    | 1,003,555 | ±1.26% |      91 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |        |   ✅  |   256 | buffer | 1,533,437 | ±0.94% |      89 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | buffer | 1,498,401 | ±0.83% |      89 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |        |   ✅  |  4096 | hex    | 1,299,413 | ±1.33% |      92 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | hex    | 1,277,688 | ±0.94% |      89 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |        |   ✅  |  4096 | buffer | 2,127,692 | ±1.18% |      90 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | buffer | 2,030,611 | ±0.78% |      95 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |        |   ✅  | 65536 | hex    | 1,411,415 | ±0.73% |      61 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | hex    | 1,351,733 | ±1.12% |      64 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |        |   ✅  | 65536 | buffer | 2,173,932 | ±0.94% |      91 |\n| [crypto.randomFillSync]  | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | buffer | 1,978,253 | ±1.79% |      89 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      |       | hex    |    35,753 | ±1.64% |      74 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      |       | buffer |    40,443 | ±1.72% |      76 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |        |      |   256 | hex    |   337,253 | ±1.89% |      69 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      |   256 | hex    |   342,601 | ±1.53% |      74 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |        |      |   256 | buffer |   394,036 | ±1.80% |      73 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      |   256 | buffer |   398,759 | ±1.55% |      73 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |        |      |  4096 | hex    |   838,637 | ±1.58% |      75 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      |  4096 | hex    |   795,834 | ±1.19% |      77 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |        |      |  4096 | buffer | 1,099,979 | ±4.33% |      73 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      |  4096 | buffer | 1,124,590 | ±1.94% |      72 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |        |      | 65536 | hex    |   910,602 | ±1.70% |      77 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      | 65536 | hex    |   899,567 | ±1.12% |      78 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |        |      | 65536 | buffer | 1,379,134 | ±1.24% |      77 |\n| [crypto.randomFill]      | 🌎🔀🛡️  |    ✅   |      | 65536 | buffer | 1,356,052 | ±1.10% |      74 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      |       | hex    |    40,092 | ±1.67% |      73 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  |       | hex    |   226,814 | ±0.46% |      96 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      |       | buffer |    41,103 | ±2.07% |      76 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  |       | buffer |   262,087 | ±0.66% |      93 |\n| [/dev/random]            | 🌎🔀🛡️  |        |      |   256 | hex    |   234,066 | ±1.29% |      77 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      |   256 | hex    |   235,687 | ±1.66% |      75 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | hex    |   443,135 | ±0.88% |      88 |\n| [/dev/random]            | 🌎🔀🛡️  |        |      |   256 | buffer |   269,161 | ±1.50% |      72 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      |   256 | buffer |   267,478 | ±1.62% |      72 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  |   256 | buffer |   525,963 | ±0.59% |      92 |\n| [/dev/random]            | 🌎🔀🛡️  |        |      |  4096 | hex    |   381,099 | ±1.53% |      77 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      |  4096 | hex    |   388,474 | ±1.50% |      77 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | hex    |   491,756 | ±0.60% |      93 |\n| [/dev/random]            | 🌎🔀🛡️  |        |      |  4096 | buffer |   454,175 | ±1.28% |      76 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      |  4096 | buffer |   448,020 | ±1.31% |      77 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  |  4096 | buffer |   574,020 | ±0.64% |      94 |\n| [/dev/random]            | 🌎🔀🛡️  |        |      | 65536 | hex    |   409,728 | ±1.48% |      75 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      | 65536 | hex    |   450,289 | ±1.31% |      50 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | hex    |   541,220 | ±1.04% |      31 |\n| [/dev/random]            | 🌎🔀🛡️  |        |      | 65536 | buffer |   483,239 | ±1.34% |      74 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |      | 65536 | buffer |   525,563 | ±1.42% |      49 |\n| [/dev/random]            | 🌎🔀🛡️  |    ✅   |   ✅  | 65536 | buffer |   636,141 | ±0.76% |      19 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      |       | hex    |    39,507 | ±1.28% |      76 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  |       | hex    |   225,501 | ±1.16% |      96 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      |       | buffer |    42,675 | ±1.60% |      75 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  |       | buffer |   262,925 | ±0.53% |      96 |\n| [/dev/urandom]           | 🌎🔀     |        |      |   256 | hex    |   242,490 | ±1.25% |      76 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      |   256 | hex    |   247,783 | ±1.28% |      74 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  |   256 | hex    |   449,219 | ±0.57% |      95 |\n| [/dev/urandom]           | 🌎🔀     |        |      |   256 | buffer |   260,615 | ±1.44% |      73 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      |   256 | buffer |   268,182 | ±1.63% |      74 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  |   256 | buffer |   529,952 | ±0.34% |      91 |\n| [/dev/urandom]           | 🌎🔀     |        |      |  4096 | hex    |   393,407 | ±1.38% |      73 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      |  4096 | hex    |   386,528 | ±1.07% |      78 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  |  4096 | hex    |   489,407 | ±0.71% |      92 |\n| [/dev/urandom]           | 🌎🔀     |        |      |  4096 | buffer |   450,002 | ±1.35% |      73 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      |  4096 | buffer |   446,349 | ±1.50% |      78 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  |  4096 | buffer |   573,550 | ±0.72% |      91 |\n| [/dev/urandom]           | 🌎🔀     |        |      | 65536 | hex    |   416,024 | ±1.48% |      76 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      | 65536 | hex    |   445,563 | ±1.30% |      51 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  | 65536 | hex    |   539,710 | ±0.82% |      32 |\n| [/dev/urandom]           | 🌎🔀     |        |      | 65536 | buffer |   492,679 | ±1.67% |      71 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |      | 65536 | buffer |   479,059 | ±1.36% |      74 |\n| [/dev/urandom]           | 🌎🔀     |    ✅   |   ✅  | 65536 | buffer |   637,976 | ±0.65% |      20 |\n\u003c!-- AUTOGENERATED - DO NOT EDIT --\u003e\n\n## Non UUID\n\nThe following ID generators does not generate 128 bit id's. Beware that\nnot all of them are globally unique.\n\n\u003c!-- AUTOGENERATED - DO NOT EDIT --\u003e\n| Method               | Features | Re-use | Sync | Cache |   Ops/sec | RME    | Samples | Example                                         |\n| :------------------- | :------- | :----: | :--: | ----: | --------: | :----- | ------: | :---------------------------------------------- |\n| [hyperid] cold start | 🌎       |        |   ✅  |       |   102,478 | ±1.01% |      89 | \u003csub\u003e\u003csub\u003ePK9867v+RGmX2kdtHbPe1g/0\u003c/sub\u003e\u003c/sub\u003e  |\n| [hyperid] normal     | 🌎       |        |   ✅  |       | 8,495,558 | ±2.28% |      83 | \u003csub\u003e\u003csub\u003ePK9867v+RGmX2kdtHbPe1g/0\u003c/sub\u003e\u003c/sub\u003e  |\n| [cuid]               | 🌎       |        |   ✅  |       |   448,945 | ±0.66% |      88 | \u003csub\u003e\u003csub\u003ecjksp2h270000e8hgvs5t9ihj\u003c/sub\u003e\u003c/sub\u003e |\n| [shortid]            | 🔀       |        |   ✅  |       |    22,552 | ±3.58% |      81 | \u003csub\u003e\u003csub\u003ep300jY3TE\u003c/sub\u003e\u003c/sub\u003e                 |\n| [nanoid]             | 🌎🔀🛡️  |        |   ✅  |       |   237,373 | ±1.36% |      86 | \u003csub\u003e\u003csub\u003e2nlN~BJaTgdWQm01WS2uG\u003c/sub\u003e\u003c/sub\u003e     |\n\u003c!-- AUTOGENERATED - DO NOT EDIT --\u003e\n\n## Legend\n\n- **Method:** Name of npm module, Node.js core function, or OS based random generator used\n- **Features:**\n  - 🌎 (GUID) - The ID is globally unique\n  - 🛡 (Secure) - The method used to generate the ID doesn't leak metadata and it's not possible to predict what the next ID will be\n  - 🔀 (Random) - The ID is made up of random data\n- **Re-use:** An output buffer was re-used between each test to potentially reduce the number of objects that needed to be allocated\n- **Sync:** The ID generation was performed synchronously\n- **Cache:**\n  - \u0026lt;empty\u003e - Only the amount of bytes required to generate a 128 bit number was read into memory\n  - \u0026lt;Number\u003e - Number of bytes read into memory the first time a 128 bit number was requested. Subsequent runs would use the leftover bytes in the cache until it had been depleted, at which time another chunk of bytes would be read into memory\n- **Format:**\n  - `uuid` - ID is a UUID formatted string representing a 128 bit number, e.g. `3a017fc5-4f50-4db9-b0ce-4547ba0a1bfd`\n  - `hex` - ID is a hex formatted string representing a 128 bit number, e.g. `3a017fc54f504db9b0ce4547ba0a1bfd`\n  - `buffer` - ID is a raw 128 bit binary Buffer object\n  - `other` - ID is **not** a UUID or 128 bit number, and might not be globally unique\n- **Ops/sec:** Number of ID's generated per second\n- **RME:** The relative margin of error (expressed as a percentage of the mean)\n- **Samples:** Number of runs sampled\n- **Example:** Example of a generated ID\n\n## License\n\n[MIT](LICENSE)\n\n[uuid/v1]: https://www.npmjs.com/package/uuid\n[uuid/v4]: https://www.npmjs.com/package/uuid\n[fast-uuid]: https://www.npmjs.com/package/fast-uuid\n[uuid-random]: https://www.npmjs.com/package/uuid-random\n[sodium-uuid]: https://www.npmjs.com/package/sodium-uuid\n[sodium-native]: https://www.npmjs.com/package/sodium-native\n[crypto.randomBytes]: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback\n[crypto.randomFillSync]: https://nodejs.org/api/crypto.html#crypto_crypto_randomfillsync_buffer_offset_size\n[crypto.randomFill]: https://nodejs.org/api/crypto.html#crypto_crypto_randomfill_buffer_offset_size_callback\n[/dev/random]: https://en.wikipedia.org/wiki//dev/random\n[/dev/urandom]: https://en.wikipedia.org/wiki//dev/random\n[hyperid]: https://www.npmjs.com/package/hyperid\n[cuid]: https://www.npmjs.com/package/cuid\n[shortid]: https://www.npmjs.com/package/shortid\n[nanoid]: https://www.npmjs.com/package/nanoid\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson%2Fuuid-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson%2Fuuid-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson%2Fuuid-benchmark/lists"}