local-ttft-evidence.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. {
  2. "runId": "desktop-e2e-20260914065825460-p98341-a1be9784bec76dad",
  3. "collectedAt": "2026-09-14",
  4. "source": "real Composer → window Host → CLI replay provider → actual Renderer content → decoded OTLP protobuf receiver",
  5. "e2eTestsPassed": 3,
  6. "focusEvents": [],
  7. "clockMaxAllowedErrorMs": 10,
  8. "samples": [
  9. {
  10. "observationId": "fe738b95-f6f7-4266-847e-aaf458d2b8df",
  11. "traceId": "/nOLlfb3QmaEfqr0WNK43w==",
  12. "firstOutputKind": "text",
  13. "quality": "complete",
  14. "ttftMs": 3284.400147,
  15. "firstTextMs": 3284.600098,
  16. "clockErrorMs": 3.125244140625,
  17. "cliVersion": "0.16.9",
  18. "logicalCallId": "f1fda3a5-b2f4-451e-bc8b-7ef724eb423c",
  19. "intervals": [
  20. {
  21. "stage": "renderer_prepare",
  22. "startMs": 0.0,
  23. "endMs": 8.5,
  24. "durationMs": 8.5
  25. },
  26. {
  27. "stage": "command_admission",
  28. "startMs": 8.5,
  29. "endMs": 693.044678,
  30. "durationMs": 684.544678
  31. },
  32. {
  33. "stage": "execution_wait",
  34. "startMs": 693.044678,
  35. "endMs": 877.281738,
  36. "durationMs": 184.23706
  37. },
  38. {
  39. "stage": "request_prepare",
  40. "startMs": 877.281738,
  41. "endMs": 2928.792969,
  42. "durationMs": 2051.511231
  43. },
  44. {
  45. "stage": "model_request",
  46. "startMs": 2928.792969,
  47. "endMs": 2965.738525,
  48. "durationMs": 36.945556
  49. },
  50. {
  51. "stage": "output_return",
  52. "startMs": 2965.738525,
  53. "endMs": 3284.400147,
  54. "durationMs": 318.661622
  55. }
  56. ],
  57. "unattributedMs": "0"
  58. },
  59. {
  60. "observationId": "5603c1be-9d14-4d88-b2a9-3cfa202dd5c9",
  61. "traceId": "VgPBvp0UTYiyqTz6IC3VyQ==",
  62. "firstOutputKind": "reasoning",
  63. "quality": "complete",
  64. "ttftMs": 589.800049,
  65. "firstTextMs": 8341.0,
  66. "clockErrorMs": 3.125244140625,
  67. "cliVersion": "0.16.9",
  68. "logicalCallId": "ccd8bcb7-ed7e-4842-a8c4-367332fa9afe",
  69. "intervals": [
  70. {
  71. "stage": "renderer_prepare",
  72. "startMs": 0.0,
  73. "endMs": 2.0,
  74. "durationMs": 2.0
  75. },
  76. {
  77. "stage": "command_admission",
  78. "startMs": 2.0,
  79. "endMs": 272.736084,
  80. "durationMs": 270.736084
  81. },
  82. {
  83. "stage": "execution_wait",
  84. "startMs": 272.736084,
  85. "endMs": 275.037842,
  86. "durationMs": 2.301758
  87. },
  88. {
  89. "stage": "request_prepare",
  90. "startMs": 275.037842,
  91. "endMs": 294.702392,
  92. "durationMs": 19.66455
  93. },
  94. {
  95. "stage": "model_request",
  96. "startMs": 294.702392,
  97. "endMs": 560.654541,
  98. "durationMs": 265.952149
  99. },
  100. {
  101. "stage": "output_return",
  102. "startMs": 560.654541,
  103. "endMs": 589.800049,
  104. "durationMs": 29.145508
  105. }
  106. ],
  107. "unattributedMs": "0"
  108. },
  109. {
  110. "observationId": "4c25406e-0c74-4cbc-ab47-8a61c6c33283",
  111. "traceId": "TCVAbgx0TLyrR4phxsMygw==",
  112. "firstOutputKind": "tool",
  113. "quality": "complete",
  114. "ttftMs": 816.600098,
  115. "firstTextMs": 1033.600098,
  116. "clockErrorMs": 3.125244140625,
  117. "cliVersion": "0.16.9",
  118. "logicalCallId": "752515b7-cc25-4de6-bc68-dfcce76d433e",
  119. "intervals": [
  120. {
  121. "stage": "renderer_prepare",
  122. "startMs": 0.0,
  123. "endMs": 5.800049,
  124. "durationMs": 5.800049
  125. },
  126. {
  127. "stage": "command_admission",
  128. "startMs": 5.800049,
  129. "endMs": 57.357178,
  130. "durationMs": 51.557129
  131. },
  132. {
  133. "stage": "execution_wait",
  134. "startMs": 57.357178,
  135. "endMs": 160.872314,
  136. "durationMs": 103.515136
  137. },
  138. {
  139. "stage": "request_prepare",
  140. "startMs": 160.872314,
  141. "endMs": 672.192139,
  142. "durationMs": 511.319825
  143. },
  144. {
  145. "stage": "model_request",
  146. "startMs": 672.192139,
  147. "endMs": 771.999268,
  148. "durationMs": 99.807129
  149. },
  150. {
  151. "stage": "output_return",
  152. "startMs": 771.999268,
  153. "endMs": 816.600098,
  154. "durationMs": 44.60083
  155. }
  156. ],
  157. "unattributedMs": "0"
  158. }
  159. ],
  160. "histograms": {
  161. "zcode.local_ttft.duration": {
  162. "sampleCount": 3,
  163. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  164. "bucketCounts": [0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0],
  165. "p50BucketEstimateMs": 875.0,
  166. "p95BucketEstimateMs": 4550.0
  167. },
  168. "zcode.local_ttft.stage.duration:renderer_prepare": {
  169. "sampleCount": 3,
  170. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  171. "bucketCounts": [0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  172. "p50BucketEstimateMs": 6.25,
  173. "p95BucketEstimateMs": 9.625
  174. },
  175. "zcode.local_ttft.stage.duration:command_admission": {
  176. "sampleCount": 3,
  177. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  178. "bucketCounts": [0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0],
  179. "p50BucketEstimateMs": 350.0,
  180. "p95BucketEstimateMs": 925.0
  181. },
  182. "zcode.local_ttft.stage.duration:execution_wait": {
  183. "sampleCount": 3,
  184. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  185. "bucketCounts": [0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  186. "p50BucketEstimateMs": 125.0,
  187. "p95BucketEstimateMs": 192.5
  188. },
  189. "zcode.local_ttft.stage.duration:request_prepare": {
  190. "sampleCount": 3,
  191. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  192. "bucketCounts": [0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0],
  193. "p50BucketEstimateMs": 750.0,
  194. "p95BucketEstimateMs": 4550.0
  195. },
  196. "zcode.local_ttft.stage.duration:model_request": {
  197. "sampleCount": 3,
  198. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  199. "bucketCounts": [0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
  200. "p50BucketEstimateMs": 75.0,
  201. "p95BucketEstimateMs": 455.0
  202. },
  203. "zcode.local_ttft.stage.duration:output_return": {
  204. "sampleCount": 3,
  205. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  206. "bucketCounts": [0, 0, 0, 0, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
  207. "p50BucketEstimateMs": 42.5,
  208. "p95BucketEstimateMs": 455.0
  209. },
  210. "zcode.local_ttft.first_text.duration": {
  211. "sampleCount": 3,
  212. "boundsMs": [1, 5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 30000, 60000, 300000],
  213. "bucketCounts": [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0],
  214. "p50BucketEstimateMs": 3500.0,
  215. "p95BucketEstimateMs": 9250.0
  216. }
  217. },
  218. "arms": {
  219. "readAccessVerified": true,
  220. "region": "cn-beijing",
  221. "project": "arms-project-placeholder",
  222. "traceStore": "logstore-tracing",
  223. "metricStore": "metricstore-apm-metrics-custom",
  224. "newServiceSamples": 0,
  225. "controlledTtftIngestionVerified": false,
  226. "reason": "本机没有目标 OTLP 写入 endpoint/headers;平台新指标和瀑布图验收未完成。"
  227. }
  228. }