Histogram class

Properties

bucketInfo BucketInfo
Rule used to produce this histogram. Specifies how bucket names are constructed given (library-uri,class-name,function-name) tuples and how these bucket names can be deconstructed back into human readable form.
final
buckets Map<String, int>
Histogram buckets.
final
bySize List<String>
Bucket names sorted by the size of the corresponding bucket in descending order.
final
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalSize int
final

Methods

map(String bucketFor(String)) Histogram
Rebuckets the histogram given the new bucketing rule.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromIterable<T>(Iterable<T> entries, {required int sizeOf(T), required String bucketFor(T), required BucketInfo bucketInfo}) Histogram