Skip to content

Instantly share code, notes, and snippets.

@jeonguk
Created December 25, 2018 06:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeonguk/7aaf9b58f5f87f9db559f19f623a7940 to your computer and use it in GitHub Desktop.
Save jeonguk/7aaf9b58f5f87f9db559f19f623a7940 to your computer and use it in GitHub Desktop.
wrk options

wrk -t 12 -c 40 -d 30s http://localhost:8080/index.html

-t : 쓰레드 갯수
-c : 동접 갯수
-d : 테스트 시간
-s : Lua 스크립트를 실행할 수 있다.
  • 12개의 스레드로 40개의 연결을 유지하면서 30초 동안 localhost:8080/index.html 문서를 요청한다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment