# benchmark

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: benchmark
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: connect/components/processors/benchmark
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: connect/components/processors/benchmark.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/develop/pages/connect/components/processors/benchmark.adoc
page-git-created-date: "2024-12-16"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/develop/connect/components/processors/benchmark.md -->

**Available in:** Cloud, [Self-Managed](https://docs.redpanda.com/connect/components/processors/benchmark/%20%22View%20the%20Self-Managed%20version%20of%20this%20component%22)

Logs throughput statistics for processed messages, and provides a summary of those statistics over the lifetime of the processor.

```yml
# Configuration fields, showing default values
label: ""
benchmark:
  interval: 5s
  count_bytes: true
```

## [](#throughput-statistics)Throughput statistics

This processor logs the following rolling statistics at a [configurable interval](#interval) to help you to understand the current performance of your pipeline:

-   The number of messages processed per second.

-   The number of bytes processed per second (optional).


For example:

```bash
INFO rolling stats: 1 msg/sec, 407 B/sec
```

When the processor shuts down, it also logs a summary of the number and size of messages processed during its lifetime. For example:

```bash
INFO total stats: 1.00186 msg/sec, 425 B/sec
```

## [](#fields)Fields

### [](#count_bytes)`count_bytes`

Whether to measure the number of bytes per second of throughput. If set to `true`, Redpanda Connect must serialize structured data to count the number of bytes processed, which can unnecessarily degrade performance if serialization is not required elsewhere in your pipeline.

**Type**: `bool`

**Default**: `true`

### [](#interval)`interval`

How often to emit rolling statistics. Set to `0`, if you only want to log summary statistics when the processor shuts down.

**Type**: `string`

**Default**: `5s`