Commit 0da2c90
committed
graphs.html: real template build latency, conditional label
Measure actual build_template() time in TemplateBuilder (was hardcoded 0
for embedded mode). Store in stat log as work_latency, exposed via
getwork_latency graph source.
Label adapts to mode via currency_info.embedded/has_rpc flags:
- Embedded only: "Embedded Template Build Latency"
- RPC + Embedded: "GetBlockTemplate Latency (RPC + Embedded)"
- RPC only: "GetBlockTemplate Latency (RPC)"1 parent 4730305 commit 0da2c90
4 files changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2121 | 2121 | | |
2122 | 2122 | | |
2123 | 2123 | | |
| 2124 | + | |
2124 | 2125 | | |
2125 | 2126 | | |
2126 | 2127 | | |
| |||
4287 | 4288 | | |
4288 | 4289 | | |
4289 | 4290 | | |
| 4291 | + | |
| 4292 | + | |
| 4293 | + | |
| 4294 | + | |
4290 | 4295 | | |
4291 | 4296 | | |
4292 | 4297 | | |
| |||
5871 | 5876 | | |
5872 | 5877 | | |
5873 | 5878 | | |
5874 | | - | |
| 5879 | + | |
5875 | 5880 | | |
5876 | 5881 | | |
5877 | 5882 | | |
| |||
6072 | 6077 | | |
6073 | 6078 | | |
6074 | 6079 | | |
| 6080 | + | |
| 6081 | + | |
| 6082 | + | |
6075 | 6083 | | |
6076 | 6084 | | |
6077 | 6085 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| 863 | + | |
863 | 864 | | |
864 | 865 | | |
865 | 866 | | |
| |||
1216 | 1217 | | |
1217 | 1218 | | |
1218 | 1219 | | |
| 1220 | + | |
1219 | 1221 | | |
1220 | 1222 | | |
1221 | 1223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
307 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
562 | 568 | | |
563 | | - | |
| 569 | + | |
564 | 570 | | |
565 | 571 | | |
566 | 572 | | |
| |||
0 commit comments