# 08 Overhead: same jar family, same endpoints, 4 client threads, 5000 warm-up + 8000 measured requests x 3 rounds
# JDK 25.0.5.1, 2 vCPU shared by app, OTLP sink and load driver. Indicative only.

== baseline: plain jar, no instrumentation
CPU consumed by the JVM from process start to ready (+4 s idle): 6090 ms
Started OrdersApplication in 2.639 seconds (process running for 2.971)
-- GET /ping
round 1:   2240 req/s  p50   872 us  p99   9240 us
round 2:   4647 req/s  p50   467 us  p99   6024 us
round 3:   7602 req/s  p50   313 us  p99   4336 us
app CPU per request: 206 us  (utime+stime of the app JVM only, 24000 requests)
-- GET /orders/1
round 1:   1025 req/s  p50  3117 us  p99  12533 us
round 2:   1627 req/s  p50  1824 us  p99   9003 us
round 3:   2864 req/s  p50  1220 us  p99   5087 us
app CPU per request: 791 us  (utime+stime of the app JVM only, 24000 requests)
-- RSS after the run: 310 MiB

== agent, all spans sampled
CPU consumed by the JVM from process start to ready (+4 s idle): 13920 ms
Started OrdersApplication in 3.393 seconds (process running for 7.212)
-- GET /ping
round 1:   1539 req/s  p50  1589 us  p99  11298 us
round 2:   2502 req/s  p50   861 us  p99   8897 us
round 3:   5087 req/s  p50   393 us  p99   5911 us
app CPU per request: 365 us  (utime+stime of the app JVM only, 24000 requests)
-- GET /orders/1
round 1:    710 req/s  p50  4562 us  p99  18314 us
round 2:    953 req/s  p50  3059 us  p99  14901 us
round 3:   1217 req/s  p50  2038 us  p99  15006 us
app CPU per request: 1253 us  (utime+stime of the app JVM only, 24000 requests)
-- RSS after the run: 422 MiB

== micrometer starter, all spans sampled
CPU consumed by the JVM from process start to ready (+4 s idle): 8760 ms
Started OrdersApplication in 3.765 seconds (process running for 4.238)
-- GET /ping
round 1:   1800 req/s  p50  1300 us  p99  10657 us
round 2:   2775 req/s  p50   766 us  p99   9238 us
round 3:   4193 req/s  p50   426 us  p99   7682 us
app CPU per request: 368 us  (utime+stime of the app JVM only, 24000 requests)
-- GET /orders/1
round 1:    898 req/s  p50  2886 us  p99  18366 us
round 2:   1075 req/s  p50  2155 us  p99  17843 us
round 3:   1660 req/s  p50  1369 us  p99  13317 us
app CPU per request: 937 us  (utime+stime of the app JVM only, 24000 requests)
-- RSS after the run: 467 MiB

== agent, 10% sampling
CPU consumed by the JVM from process start to ready (+4 s idle): 13900 ms
Started OrdersApplication in 3.557 seconds (process running for 6.947)
-- GET /ping
round 1:   1903 req/s  p50  1261 us  p99   8751 us
round 2:   3080 req/s  p50   815 us  p99   6476 us
round 3:   4395 req/s  p50   506 us  p99   5679 us
app CPU per request: 345 us  (utime+stime of the app JVM only, 24000 requests)
-- GET /orders/1
round 1:    730 req/s  p50  4706 us  p99  15682 us
round 2:   1337 req/s  p50  2297 us  p99  10480 us
round 3:   1978 req/s  p50  1539 us  p99   8297 us
app CPU per request: 1267 us  (utime+stime of the app JVM only, 24000 requests)
-- RSS after the run: 415 MiB

== micrometer starter, 10% sampling
CPU consumed by the JVM from process start to ready (+4 s idle): 7850 ms
Started OrdersApplication in 3.336 seconds (process running for 3.694)
-- GET /ping
round 1:   1607 req/s  p50  1635 us  p99  10174 us
round 2:   3176 req/s  p50   736 us  p99   7275 us
round 3:   4997 req/s  p50   413 us  p99   5595 us
app CPU per request: 326 us  (utime+stime of the app JVM only, 24000 requests)
-- GET /orders/1
round 1:    856 req/s  p50  3859 us  p99  16063 us
round 2:   1451 req/s  p50  2154 us  p99   9741 us
round 3:   1770 req/s  p50  1809 us  p99   8160 us
app CPU per request: 1076 us  (utime+stime of the app JVM only, 24000 requests)
-- RSS after the run: 334 MiB

== micrometer starter + JDBC observation, all spans sampled
CPU consumed by the JVM from process start to ready (+4 s idle): 9380 ms
Started OrdersApplication in 3.959 seconds (process running for 4.405)
-- GET /ping
round 1:   2018 req/s  p50  1117 us  p99   9328 us
round 2:   3270 req/s  p50   586 us  p99   9113 us
round 3:   5052 req/s  p50   323 us  p99   7483 us
app CPU per request: 317 us  (utime+stime of the app JVM only, 24000 requests)
-- GET /orders/1
round 1:    646 req/s  p50  5076 us  p99  20246 us
round 2:   1054 req/s  p50  2731 us  p99  15085 us
round 3:   1467 req/s  p50  1636 us  p99  14121 us
app CPU per request: 1190 us  (utime+stime of the app JVM only, 24000 requests)
-- RSS after the run: 462 MiB
