Commit e4e332f
authored
Print timing for page requests and re-parsing in server mode (#1648)
## Summary
- Silence the stats progress bar in server mode — it uses `\r` on a tty
which collides with the server's own logging
- Print response time for page requests (not assets or status polls):
`200 /RDoc.html (12.3ms)`
- Print re-parse duration with relative paths: `Re-parsed lib/rdoc.rb
(17.5ms)`
```
Serving documentation at: http://localhost:4000
Press Ctrl+C to stop.
200 /RDoc.html (14.9ms)
Re-parsed lib/rdoc.rb (15.7ms)
200 /RDoc.html (8.5ms)
```1 parent 78325e1 commit e4e332f
2 files changed
+42
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| |||
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
141 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
142 | 157 | | |
143 | 158 | | |
144 | 159 | | |
| |||
185 | 200 | | |
186 | 201 | | |
187 | 202 | | |
| 203 | + | |
| 204 | + | |
188 | 205 | | |
189 | 206 | | |
190 | 207 | | |
| |||
347 | 364 | | |
348 | 365 | | |
349 | 366 | | |
350 | | - | |
351 | | - | |
352 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
353 | 370 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
359 | 379 | | |
360 | | - | |
361 | 380 | | |
362 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
363 | 384 | | |
364 | 385 | | |
365 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
| |||
0 commit comments