How fast Arqam writes long numbers
Arqam 2.0.0 (engine 1.76, arqamEN 1.16) · 2026-11-27
Measured on: Intel(R) Xeon(R) Processor @ 2.10GHz, 2 cores, 8 GB; Linux 6.18.44-fc-v880 (x64); Node v22.23.4.
Each number is random digits (the first not 0), the same numbers on every machine. Each time is the average of 5 calls after 3 warm-up calls of the same number in the same library (the warm-ups also build the scale names). Sizes: characters of the number and of the words, then bytes in UTF-8 (an Arabic letter is 2 bytes). «split»: the colour markers (
To measure your own machine:
Each number is random digits (the first not 0), the same numbers on every machine. Each time is the average of 5 calls after 3 warm-up calls of the same number in the same library (the warm-ups also build the scale names). Sizes: characters of the number and of the words, then bytes in UTF-8 (an Arabic letter is 2 bytes). «split»: the colour markers (
split: "on").To measure your own machine:
node tools/benchmark.js (or --quick for up to 100,000 digits) in the Arqam folder from GitHub; it writes this page with your results.| Row | 10 digits | 100 digits | 1,000 digits | 10,000 digits | 100,000 digits | 1,000,000 digits |
|---|---|---|---|---|---|---|
| Input number | 10 (10 B) | 100 (100 B) | 1,000 (1,000 B) | 10,000 (9.8 KB) | 100,000 (97.7 KB) | 1,000,000 (976.6 KB) |
| Arabic, no tashkeel: time | 0.15 ms | 0.14 ms | 0.72 ms | 7.23 ms | 53.9 ms | 691 ms |
| Arabic, no tashkeel: output | 91 (170 B) | 1,105 (2.0 KB) | 13,175 (24.5 KB) | 151,017 (283.0 KB) | 1,746,196 (3.21 MB) | 19,728,402 (36.46 MB) |
| Arabic, no tashkeel, split: time | 0.14 ms | 0.21 ms | 0.64 ms | 10.4 ms | 79.2 ms | 723 ms |
| Arabic, no tashkeel, split: output | 100 (179 B) | 1,204 (2.1 KB) | 14,174 (25.5 KB) | 160,998 (292.7 KB) | 1,846,090 (3.31 MB) | 20,727,396 (37.41 MB) |
| Arabic, full tashkeel: time | 77.5 µs | 0.17 ms | 1.15 ms | 10.4 ms | 127 ms | 1,542 ms |
| Arabic, full tashkeel: output | 157 (302 B) | 1,863 (3.5 KB) | 22,419 (42.6 KB) | 256,746 (489.5 KB) | 2,959,549 (5.53 MB) | 33,595,376 (62.91 MB) |
| Arabic, full tashkeel, split: time | 0.40 ms | 0.29 ms | 1.94 ms | 17.5 ms | 139 ms | 1,461 ms |
| Arabic, full tashkeel, split: output | 166 (311 B) | 1,962 (3.6 KB) | 23,418 (43.6 KB) | 266,727 (499.2 KB) | 3,059,443 (5.62 MB) | 34,594,370 (63.86 MB) |
| Arabic, part (endings): time | 86.5 µs | 0.17 ms | 1.05 ms | 11.0 ms | 99.9 ms | 1,338 ms |
| Arabic, part (endings): output | 112 (212 B) | 1,303 (2.4 KB) | 15,167 (28.4 KB) | 170,994 (322.0 KB) | 1,945,522 (3.59 MB) | 21,726,777 (40.27 MB) |
| Arabic, part (endings), split: time | 87.3 µs | 0.18 ms | 1.13 ms | 11.8 ms | 111 ms | 1,511 ms |
| Arabic, part (endings), split: output | 121 (221 B) | 1,402 (2.5 KB) | 16,166 (29.4 KB) | 180,975 (331.7 KB) | 2,045,416 (3.69 MB) | 22,725,771 (41.22 MB) |
| English, plain: time | 36.7 µs | 24.6 µs | 0.13 ms | 4.43 ms | 16.8 ms | 288 ms |
| English, plain: output | 103 (103 B) | 1,176 (1.1 KB) | 14,552 (14.2 KB) | 169,003 (165.0 KB) | 1,933,324 (1.84 MB) | 22,095,521 (21.07 MB) |
| English, UK style: time | 10.2 µs | 21.9 µs | 0.15 ms | 4.95 ms | 17.0 ms | 303 ms |
| English, UK style: output | 115 (115 B) | 1,292 (1.3 KB) | 15,720 (15.4 KB) | 180,843 (176.6 KB) | 2,051,412 (1.96 MB) | 23,285,329 (22.21 MB) |
| English, USD: time | 11.2 µs | 35.8 µs | 0.14 ms | 2.83 ms | 15.6 ms | 248 ms |
| English, USD: output | 136 (136 B) | 1,209 (1.2 KB) | 14,585 (14.2 KB) | 169,036 (165.1 KB) | 1,933,357 (1.84 MB) | 22,095,554 (21.07 MB) |