Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Histogram = Histogram
- data VarianceAndMean = VarianceAndMean {}
- emptyVarianceAndMean :: VarianceAndMean
- stableVarianceStep :: VarianceAndMean -> Double -> VarianceAndMean
- insertHist :: Histogram -> Double -> Histogram
- data Statistics = Statistics {
- sVarMean :: !VarianceAndMean
- sMax :: !Double
- sMin :: !Double
- sHistogram :: !Histogram
- sTotal :: !Double
- mean :: Statistics -> Double
- variance :: Statistics -> Double
- statsCount :: Statistics -> Int
- emptyStatistics :: Statistics
- stepStatistics :: Statistics -> Double -> Statistics
- urlToPathPieceKey :: String -> String
- data ResultStatistics = ResultStatistics {
- rs2xx :: !Statistics
- rs4xx :: !Statistics
- rs5xx :: !Statistics
- rsFailed :: !Statistics
- rsRollup :: !Statistics
- emptyResultStatistics :: ResultStatistics
- stepResultStatistics :: ResultStatistics -> RunResult -> ResultStatistics
- count2xx :: ResultStatistics -> Int
- count4xx :: ResultStatistics -> Int
- count5xx :: ResultStatistics -> Int
- countFailed :: ResultStatistics -> Int
- errorRate :: ResultStatistics -> Double
- isEntirelySuccessful :: ResultStatistics -> Bool
- successfulToResult :: Statistics -> ResultStatistics
- data AllStats = AllStats {
- aRollup :: !ResultStatistics
- aCompleteRuns :: !ResultStatistics
- aRuns :: !(HashMap Int ResultStatistics)
- aPerUrl :: !(HashMap String ResultStatistics)
- emptyAllStats :: AllStats
- is4xx :: Int -> Bool
- stepAllStats :: AllStats -> Int -> String -> RunResult -> AllStats
- renderHistogram :: Vector Int -> String
- statToRow :: ResultStatistics -> [String]
- pprStats :: Maybe Int -> URLDisplay -> AllStats -> String
- adjustKey :: Maybe Int -> URLDisplay -> String -> String
- statsTable :: Maybe Int -> URLDisplay -> AllStats -> Table String String String
- printStats :: Options -> AllStats -> IO ()
Documentation
data Statistics Source #
These are the
Statistics | |
|
Eq Statistics Source # | |
Ord Statistics Source # | |
Show Statistics Source # | |
ToJSON Statistics Source # | |
mean :: Statistics -> Double Source #
Extract the mean
variance :: Statistics -> Double Source #
Extract the variance
statsCount :: Statistics -> Int Source #
stepStatistics :: Statistics -> Double -> Statistics Source #
urlToPathPieceKey :: String -> String Source #
data ResultStatistics Source #
This type includes statistics for all of the result values we can detect. This type is used by AllStats to compute per key (URL) statistics among other uses.
ResultStatistics | |
|
count2xx :: ResultStatistics -> Int Source #
count4xx :: ResultStatistics -> Int Source #
count5xx :: ResultStatistics -> Int Source #
countFailed :: ResultStatistics -> Int Source #
errorRate :: ResultStatistics -> Double Source #
AllStats has all of the ... stats. This type stores all of the information
wrecker
uses to display metrics to the user.
AllStats | |
|
renderHistogram :: Vector Int -> String Source #
statToRow :: ResultStatistics -> [String] Source #
statsTable :: Maybe Int -> URLDisplay -> AllStats -> Table String String String Source #