get Recent Performance Samples
Returns recent per-sample-period throughput statistics for the cluster.
getRecentPerformanceSamples returns historical samples, each covering roughly 60 seconds, with the slots and transactions processed in that window. TPS is numTransactions / samplePeriodSecs.
Samples are newest-first and pre-aggregated by the node, cheaper than deriving throughput from individual blocks.
Parameters
params is a JSON array, with values in this order: limit.
Number of samples to return, newest first. Defaults to the node's maximum retained sample count.
1Maximum: 720Result
Performance samples, newest first.
Show each itemEach item
Last slot included in this sample.
Total transactions processed during the sample period (includes vote transactions).
Transactions processed during the sample period, excluding vote transactions — usually the more meaningful throughput figure.
Number of slots covered by the sample period.
Length of the sample period, in seconds.
Notes
numTransactions / samplePeriodSecsgives total TPS including votes;numNonVoteTransactions / samplePeriodSecsexcludes the large, fairly constant vote-transaction load, which is usually what "network TPS" means.samplePeriodSecs / numSlotsgives the realized average slot time for the window, about 314 ms (60 / 191) in this example.