Skip to content

Conversation

@teleivo
Copy link
Contributor

@teleivo teleivo commented Jan 26, 2026

Add output summary with clickable file:// URIs for local test runs. When running performance tests locally, terminals
that support hyperlinks allow you to click directly to open:

  • Gatling HTML report
  • Gatling CSV data
  • Profiler flamegraph (when profiling enabled)
  • pgbadger SQL analysis (when SQL logging enabled)

(and consolidate verbose output into single status lines (Saving profiler data... done))

example

WARMUP=0 \
MVN_ARGS="-Drepeat=1" \
CAPTURE_SQL_LOGS=true \
PROF_ARGS="-e cpu" \
DHIS2_IMAGE=dhis2/core-dev:latest \
SIMULATION_CLASS=org.hisp.dhis.test.tracker.TrackerTest ./run-simulation.sh

...
Saving profiler data... done
Saving SQL logs... done
Processing profiler data... done
Generating SQL report (pgbadger)... done
Generating run metadata... done
Converting Gatling logs (glog)... done

Cleaning up containers...

========================================
Output
========================================

/home/ivo/code/dhis2/core/dhis-2/dhis-test-performance/target/gatling/trackertest-20260127094920997

Gatling report        file:///home/ivo/code/dhis2/core/dhis-2/dhis-test-performance/target/gatling/trackertest-20260127094920997/index.html
Gatling data          file:///home/ivo/code/dhis2/core/dhis-2/dhis-test-performance/target/gatling/trackertest-20260127094920997/simulation.csv
Profiler flamegraph   file:///home/ivo/code/dhis2/core/dhis-2/dhis-test-performance/target/gatling/trackertest-20260127094920997/profile.html
SQL analysis          file:///home/ivo/code/dhis2/core/dhis-2/dhis-test-performance/target/gatling/trackertest-20260127094920997/pgbadger.html

✗ Test for dhis2/core-dev:latest failed

@teleivo teleivo force-pushed the DHIS2-19797-run-output branch from 8eff4e3 to 178ecd1 Compare January 26, 2026 15:18
@teleivo teleivo marked this pull request as ready for review January 27, 2026 09:51
@teleivo teleivo requested review from a team January 27, 2026 09:51
@sonarqubecloud
Copy link

@teleivo teleivo merged commit 173faf0 into master Jan 27, 2026
16 checks passed
@teleivo teleivo deleted the DHIS2-19797-run-output branch January 27, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants