Files
llm-in-text/backend/api_performance_report.md
ydy0615 46494d2089 docs: update API performance report
更新API性能基准测试报告,反映最新的测试结果和错误状态。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-07 12:46:45 +08:00

4.6 KiB

API Benchmarking Report (2026-04-06 13:45:31)

Base URL: https://api.imageteach.tech:8002

Executive Summary

Task Success Rate Avg TTFB Avg Latency P95 Latency TPS RPS
Completion-Short 90.0% 9123.6ms 9123.8ms 20222.9ms 7.9 0.08
Completion-Normal 10.0% 10559.3ms 10559.6ms 10559.6ms 66.4 0.66
Completion-Long 0.0% 0.0ms 0.0ms 0.0ms 0.0 8.97
OCR-Concurrent 0.0% 0.0ms 0.0ms 0.0ms 0.0 6.75
TTS-Concurrent 0.0% 0.0ms 0.0ms 0.0ms 0.0 10.17
ASR-Concurrent 0.0% 0.0ms 0.0ms 0.0ms 0.0 13.02
Convert-Concurrent 0.0% 0.0ms 0.0ms 0.0ms 0.0 5.98

Stability & Context Analysis

Detailed analysis of how context length affects TTFB and overall performance.

Completion-Short Details

  • Total Samples: 10
  • Duration: 123.93s
  • Top Errors:
    • [0]

Completion-Normal Details

  • Total Samples: 10
  • Duration: 15.21s
  • Top Errors:
    • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>

Completion-Long Details

  • Total Samples: 10
  • Duration: 1.11s
  • Top Errors:
    • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>

OCR-Concurrent Details

  • Total Samples: 10
  • Duration: 1.48s
  • Top Errors:
    • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>

TTS-Concurrent Details

  • Total Samples: 10
  • Duration: 0.98s
  • Top Errors:
    • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>

ASR-Concurrent Details

  • Total Samples: 10
  • Duration: 0.77s
  • Top Errors:
    • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>

Convert-Concurrent Details

  • Total Samples: 10
  • Duration: 1.67s
  • Top Errors:
    • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>
  • [502] <html>
<head></head>

502 Bad Gateway


openresty </html>