Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 21, 2024
1 parent 25bbffb commit 4443103
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 42 deletions.
29 changes: 15 additions & 14 deletions README.id-ID.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,25 @@ Ada dua buah perbedaan antara Nano ID dan UUID v4:

```rust
$ node ./test/benchmark.js
crypto.randomUUID 21,119,429 ops/sec
uuid v4 20,368,447 ops/sec
@napi-rs/uuid 11,493,890 ops/sec
uid/secure 8,409,962 ops/sec
@lukeed/uuid 6,871,405 ops/sec
nanoid 5,652,148 ops/sec
customAlphabet 3,565,656 ops/sec
secure-random-string 394,201 ops/sec
uid-safe.sync 393,176 ops/sec
shortid 49,916 ops/sec
crypto.randomUUID 28,398,328 ops/sec
uuid v4 10,254,199 ops/sec
@napi-rs/uuid 15,110,625 ops/sec
uid/secure 10,388,842 ops/sec
@lukeed/uuid 8,914,507 ops/sec
nanoid 7,484,029 ops/sec
customAlphabet 4,867,017 ops/sec
nanoid for browser 609,426 ops/sec
secure-random-string 539,080 ops/sec
uid-safe.sync 533,944 ops/sec
shortid 59,609 ops/sec

Non-secure:
uid 58,860,241 ops/sec
nanoid/non-secure 2,744,615 ops/sec
rndm 2,718,063 ops/sec
uid 95,579,977 ops/sec
nanoid/non-secure 3,999,766 ops/sec
rndm 3,981,914 ops/sec
```

Konfigurasi pengujian: ThinkPad X1 Carbon Gen 9, Fedora 36, Node.js 18.9.
Konfigurasi pengujian: Framework 13 7840U, Fedora 39, Node.js 21.6.


## Keamanan
Expand Down
29 changes: 15 additions & 14 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,25 @@ Nano ID похож на UUID v4 (случайный).

```rust
$ node ./test/benchmark.js
crypto.randomUUID 21,119,429 ops/sec
uuid v4 20,368,447 ops/sec
@napi-rs/uuid 11,493,890 ops/sec
uid/secure 8,409,962 ops/sec
@lukeed/uuid 6,871,405 ops/sec
nanoid 5,652,148 ops/sec
customAlphabet 3,565,656 ops/sec
secure-random-string 394,201 ops/sec
uid-safe.sync 393,176 ops/sec
shortid 49,916 ops/sec
crypto.randomUUID 28,398,328 ops/sec
uuid v4 10,254,199 ops/sec
@napi-rs/uuid 15,110,625 ops/sec
uid/secure 10,388,842 ops/sec
@lukeed/uuid 8,914,507 ops/sec
nanoid 7,484,029 ops/sec
customAlphabet 4,867,017 ops/sec
nanoid for browser 609,426 ops/sec
secure-random-string 539,080 ops/sec
uid-safe.sync 533,944 ops/sec
shortid 59,609 ops/sec

Non-secure:
uid 58,860,241 ops/sec
nanoid/non-secure 2,744,615 ops/sec
rndm 2,718,063 ops/sec
uid 95,579,977 ops/sec
nanoid/non-secure 3,999,766 ops/sec
rndm 3,981,914 ops/sec
```

Среда сравнения: ThinkPad X1 Carbon Gen 9, Fedora 36, Node.js 18.9.
Среда сравнения: Framework 13 7840U, Fedora 39, Node.js 21.6.


## Безопасность
Expand Down
29 changes: 15 additions & 14 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,24 +72,25 @@ Nano ID 和 UUID v4之间有两个主要区别:

```rust
$ node ./test/benchmark.js
crypto.randomUUID 21,119,429 ops/sec
uuid v4 20,368,447 ops/sec
@napi-rs/uuid 11,493,890 ops/sec
uid/secure 8,409,962 ops/sec
@lukeed/uuid 6,871,405 ops/sec
nanoid 5,652,148 ops/sec
customAlphabet 3,565,656 ops/sec
secure-random-string 394,201 ops/sec
uid-safe.sync 393,176 ops/sec
shortid 49,916 ops/sec
crypto.randomUUID 28,398,328 ops/sec
uuid v4 10,254,199 ops/sec
@napi-rs/uuid 15,110,625 ops/sec
uid/secure 10,388,842 ops/sec
@lukeed/uuid 8,914,507 ops/sec
nanoid 7,484,029 ops/sec
customAlphabet 4,867,017 ops/sec
nanoid for browser 609,426 ops/sec
secure-random-string 539,080 ops/sec
uid-safe.sync 533,944 ops/sec
shortid 59,609 ops/sec

Non-secure:
uid 58,860,241 ops/sec
nanoid/non-secure 2,744,615 ops/sec
rndm 2,718,063 ops/sec
uid 95,579,977 ops/sec
nanoid/non-secure 3,999,766 ops/sec
rndm 3,981,914 ops/sec
```

测试配置: ThinkPad X1 Carbon Gen 9, Fedora 36, Node.js 18.9.
测试配置: Framework 13 7840U, Fedora 39, Node.js 21.6.


## 安全性
Expand Down

0 comments on commit 4443103

Please sign in to comment.