Records the latency of producing each element of the input dataset.
To consume the statistics, associate a
StatsAggregator with the output
tag: String. All statistics recorded by the returned transformation will be associated with the given
Dataset transformation function, which can be passed to