Skip to content

Instantly share code, notes, and snippets.

@jaboulos
Last active March 16, 2019 01:19
Show Gist options
  • Save jaboulos/94fe46355b8f39be692c4eb63fc09b7d to your computer and use it in GitHub Desktop.
Save jaboulos/94fe46355b8f39be692c4eb63fc09b7d to your computer and use it in GitHub Desktop.

Revisions

  1. jaboulos renamed this gist Mar 16, 2019. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions artillery.js → artillery2.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,17 @@
    //config file
    config:
    target: 'http://localhost:3001'
    phases:
    - duration: 60
    arrivalRate: 100
    scenarios:
    - flow:
    - get:
    url: "/menu-users"


    //artillery test results

    Joes-MacBook-Pro:twitch-proxy joeboulos$ artillery quick --count 100 -n 100 http://127.0.0.1:3010/
    Started phase 0, duration: 2s @ 17:35:15(-0700) 2019-03-15
    Report @ 17:35:25(-0700) 2019-03-15
  2. jaboulos revised this gist Mar 16, 2019. 1 changed file with 38 additions and 48 deletions.
    86 changes: 38 additions & 48 deletions artillery.js
    Original file line number Diff line number Diff line change
    @@ -1,63 +1,53 @@
    Joes-MacBook-Pro:twitch-proxy joeboulos$ artillery quick --count 1000 -n 10 http://127.0.0.1:3010
    Started phase 0, duration: 20s @ 17:18:14(-0700) 2019-03-15
    Report @ 17:18:24(-0700) 2019-03-15
    Scenarios launched: 499
    Scenarios completed: 493
    Requests completed: 4950
    RPS sent: 494.61
    Joes-MacBook-Pro:twitch-proxy joeboulos$ artillery quick --count 100 -n 100 http://127.0.0.1:3010/
    Started phase 0, duration: 2s @ 17:35:15(-0700) 2019-03-15
    Report @ 17:35:25(-0700) 2019-03-15
    Scenarios launched: 100
    Scenarios completed: 56
    Requests completed: 9665
    RPS sent: 967.93
    Request latency:
    min: 0.5
    max: 30.7
    median: 0.7
    p95: 4
    p99: 11
    min: 4
    max: 109.5
    median: 54.2
    p95: 81.3
    p99: 101.2
    Codes:
    200: 4950
    200: 9665

    Warning:
    CPU usage of Artillery seems to be very high (pids: 59079)
    CPU usage of Artillery seems to be very high (pids: 59363)
    which may severely affect its performance.
    See https://artillery.io/docs/faq/#high-cpu-warnings for details.

    Report @ 17:18:34(-0700) 2019-03-15
    Scenarios launched: 501
    Scenarios completed: 507
    Requests completed: 5050
    RPS sent: 503.89
    Request latency:
    min: 0.5
    max: 123.1
    median: 0.7
    p95: 16
    p99: 50
    Codes:
    200: 5050

    Report @ 17:18:34(-0700) 2019-03-15
    Report @ 17:35:26(-0700) 2019-03-15
    Scenarios launched: 0
    Scenarios completed: 0
    Requests completed: 0
    RPS sent: NaN
    Scenarios completed: 44
    Requests completed: 335
    RPS sent: 575.93
    Request latency:
    min: NaN
    max: NaN
    median: NaN
    p95: NaN
    p99: NaN
    min: 0.6
    max: 115.4
    median: 18.6
    p95: 100.1
    p99: 115.3
    Codes:
    200: 335

    All virtual users finished
    Summary report @ 17:18:35(-0700) 2019-03-15
    Scenarios launched: 1000
    Scenarios completed: 1000
    Summary report @ 17:35:26(-0700) 2019-03-15
    Scenarios launched: 100
    Scenarios completed: 100
    Requests completed: 10000
    RPS sent: 488.28
    RPS sent: 943.4
    Request latency:
    min: 0.5
    max: 123.1
    median: 0.7
    p95: 11.3
    p99: 23.8
    min: 0.6
    max: 115.4
    median: 53.2
    p95: 81.4
    p99: 101.4
    Scenario counts:
    0: 1000 (100%)
    0: 100 (100%)
    Codes:
    200: 10000
    200: 10000

    Joes-MacBook-Pro:twitch-proxy joeboulos$
  3. jaboulos created this gist Mar 16, 2019.
    63 changes: 63 additions & 0 deletions artillery.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,63 @@
    Joes-MacBook-Pro:twitch-proxy joeboulos$ artillery quick --count 1000 -n 10 http://127.0.0.1:3010
    Started phase 0, duration: 20s @ 17:18:14(-0700) 2019-03-15
    Report @ 17:18:24(-0700) 2019-03-15
    Scenarios launched: 499
    Scenarios completed: 493
    Requests completed: 4950
    RPS sent: 494.61
    Request latency:
    min: 0.5
    max: 30.7
    median: 0.7
    p95: 4
    p99: 11
    Codes:
    200: 4950

    Warning:
    CPU usage of Artillery seems to be very high (pids: 59079)
    which may severely affect its performance.
    See https://artillery.io/docs/faq/#high-cpu-warnings for details.

    Report @ 17:18:34(-0700) 2019-03-15
    Scenarios launched: 501
    Scenarios completed: 507
    Requests completed: 5050
    RPS sent: 503.89
    Request latency:
    min: 0.5
    max: 123.1
    median: 0.7
    p95: 16
    p99: 50
    Codes:
    200: 5050

    Report @ 17:18:34(-0700) 2019-03-15
    Scenarios launched: 0
    Scenarios completed: 0
    Requests completed: 0
    RPS sent: NaN
    Request latency:
    min: NaN
    max: NaN
    median: NaN
    p95: NaN
    p99: NaN

    All virtual users finished
    Summary report @ 17:18:35(-0700) 2019-03-15
    Scenarios launched: 1000
    Scenarios completed: 1000
    Requests completed: 10000
    RPS sent: 488.28
    Request latency:
    min: 0.5
    max: 123.1
    median: 0.7
    p95: 11.3
    p99: 23.8
    Scenario counts:
    0: 1000 (100%)
    Codes:
    200: 10000