Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changefeedccl: add webhook sink benchmark
This patch adds a micro-benchmark for the webhook sink. Note that we may be able to refactor the test framework in a way that will be applicable to all sink types. We will defer this later. This is just a first step. Part of: #133293 Release note: none ``` BenchmarkWebhookSink/parallelism=1/opt=generic BenchmarkWebhookSink/parallelism=1/opt=generic 1000000000 0.1811 ns/op BenchmarkWebhookSink/parallelism=1/opt=opts_zero_value BenchmarkWebhookSink/parallelism=1/opt=opts_zero_value 1000000000 0.1683 ns/op BenchmarkWebhookSink/parallelism=2/opt=generic BenchmarkWebhookSink/parallelism=2/opt=generic 1000000000 0.09745 ns/op BenchmarkWebhookSink/parallelism=2/opt=opts_zero_value BenchmarkWebhookSink/parallelism=2/opt=opts_zero_value 1000000000 0.03203 ns/op BenchmarkWebhookSink/parallelism=3/opt=generic BenchmarkWebhookSink/parallelism=3/opt=generic 1000000000 0.1371 ns/op BenchmarkWebhookSink/parallelism=3/opt=opts_zero_value BenchmarkWebhookSink/parallelism=3/opt=opts_zero_value 1000000000 0.06612 ns/op BenchmarkWebhookSink/parallelism=4/opt=opts_zero_value BenchmarkWebhookSink/parallelism=4/opt=opts_zero_value 1000000000 0.09639 ns/op BenchmarkWebhookSink/parallelism=4/opt=generic BenchmarkWebhookSink/parallelism=4/opt=generic 1000000000 0.04369 ns/op ```
- Loading branch information