How can I configure xtprof module to profile only during test duration (not during ramp-up duration). #739
Replies: 1 comment 4 replies
-
Hi, Note that xtprof already includes the call count for all of the stored procedures - see "calls" below
Also if you use the XML connect pool option (designed for clusters but can use for single instance as well) each VU will individually report the number of transactions it did as well.
A PR for #233 is welcome. It would need to either set a tsv (thread shared variable - see existing code) that the VUs periodically check to flag when the rampup is finished before going package require on xtprof OR independently based on the rampup time, user delay value and VU position calculate their own rampup and wait until this is complete before doing package require,. |
Beta Was this translation helpful? Give feedback.
-
Hi HammerDB Team,
I've noticed that Xtprof profiles the procedures during the ramp-up phase as well as the test duration. However, I would like it to only profile the procedures during the actual test duration. Specifically, I want to track the count of queries (or the count of specific procedure calls) made during the test duration, such as the count of stock level queries/proc calls.
The challenge I'm facing is that I need to inform all the VUs from the monitor thread that the ramp-up time has completed, so then they start counting the procedure calls. If there is a better way to achieve this, please let me know.
Also, how can I configure or change Xtprof to accomplish this? Any guidance would be greatly appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions