Skip to content

Improve output of run@hyperfoil #14

@edeandrea

Description

@edeandrea

First, I'm not sure if this is the correct repository for this issue, so if it isn't, I'm sorry!

I'm trying to switch some of my benchmarks from wrk@hyperfoil to run@hyperfoil but am noticing some key differences in the outputs.

For wrk@hyperfoil I get something like this:

Running 20s test @ http://localhost:8080/fruits
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    15.68ms    3.57ms  55.31ms   89.33%
    Req/Sec   5821.67   1301.11  6192.00     95.24
  122255 requests in 20.001s, 659.01MB read
Requests/sec: 6112.44
Transfer/sec:  32.95MB

Similar to wrk@hyperfoil, if I run cli@hyperfoil and run the benchmark through that, then I get a nice report:

Started run 0023
Run 0023, benchmark app-load-test
Agents: in-vm[STOPPED]
Started: 2026/01/06 13:28:04.585    Terminated: 2026/01/06 13:30:34.591
NAME      STATUS      STARTED       REMAINING  COMPLETED     TOTAL DURATION                   DESCRIPTION
warmup    TERMINATED  13:28:04.585             13:30:13.673  129088 ms (exceeded by 9088 ms)  50 users always
loadTest  TERMINATED  13:30:04.587             13:30:34.591  30004 ms (exceeded by 4 ms)      50 users always

Total stats from run 0023
PHASE     METRIC    THROUGHPUT     REQUESTS  MEAN     STD_DEV    MAX       p50      p90      p99      p99.9     p99.99     TIMEOUTS  ERRORS  BLOCKED  2xx     3xx  4xx  5xx  CACHE
warmup    loadTest  5667.86 req/s    731820  4.00 ms  115.87 ms  30.06 s   3.16 ms  3.51 ms  7.27 ms  22.68 ms  235.93 ms       110     167     0 ns  731653    0    0    0      0
loadTest  loadTest  5877.05 req/s    176385  3.40 ms  175.83 ms  24.83 s   1.74 ms  3.23 ms  6.42 ms  17.04 ms   27.79 ms        30      50     0 ns  176335    0    0    0      0

Something like this would be nice at the end of run@hyperfoil too.

whereas when I run run@hyperfoil:

Loaded benchmark template app-load-test with these parameters (with defaults): 
NAME                DEFAULT
                    CURRENT (CONTEXT)
-
PATH                /fruits  
                    (not set)
-
PORT                8080     
                    (not set)
-
LOAD_DURATION       30s      
                    (not set)
-
PROTOCOL            http     
                    (not set)
-
HOST                localhost
                    (not set)
-
WARMUP_DURATION     2m       
                    (not set)
-
WARMUP_USERS        50       
                    (not set)
-
SHARED_CONNECTIONS  100      
                    (not set)
-
LOAD_USERS          50       
                    (not set)
-
Uploading...... done.
Started run 001E
Monitoring run 001E, benchmark app-load-test
Started:    2026/01/06 13:17:19.599
Terminated: 2026/01/06 13:17:50.622
Run statistics persisted in the local filesystem
Report written to hyperfoil-logs

Is there a way to have the run@hyperfoil output some of the summary when its done, similar to the way wrk@hyperfoil does? It also doesn't report the throughput either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions