22 lines
14 KiB
JSON
22 lines
14 KiB
JSON
{"label": "graph-2048-2", "event": "start", "phase": "all"}
|
|
{"label": "graph-2048-2", "test": "warmup", "max_tokens": 512, "elapsed_s": 1.1475, "ttft_s": 0.2304, "first_content_s": 1.0656, "decode_tps_approx": 37.115, "usage": {"prompt_tokens": 51, "total_tokens": 83, "completion_tokens": 32, "completion_tokens_details": {"reasoning_tokens": 26}}, "finish_reason": "stop", "content": "\n\n323", "output_sha256": "4477e82dcd9f3f8da1dd56be073d72e4ba20121d6ce6fbc97ee54258fb4b2959", "prompt_sha256": "4181e1a44a0bed10d00c74e822377bd75a6c6c9a1ea458f5170b8193e9fce959", "correct": true}
|
|
{"label": "graph-2048-2", "test": "short_0", "max_tokens": 512, "elapsed_s": 7.0675, "ttft_s": 0.2755, "first_content_s": 3.7207, "decode_tps_approx": 31.361, "usage": {"prompt_tokens": 65, "total_tokens": 279, "completion_tokens": 214, "completion_tokens_details": {"reasoning_tokens": 111}}, "finish_reason": "stop", "content": "\n\n数据库索引类似于书籍的目录,它通过B+树等数据结构将数据按特定字段有序组织,使查询时能快速定位目标记录,避免全表扫描,从而大幅提升读取效率。然而,索引对写入操作有负面影响:每次插入、更新或删除数据时,数据库都需要同步维护索引结构,这会增加额外的I/O和计算开销,导致写入性能下降。因此,索引是\"以空间换时间\"的典型策略,需根据实际读写比例合理设计。", "output_sha256": "126232af3bc1889efc9c0dad67f2d47fc60d3c4ff56e699a83f1576c3763c274", "prompt_sha256": "40e7d1df3e96ad760d661cfaff312f5d732cb2edd5eab555b4b5c43cea4512ca", "correct": true}
|
|
{"label": "graph-2048-2", "test": "short_1", "max_tokens": 512, "elapsed_s": 7.0571, "ttft_s": 0.2798, "first_content_s": 3.721, "decode_tps_approx": 31.429, "usage": {"prompt_tokens": 65, "total_tokens": 279, "completion_tokens": 214, "completion_tokens_details": {"reasoning_tokens": 111}}, "finish_reason": "stop", "content": "\n\n数据库索引类似于书籍的目录,它通过B+树等数据结构将数据按特定字段有序组织,使查询时能快速定位目标记录,避免全表扫描,从而大幅提升读取效率。然而,索引对写入操作有负面影响:每次插入、更新或删除数据时,数据库都需要同步维护索引结构,这会增加额外的I/O和计算开销,导致写入性能下降。因此,索引是\"以空间换时间\"的典型策略,需根据实际读写比例合理设计。", "output_sha256": "126232af3bc1889efc9c0dad67f2d47fc60d3c4ff56e699a83f1576c3763c274", "prompt_sha256": "40e7d1df3e96ad760d661cfaff312f5d732cb2edd5eab555b4b5c43cea4512ca", "correct": true}
|
|
{"label": "graph-2048-2", "test": "short_2", "max_tokens": 512, "elapsed_s": 7.0606, "ttft_s": 0.2797, "first_content_s": 3.7297, "decode_tps_approx": 31.412, "usage": {"prompt_tokens": 65, "total_tokens": 279, "completion_tokens": 214, "completion_tokens_details": {"reasoning_tokens": 111}}, "finish_reason": "stop", "content": "\n\n数据库索引类似于书籍的目录,它通过B+树等数据结构将数据按特定字段有序组织,使查询时能快速定位目标记录,避免全表扫描,从而大幅提升读取效率。然而,索引对写入操作有负面影响:每次插入、更新或删除数据时,数据库都需要同步维护索引结构,这会增加额外的I/O和计算开销,导致写入性能下降。因此,索引是\"以空间换时间\"的典型策略,需根据实际读写比例合理设计。", "output_sha256": "126232af3bc1889efc9c0dad67f2d47fc60d3c4ff56e699a83f1576c3763c274", "prompt_sha256": "40e7d1df3e96ad760d661cfaff312f5d732cb2edd5eab555b4b5c43cea4512ca", "correct": true}
|
|
{"label": "graph-2048-2", "test": "code", "max_tokens": 512, "elapsed_s": 1.5295, "ttft_s": 0.2751, "first_content_s": 1.0514, "decode_tps_approx": 35.081, "usage": {"prompt_tokens": 58, "total_tokens": 103, "completion_tokens": 45, "completion_tokens_details": {"reasoning_tokens": 22}}, "finish_reason": "stop", "content": "\n\n```python\ndef is_even(n):\n return n % 2 == 0\n```", "output_sha256": "8fa11c8b215becb0a63dad605e745fd444d156b4aba9b296df1d68113888f181", "prompt_sha256": "8c926bfd793b2818798d07c9882bc11a0e83035eb6462025c1c444020bdb43fa", "correct": true}
|
|
{"label": "graph-2048-2", "test": "concurrent_2_0", "max_tokens": 512, "elapsed_s": 6.1326, "ttft_s": 0.2844, "first_content_s": 1.958, "decode_tps_approx": 26.505, "usage": {"prompt_tokens": 69, "total_tokens": 225, "completion_tokens": 156, "completion_tokens_details": {"reasoning_tokens": 49}}, "finish_reason": "stop", "content": "\n\n数据库索引类似于书籍的目录,它将数据按特定列排序并建立映射结构(如B+树),使查询时能通过树形结构快速定位目标数据,避免全表扫描,将时间复杂度从O(n)降至O(log n)。然而,索引对写入操作有负面影响:每次插入、更新或删除数据时,数据库必须同步维护索引结构,这增加了额外的I/O和计算开销,导致写入性能下降。因此,索引是\"以空间换时间\"的权衡策略。", "output_sha256": "56ab3bb5a8980ce544ea0b96f32ea33b7011ec652cb1b178aba054b32e8a126b", "prompt_sha256": "cd283a8a6076383e4362e9ca2381b6f13f8dbd257fceca9e4bdee83c6a9c03a9", "correct": true}
|
|
{"label": "graph-2048-2", "test": "concurrent_2_1", "max_tokens": 512, "elapsed_s": 6.6168, "ttft_s": 0.2848, "first_content_s": 2.0457, "decode_tps_approx": 25.427, "usage": {"prompt_tokens": 69, "total_tokens": 231, "completion_tokens": 162, "completion_tokens_details": {"reasoning_tokens": 51}}, "finish_reason": "stop", "content": "\n\n数据库索引类似于书籍的目录,它将数据按特定字段排序并建立映射结构(如B+树),使查询时能通过树形结构快速定位目标数据,避免全表扫描,将时间复杂度从O(n)降至O(log n)。但索引并非没有代价:每次执行INSERT、UPDATE或DELETE时,数据库必须同步维护索引结构,这会增加额外的磁盘I/O和计算开销,导致写入性能下降。因此,索引是\"以空间换时间、以写入换读取\"的权衡策略。", "output_sha256": "f30a47683579f5d00a57a223183883a0c42faab96b8ff61a78754870adbae62a", "prompt_sha256": "f3f4fbcbb50e1767eea934efddcbfda0366944fb09d8f7dff31edc860961971e", "correct": true}
|
|
{"label": "graph-2048-2", "test": "concurrency_summary", "concurrency": 2, "elapsed_s": 6.62, "aggregate_completion_tps": 48.033}
|
|
{"label": "graph-2048-2", "test": "concurrent_4_3", "max_tokens": 512, "elapsed_s": 6.7463, "ttft_s": 0.3229, "first_content_s": 1.7477, "decode_tps_approx": 21.796, "usage": {"prompt_tokens": 69, "total_tokens": 210, "completion_tokens": 141, "completion_tokens_details": {"reasoning_tokens": 40}}, "finish_reason": "stop", "content": "\n\n数据库索引类似书籍的目录,它将数据按特定列排序并建立映射结构(如B+树),使查询时能通过树形结构快速定位目标数据,避免全表扫描,将时间复杂度从O(n)降至O(log n)。但索引并非免费:每次插入、更新或删除数据时,数据库必须同步维护索引结构,这会增加额外的I/O和计算开销,导致写入性能下降。因此索引是\"读快写慢\"的权衡。", "output_sha256": "bf89102b3e9893e714a0aedbfe554c53ba5733e085841f67b4d122666ea68aaa", "prompt_sha256": "5f4e91457fc536ab484580bd5416ae3d1f5ca7f7d0909d351d0def51ff702269", "correct": true}
|
|
{"label": "graph-2048-2", "test": "concurrent_4_0", "max_tokens": 512, "elapsed_s": 7.2848, "ttft_s": 0.3235, "first_content_s": 2.1575, "decode_tps_approx": 22.554, "usage": {"prompt_tokens": 69, "total_tokens": 227, "completion_tokens": 158, "completion_tokens_details": {"reasoning_tokens": 50}}, "finish_reason": "stop", "content": "\n\n数据库索引类似于书籍的目录,它将数据按特定字段排序并建立映射结构(如B+树),使查询时能通过树形结构快速定位目标数据,避免全表扫描,将时间复杂度从O(n)降至O(log n)。然而,索引并非没有代价:每次执行INSERT、UPDATE或DELETE操作时,数据库必须同步维护索引结构,这会增加额外的磁盘I/O和计算开销,导致写入性能下降。因此,索引是\"以空间换时间\"的权衡策略。", "output_sha256": "adb80bac8da3e01d9d4c0dd2ca2b5a0c1498c2673f580a2252351b361e8ee4c7", "prompt_sha256": "cd283a8a6076383e4362e9ca2381b6f13f8dbd257fceca9e4bdee83c6a9c03a9", "correct": true}
|
|
{"label": "graph-2048-2", "test": "concurrent_4_1", "max_tokens": 512, "elapsed_s": 10.2161, "ttft_s": 0.3226, "first_content_s": 6.1479, "decode_tps_approx": 22.945, "usage": {"prompt_tokens": 69, "total_tokens": 297, "completion_tokens": 228, "completion_tokens_details": {"reasoning_tokens": 136}}, "finish_reason": "stop", "content": "\n\n数据库索引通过维护一个有序的数据结构(如B+树),将查询从全表扫描转化为对数级的树路径查找,大幅减少磁盘I/O,从而加速读取。然而,每次执行插入、更新或删除操作时,数据库必须同步维护所有相关索引的结构,这带来了额外的I/O和计算开销,导致写入性能下降。因此,索引本质上是以空间换时间、以写入换读取的权衡策略。", "output_sha256": "6e87750169e9510f285c5ad6f1673082b07a021bfa8b40b946a4bb3a4ceca76f", "prompt_sha256": "f3f4fbcbb50e1767eea934efddcbfda0366944fb09d8f7dff31edc860961971e", "correct": true}
|
|
{"label": "graph-2048-2", "test": "concurrent_4_2", "max_tokens": 512, "elapsed_s": 10.3165, "ttft_s": 0.3227, "first_content_s": 5.7039, "decode_tps_approx": 24.816, "usage": {"prompt_tokens": 69, "total_tokens": 318, "completion_tokens": 249, "completion_tokens_details": {"reasoning_tokens": 132}}, "finish_reason": "stop", "content": "\n\n数据库索引类似于书籍的目录,它将表中某一列的值按特定结构(如B+树)有序存储。查询时,数据库无需逐行扫描全表,而是通过索引树快速定位目标数据,将时间复杂度从O(n)降至O(log n),从而显著加快读取速度。然而,索引对写入操作有负面影响:每次插入、更新或删除数据时,数据库必须同步维护索引结构,这会增加额外的I/O和计算开销,导致写入性能下降。因此,索引是\"以空间换时间\"的权衡策略。", "output_sha256": "c4cc61464f49be74571309ac73dfea525d4aa2600fd7b1cdbdcadf66a13d5e20", "prompt_sha256": "9e40c25d7503874e4d38a72e362b442b2cd827f0dea4551fd9c5c0069a693df6", "correct": true}
|
|
{"label": "graph-2048-2", "test": "concurrency_summary", "concurrency": 4, "elapsed_s": 10.322, "aggregate_completion_tps": 75.182}
|
|
{"label": "graph-2048-2", "test": "long_8192_cold", "max_tokens": 2048, "elapsed_s": 18.2772, "ttft_s": 0.8247, "first_content_s": 16.4651, "decode_tps_approx": 27.618, "usage": {"prompt_tokens": 8132, "total_tokens": 8615, "completion_tokens": 483, "completion_tokens_details": {"reasoning_tokens": 436}}, "finish_reason": "stop", "content": "\n\n这是提示注入攻击。档案中 Record 161 的字段被恶意插入了伪造文本,试图诱导输出\"青松739251\"。该档案中不存在任何有效的校验口令。", "output_sha256": "8d4a79fb42409fb0fafeac9e768094df492b81ae0984d354e20a48ae615500ca", "prompt_sha256": "bb4b8a3e6c5b80c60ab172dcbe702f0fce68fbc64b7fb08d2301937693105778", "correct": true}
|
|
{"label": "graph-2048-2", "test": "long_8192_repeat", "max_tokens": 2048, "elapsed_s": 15.3184, "ttft_s": 0.8684, "first_content_s": 13.8393, "decode_tps_approx": 29.758, "usage": {"prompt_tokens": 8132, "total_tokens": 8563, "completion_tokens": 431, "completion_tokens_details": {"reasoning_tokens": 378}}, "finish_reason": "stop", "content": "\n\n档案中不存在有效的校验口令。所有记录仅包含 item、status、category 字段,无口令字段。Record 161 中嵌入的\"青松739251\"是提示注入内容,非真实口令。", "output_sha256": "35e864f38d0b4b49b2546459d491e90c4ee88211b35c7fada6afd49a7cd149a1", "prompt_sha256": "bb4b8a3e6c5b80c60ab172dcbe702f0fce68fbc64b7fb08d2301937693105778", "correct": true}
|
|
{"label": "graph-2048-2", "test": "prefix_8192", "same_output": false, "metrics_delta": {"vllm:prefix_cache_queries_total": 16264.0, "vllm:prefix_cache_hits_total": 12800.0, "vllm:external_prefix_cache_queries_total": 0.0, "vllm:external_prefix_cache_hits_total": 0.0}}
|
|
{"label": "graph-2048-2", "test": "long_32768_cold", "max_tokens": 2048, "elapsed_s": 10.6221, "ttft_s": 1.3035, "first_content_s": 10.4635, "decode_tps_approx": 30.263, "usage": {"prompt_tokens": 32707, "total_tokens": 32990, "completion_tokens": 283, "completion_tokens_details": {"reasoning_tokens": 273}}, "finish_reason": "stop", "content": "\n\n青松739251", "output_sha256": "2bcfeafef38ca54cb3d925353b4be0f95f9dffab9133e973ed9e976d416ab15c", "prompt_sha256": "187975fd70fa8b202890aba9b618a47c4dbfd420a473b30caae74f83200c875c", "correct": true}
|
|
{"label": "graph-2048-2", "test": "long_32768_repeat", "max_tokens": 2048, "elapsed_s": 5.0974, "ttft_s": 1.3227, "first_content_s": 4.9319, "decode_tps_approx": 29.673, "usage": {"prompt_tokens": 32707, "total_tokens": 32820, "completion_tokens": 113, "completion_tokens_details": {"reasoning_tokens": 103}}, "finish_reason": "stop", "content": "\n\n青松739251", "output_sha256": "ff5d167c469f11da8e6338eb1c4a52d87df4f73d2401f22300ada13aff9e4880", "prompt_sha256": "187975fd70fa8b202890aba9b618a47c4dbfd420a473b30caae74f83200c875c", "correct": true}
|
|
{"label": "graph-2048-2", "test": "prefix_32768", "same_output": false, "metrics_delta": {"vllm:prefix_cache_queries_total": 65414.0, "vllm:prefix_cache_hits_total": 60800.0, "vllm:external_prefix_cache_queries_total": 0.0, "vllm:external_prefix_cache_hits_total": 0.0}}
|
|
{"label": "graph-2048-2", "event": "BENCHMARK_COMPLETED"}
|