Is there a buffer feature for performance tests?

2 posts / 0 new
Last post
Offline
Last seen: 2 weeks 6 days ago
Joined: 02/15/2019
Posts: 44
Is there a buffer feature for performance tests?

Hello,

I was just wondering is there a feature for storing performance test values in a data structure (that acts as a buffer), and then once the test is complete, the data from the data structure is written to a csv file? Preferably in Java.

Thanks,

Blitz3r

jmorales's picture
Offline
Last seen: 2 months 2 days ago
Joined: 08/28/2013
Posts: 60

Hello,

We do not have this feature implemented yet, however I think you could modify the test so you get the information you want (depending on what you want exactly):

1 - all the information about the latencies is stored in Java in the "_latencyHistory" variable in the LatencyListener.java class. You can potencially, at the deletion of this class (at the end of the test), dump it to a file.

2 - For the final statements about the averages, you could potencially modify the System.out.println() so they print the info in csv. format Or even just save that into a structure instead of printing it. You will find these prints easily, these are 4 prints, all containing the word "Lenght:"

Let me know if this works for you. In the future we want to see if we can directly set the output to be json or csv, but this will not be in RTI Perftest next release.