-
BatchSpanProcessorBenchmark defines the @Param({"1000", "2000", "5000"})
private int spanCount; By default, BatchSpanProcessor would keep only 2048 elements in the queue: static final int DEFAULT_MAX_QUEUE_SIZE = 2048; This means that Is that done on purpose? For example, to measure how the BSP's queue drops incoming spans in a case of overflow. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The benchmarks were written years ago by different maintainers and we have to piece together intent by analyzing git history and the benchmark code and making an informed guess. Its not obvious to me what the benchmark is supposed to demonstrate, and how to interpret its results vs all the other It is reasonable to try to exercise the queue limits of BatchSpanProcessor, but not sure how that applies here:
Not clear from all this what is being measured and why. What are you trying to understand by running the benchmark? |
Beta Was this translation helpful? Give feedback.
The benchmarks were written years ago by different maintainers and we have to piece together intent by analyzing git history and the benchmark code and making an informed guess. Its not obvious to me what the benchmark is supposed to demonstrate, and how to interpret its results vs all the other
BatchSpanProcessor*Benchmark
in the same package.It is reasonable to try to exercise the queue limits of BatchSpanProcessor, but not sure how that applies here: