Skip to main content

Benchmark & Profile Lab

info
  • UI entry: Benchmark and Profile tools in the Workspace Tools panel
  • Benchmark target: A request file or workflow path
  • Profile target: A request file or resolved URL
  • Results: Displayed in the UI and sent to the Live Console and response panel

Overview​

The Benchmark & Profile Lab provides two different performance tools:

  • Benchmark Laboratory runs the same request or workflow many times with a configurable concurrency limit.
  • Performance Profile sends one request and breaks its network time into connection phases.

Use the benchmark for throughput and latency distributions. Use the profiler to understand where one request spends time.


1. Benchmark Laboratory​

The Benchmark Laboratory opens with the selected request or workflow shown beside the Benchmark Laboratory title. Before starting, configure the workload in Execution Strategy.

Execution settings​

SettingDescription
Total IterationsThe total number of request or workflow executions. The slider supports 10 to 10,000 iterations.
Concurrency LevelThe maximum number of parallel workers. It cannot be greater than the iteration count.
Target EnvironmentThe environment file used for the workload, or Implicit / Merged Environment (Default) when no file is selected.

You can use the sliders or enter numeric values directly. When the iteration count is reduced below the current concurrency, Rumour lowers concurrency to match it.

Variable overrides​

Use Add Row in Variable Overrides to provide values for placeholders that must remain the same for every benchmark iteration.

  1. Select Add Row.
  2. Enter the placeholder name in Key.
  3. Enter its test value in Value.
  4. Add more rows or remove a row with the delete button.

Overrides are passed to each benchmark execution. They are especially important for authentication tokens, IDs, or other values that would normally be produced by an upstream request.

Starting a benchmark​

  1. Select the total iterations and concurrency.
  2. Choose a target environment if needed.
  3. Add static variable overrides for required placeholders.
  4. Select Start Benchmark.
  5. Monitor progress in the UI and Live Console.

While the benchmark is running, the button changes to Running Stress Test.... The progress area shows elapsed time, worker count, target request count, and—when progress events are available—completed iterations and percentage.

The Live Console records the target, workload strategy, environment, and any variable overrides. It also reports throughput, average latency, P99 latency, and stability when the benchmark completes.

Benchmark results​

After completion, the results include:

  • P99 Latency: The 99th-percentile observed duration.
  • Throughput: Requests per second for the complete workload.
  • Average: Mean duration of recorded iterations.
  • Stability: Successful iterations as a percentage of total iterations.
  • Latency Distribution: A histogram of latency buckets when there is enough variance.
  • Percentiles: P50 (median), P90, and P99.
  • Minimum and Maximum: The shortest and longest recorded durations.

The detailed result also reports total requests, successful requests, failed requests, and total elapsed time.

Benchmark execution model​

The backend creates one asynchronous task per iteration and uses a semaphore to enforce the concurrency limit. Each task receives a fresh runtime-variable map. A request-file target runs the request directly; a directory or workflow target runs through the workflow engine with parallel execution enabled.

The benchmark is intended for stateless load testing. It does not execute a dependency chain once and then share newly extracted variables between iterations. If the target uses a value such as {{token}} or {{created_id}}, supply a stable value in Variable Overrides.

Benchmark failures are counted in the failure total. If no iteration produces a duration, the benchmark returns an error instead of producing an empty report.


2. Performance Profile​

The Performance Profile tool measures one network request. It can profile a request file or a direct URL.

When a request file is used, Rumour:

  1. Reads the request.url value from the TOML file.
  2. Loads inherited collection values and parameters.
  3. Loads merged environment values.
  4. Loads request-local variables.
  5. Replaces supported {{variable}} and {variable} placeholders.
  6. Sends the resolved URL with a ten-second timeout.

If base_url is still unresolved, the profiler uses Rumour's development fallback URL. Other unresolved placeholders can cause the request to fail.

The profile starts automatically when the tool opens. Select Re-Profile to run it again after changing the target or network conditions.

Profile summary​

The result cards show:

  • Total Time: Complete measured round trip.
  • HTTP Status: The response status code.
  • Request size: Estimated request header and body size.
  • Response size: Bytes received in the response body.

Latency waterfall​

The Latency Waterfall Timeline displays these sequential phases:

PhaseMeaning
DNS LookupResolving the host name to an address.
TCP Connection HandshakeEstablishing the network socket.
TLS HandshakeNegotiating HTTPS security, when applicable.
Time to First ByteWaiting for the first response byte after connection setup.
Content DownloadReceiving the remaining response body.

Each phase shows its duration and its percentage of total time. The stacked bar provides a visual comparison of the phases.

If profiling fails, the UI shows an error toast and writes the failure to the Live Console. Common causes include an unreadable request file, invalid TOML, an unresolved URL, a timeout, or an unavailable network target.


Choosing the right tool​

GoalUse
Measure throughput under repeated loadBenchmark Laboratory
Compare average, median, and tail latencyBenchmark Laboratory
Test a request with fixed placeholder valuesBenchmark Laboratory with Variable Overrides
Find DNS, TCP, TLS, server-wait, or download delayPerformance Profile
Inspect one response status and payload sizePerformance Profile

Limitations​

  • Benchmark results depend on the selected iteration count, concurrency, environment, network, and target server.
  • Benchmark iterations are isolated and do not provide dynamic values from one iteration to another.
  • The benchmark does not provide a duration-based test mode or ramp-up schedule.
  • Profile results describe one request and do not provide historical comparisons or flame charts.
  • Request size in the profile report is an estimate; response size is measured from the returned body.
  • The tools do not export a separate JSON or HTML performance report from their UI.