Calculate throughput

I have the following scripts. I am trying to calculate the throughput of a java XSLT transformer. I have 10 trophies, each of which is repeated 1000 times. The task of the stream is to read the XML and XSLT file and convert it and write to a new file.

I want to calculate TPS. Can you suggest a way to calculate TPS?

Thanks and respect,

Srinivas.

+3
source share
1 answer

Well, you want to start the timer at the beginning and stop it when all threads are completed. This gives you elapsed time = end time - start time. Transactions = 10 threads * 1000 iterations = 10000. TPS = 10000 / elapsed time.

- CyclicBarrier. CyclicBarrier (. ):

, . :

+4

Source: https://habr.com/ru/post/1697851/


All Articles