apache_beam.tools.distribution_counter_microbenchmark module¶
A microbenchmark for measuring DistributionAccumulator performance
This runs a sequence of distribution.update for random input value to calculate average update time per input. A typical update operation should run into 0.6 microseconds
- Run as
- python -m apache_beam.tools.distribution_counter_microbenchmark