Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12345678910111213141516171819202122232425262728293031323334353637
  1. # Locust configuration file for Dify SSE benchmark
  2. # Target host
  3. host = http://localhost:5001
  4. # Number of users to simulate
  5. users = 10
  6. # Spawn rate (users per second)
  7. spawn-rate = 2
  8. # Run time (use format like 30s, 5m, 1h)
  9. run-time = 1m
  10. # Locustfile to use
  11. locustfile = scripts/stress-test/sse_benchmark.py
  12. # Headless mode (no web UI)
  13. headless = true
  14. # Print stats in the console
  15. print-stats = true
  16. # Only print summary stats
  17. only-summary = false
  18. # Reset statistics after ramp-up
  19. reset-stats = false
  20. # Log level
  21. loglevel = INFO
  22. # CSV output (uncomment to enable)
  23. # csv = reports/locust_results
  24. # HTML report (uncomment to enable)
  25. # html = reports/locust_report.html