https://issues.apache.org/bugzilla/show_bug.cgi?id=47865
Summary: New listeners optimized to work with huge amount of
data and hight throughput and optimized
DistributionGraph
Product: JMeter
Version: 2.3.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=24286)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24286)
Two new listeners (similar to AgreggateReport but much faster) and optimized
version of DistributionGraph
Package contains two listener with functionality similar to Aggeregate Raport
but designed to work perfectly with huge amount of data (millions samples) and
hight throughput (hundreds per seconds) and optimized DistributionGraph. Code
requires at least java 5.0.
Details:
- UpgradedStatVizualizer and associated classes are similar to StatVisualizer
but faster. Those classes doesn't hold all samples but only some part. Main
goal is to calculate avg, standard deviation, avg 90% line, avg 99% line and
avg 99.9% line without holding all data. No more than MAX_COUNT samples are
hold. When number of samples are great than MAX_COUNT then 90% line, 99% line
and 99.9% are calculated on those samples. Those values are used to update avg
90% line, avg 99% line and avg 99.9% Then samples are removed and collected
from beginning. The lower clearLimit the better performance but the higher
clearLimit the more accurate avg lines (90%, 99% and 99.9%).Partial results of
the test can be saved in csv files, one file for each sampler in case of
system/machine failure/restart those results can be used to calculate overall
statistics. To synchronize threads ReentranstLocks are used instead of
synchronized methods.
- BacketStatVisualizer annd associated classes are also similar to
StatVisualizer and UpgradedStatVizualizer. Designed to work with huge amount of
samples with high throughput. Rather not use if the maximum value of the
samples is high (more than 1-2 min if it time). Much faster than default
StatCalculator, can be a little slower than UpgradedStatCalculator but instead
of UpgradedStatCalculator gives exactly value of median, 90% line, 99% line and
99.9% line (not some approximation), due to performance those value are
refreshed every REFRESH_RATE samples. Work perfectly with DistributionGraph.
- AbstractSamplingStatCalculator super class for all sampling statistic
calculators
- SamplingStatContainer interface for all sampling statistic calculators
- DistributionGraph refactored to use SamplingStatContainer interface instead
of SamplingStatCalculator and as a model BacketStatCalculator so now when
number of samples become huge distribution graph doesn't slow down
- AbstractStatCalculator super class for all statistics calculators
- updated messages and messages_pl properties files
- refactored class in org.apache.jmeter.testelement package to use interface
SamplingStatContainer instead of class SamplingStatCalculator
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]