Skip to content
Snippets Groups Projects
Select Git revision
  • 78b192353bb5680e80be64229282ca87782049fa
  • consistent_config default protected
2 results

cycled_exp.py

Blame
  • test_heap.sh 412 B
    #!/bin/bash
    CALLS=${CALLS:-1000}
    CONCURRENCY=${CONCURRENCY:-10}
    ENDPOINT=${ENDPOINT:-http://localhost}
    
    echo "[DEBUG] Testing endpoint: ${ENDPOINT} x${CALLS} (concurrency ${CONCURRENCY})"
    ab -n "${CALLS}" -c "${CONCURRENCY}" "${ENDPOINT}/"
    ab -n "${CALLS}" -c "${CONCURRENCY}" "${ENDPOINT}/search"
    ab -n "${CALLS}" -c "${CONCURRENCY}" "${ENDPOINT}/login"
    ab -n "${CALLS}" -c "${CONCURRENCY}" "${ENDPOINT}/signup"