[Perf] Perf framework should allow last in-flight operation to complete #21635
Labels
Central-EngSys
This issue is owned by the Engineering System team.
Client
This issue points to a problem in the data-plane of the library.
pillar-performance
The issue is related to performance, one of our core engineering pillars.
Ideally, the Java perf framework should allow the last in-flight operation to complete. For example, say
duration = 1
but each operation takes 5 seconds to complete. Ideally, the perf framework should run for 5 seconds and report throughput of 0.2 ops/sec. However, the perf framework currently terminates immediately when the duration expires, due to the use ofFlux.take(duration
):azure-sdk-for-java/common/perf-test-core/src/main/java/com/azure/perf/test/core/PerfStressProgram.java
Lines 245 to 253 in a043bdd
Here's what we want this code to do:
The text was updated successfully, but these errors were encountered: