config.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "benchmarkRepository": "https://github.com/KonghaYao/harness-perf-benchmark",
  3. "benchmarkRevision": "8ad1e09f7653d7e97b83b4f5b4d347ca2fa129c7",
  4. "warmups": 1,
  5. "repetitions": 3,
  6. "intervalMs": 100,
  7. "maxSpread": 0.3,
  8. "suites": {
  9. "basic": ["upstream-100"],
  10. "full": ["startup", "upstream-100", "history-300"]
  11. },
  12. "thresholds": {
  13. "durationMs": {
  14. "relative": 0.25,
  15. "absolute": 1000
  16. },
  17. "cpuSeconds": {
  18. "relative": 0.2,
  19. "absolute": 0.5
  20. },
  21. "rssBytes": {
  22. "relative": 0.2,
  23. "absolute": 33554432
  24. }
  25. },
  26. "scenarios": [
  27. {
  28. "id": "startup",
  29. "turns": 1,
  30. "bodyKb": 0,
  31. "chunkSize": 64,
  32. "timeoutMs": 60000
  33. },
  34. {
  35. "id": "upstream-100",
  36. "turns": 100,
  37. "bodyKb": 4,
  38. "chunkSize": 64,
  39. "timeoutMs": 180000
  40. },
  41. {
  42. "id": "history-300",
  43. "turns": 300,
  44. "bodyKb": 8,
  45. "chunkSize": 64,
  46. "timeoutMs": 360000,
  47. "contextWindow": 2000000,
  48. "minimumTextUnits": 1048577
  49. }
  50. ]
  51. }