Skip to content

Commit 885b3d6

Browse files
committed
docs: measure the benchmarks again now that #1179 has landed
This site now builds in 2.4 s and the Node.js v26.12.1 API docs in 9.1 s, on Node.js 26.13. Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f3995e9 commit 885b3d6

2 files changed

Lines changed: 30 additions & 30 deletions

File tree

‎docs/introduction.md‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,28 @@ Building this site, 40 pages, with its own
5959

6060
| Targets | Output | Time |
6161
| --------------------------- | ------------------------------------- | ------ |
62-
| `llms-txt` | `llms.txt` | 0.51 s |
63-
| `orama-db` | The search index | 0.55 s |
64-
| `json` | 40 JSON documents | 0.56 s |
65-
| `html` | The site: 40 pages, bundled with Vite | 2.85 s |
66-
| The configuration's targets | All of it, 213 files | 2.90 s |
62+
| `llms-txt` | `llms.txt` | 0.44 s |
63+
| `orama-db` | The search index | 0.49 s |
64+
| `json` | 40 JSON documents | 0.51 s |
65+
| `html` | The site: 40 pages, bundled with Vite | 2.37 s |
66+
| The configuration's targets | All of it, 212 files | 2.44 s |
6767

6868
Most of the website's time is Vite bundling its scripts and styles once, a
6969
cost that doesn't grow with the number of pages. The Node.js v26.12.1 API docs
7070
show how the rest scales, with 71 files, built with the
7171
configuration of [the Node.js preview site](https://beta.docs.nodejs.org/):
7272

73-
| Targets | Output | Time |
74-
| ----------------------------------------------- | -------------------- | ------ |
75-
| `llms-txt` | `llms.txt` | 2.2 s |
76-
| `orama-db` | The search index | 2.6 s |
77-
| `json` | 71 JSON documents | 2.6 s |
78-
| `section-pages` | The site: 794 pages | 9.7 s |
79-
| `section-pages`, `json`, `llms-txt`, `orama-db` | All of it, 937 files | 10.1 s |
73+
| Targets | Output | Time |
74+
| ----------------------------------------------- | -------------------- | ----- |
75+
| `llms-txt` | `llms.txt` | 1.9 s |
76+
| `orama-db` | The search index | 2.2 s |
77+
| `json` | 71 JSON documents | 2.3 s |
78+
| `section-pages` | The site: 794 pages | 8.6 s |
79+
| `section-pages`, `json`, `llms-txt`, `orama-db` | All of it, 935 files | 9.1 s |
8080

8181
Each time is the median of five clean builds on an AMD Ryzen 9 8945HX
82-
(32 threads, 4 used by doc-kit) with Node.js 24.18 and doc-kit
83-
`12a5473`. To measure them on your machine, run this from a doc-kit
82+
(32 threads, 4 used by doc-kit) with Node.js 26.13 and doc-kit
83+
`3e9e6b5`. To measure them on your machine, run this from a doc-kit
8484
checkout with its dependencies installed. It checks out the Node.js docs
8585
once, builds both sites, and writes the results to
8686
`www/theme/benchmarks.json`, which the home page reads:

‎www/theme/benchmarks.json‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"machine": "AMD Ryzen 9 8945HX with Node.js 24.18.0",
3-
"commit": "12a5473",
2+
"machine": "AMD Ryzen 9 8945HX with Node.js 26.13.0",
3+
"commit": "3e9e6b5",
44
"runs": 5,
55
"site": {
66
"pages": 40,
77
"results": {
88
"llms-txt": {
9-
"seconds": 0.51,
9+
"seconds": 0.44,
1010
"files": 1,
1111
"pages": 0
1212
},
1313
"orama-db": {
14-
"seconds": 0.55,
14+
"seconds": 0.49,
1515
"files": 1,
1616
"pages": 0
1717
},
1818
"json": {
19-
"seconds": 0.56,
19+
"seconds": 0.51,
2020
"files": 40,
2121
"pages": 0
2222
},
2323
"html": {
24-
"seconds": 2.85,
25-
"files": 171,
24+
"seconds": 2.37,
25+
"files": 170,
2626
"pages": 42,
2727
"clientKilobytes": 10
2828
},
2929
"all": {
30-
"seconds": 2.9,
31-
"files": 213,
30+
"seconds": 2.44,
31+
"files": 212,
3232
"pages": 42,
3333
"clientKilobytes": 10
3434
}
@@ -39,29 +39,29 @@
3939
"files": 71,
4040
"results": {
4141
"llms-txt": {
42-
"seconds": 2.22,
42+
"seconds": 1.92,
4343
"files": 1,
4444
"pages": 0
4545
},
4646
"orama-db": {
47-
"seconds": 2.55,
47+
"seconds": 2.23,
4848
"files": 1,
4949
"pages": 0
5050
},
5151
"json": {
52-
"seconds": 2.57,
52+
"seconds": 2.31,
5353
"files": 71,
5454
"pages": 0
5555
},
5656
"section-pages": {
57-
"seconds": 9.69,
58-
"files": 864,
57+
"seconds": 8.57,
58+
"files": 862,
5959
"pages": 794,
6060
"clientKilobytes": 10
6161
},
6262
"all": {
63-
"seconds": 10.09,
64-
"files": 937,
63+
"seconds": 9.07,
64+
"files": 935,
6565
"pages": 794,
6666
"clientKilobytes": 10
6767
}

0 commit comments

Comments
 (0)