Skip to content

Commit ddcbcbf

Browse files
committed
chore: update docs
1 parent 7e7c987 commit ddcbcbf

3 files changed

Lines changed: 206 additions & 116 deletions

File tree

docs/data/bench-results.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
11
{
2-
"generatedAt": "2026-05-16T18:38:32.359Z",
2+
"generatedAt": "2026-05-16T18:57:45.314Z",
33
"runtime": "v25.9.0",
44
"results": [
55
{
66
"name": "detectLanguage for TypeScript file",
77
"group": "detect",
88
"iterations": 100000,
9-
"totalMs": 184.722,
10-
"meanMs": 0.001847,
11-
"opsPerSecond": 541353
9+
"totalMs": 203.923,
10+
"meanMs": 0.002039,
11+
"opsPerSecond": 490380
1212
},
1313
{
1414
"name": "detectLanguages for ambiguous header",
1515
"group": "detect",
1616
"iterations": 100000,
17-
"totalMs": 192.231,
18-
"meanMs": 0.001922,
19-
"opsPerSecond": 520208
17+
"totalMs": 212.694,
18+
"meanMs": 0.002127,
19+
"opsPerSecond": 470158
2020
},
2121
{
2222
"name": "detectLanguage mixed filenames",
2323
"group": "detect",
2424
"iterations": 20000,
25-
"totalMs": 44.806,
26-
"meanMs": 0.00224,
27-
"opsPerSecond": 446373
25+
"totalMs": 47.395,
26+
"meanMs": 0.00237,
27+
"opsPerSecond": 421984
2828
},
2929
{
3030
"name": "localize TypeScript to es-PE",
3131
"group": "i18n",
3232
"iterations": 250000,
33-
"totalMs": 61.089,
34-
"meanMs": 0.000244,
35-
"opsPerSecond": 4092404
33+
"totalMs": 62.88,
34+
"meanMs": 0.000252,
35+
"opsPerSecond": 3975795
3636
},
3737
{
3838
"name": "localize complete catalog to Spanish",
3939
"group": "i18n",
4040
"iterations": 10000,
41-
"totalMs": 228.606,
42-
"meanMs": 0.022861,
43-
"opsPerSecond": 43743
41+
"totalMs": 260.993,
42+
"meanMs": 0.026099,
43+
"opsPerSecond": 38315
4444
},
4545
{
4646
"name": "api.language().locale().get()",
4747
"group": "api",
4848
"iterations": 100000,
49-
"totalMs": 48.157,
50-
"meanMs": 0.000482,
51-
"opsPerSecond": 2076536
49+
"totalMs": 49.875,
50+
"meanMs": 0.000499,
51+
"opsPerSecond": 2005019
5252
},
5353
{
5454
"name": "api.detect().locale().get()",
5555
"group": "api",
5656
"iterations": 100000,
57-
"totalMs": 228.085,
58-
"meanMs": 0.002281,
59-
"opsPerSecond": 438434
57+
"totalMs": 240.01,
58+
"meanMs": 0.0024,
59+
"opsPerSecond": 416650
6060
},
6161
{
6262
"name": "api.language().locale().load()",
6363
"group": "api",
6464
"iterations": 10000,
65-
"totalMs": 4.766,
66-
"meanMs": 0.000477,
67-
"opsPerSecond": 2098012
65+
"totalMs": 4.534,
66+
"meanMs": 0.000453,
67+
"opsPerSecond": 2205578
6868
}
6969
]
7070
}

docs/data/languages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"generatedAt": "2026-05-16T18:54:07.554Z",
2+
"generatedAt": "2026-05-16T18:57:45.510Z",
33
"total": 91,
44
"extensions": 265,
55
"locales": ["en", "es"],

0 commit comments

Comments
 (0)