Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Add benchmark for container parser (#34281)
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> This PR adds benchmark for the [container parser](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/stanza/docs/operators/container.md). Results: ``` # Test PerformanceResults Started: Sun, 28 Jul 2024 20:31:06 +0300 Test |Result|Duration|CPU Avg%|CPU Max%|RAM Avg MiB|RAM Max MiB|Sent Items|Received Items| ----------------------------------------|------|-------:|-------:|-------:|----------:|----------:|---------:|-------------:| Log10kDPS/OTLP |PASS | 15s| 10.4| 11.0| 68| 94| 150100| 150100| Log10kDPS/OTLP-HTTP |PASS | 15s| 7.9| 9.7| 63| 90| 150100| 150100| Log10kDPS/filelog |PASS | 15s| 7.8| 8.7| 65| 93| 150100| 150100| Log10kDPS/filelog_checkpoints |PASS | 15s| 7.1| 8.0| 63| 91| 150100| 150100| Log10kDPS/kubernetes_containers |PASS | 15s| 18.3| 19.7| 67| 96| 150100| 150100| Log10kDPS/kubernetes_containers_parser |PASS | 15s| 18.2| 19.0| 66| 95| 150100| 150100| Log10kDPS/k8s_CRI-Containerd |PASS | 15s| 15.4| 16.3| 66| 95| 150100| 150100| Log10kDPS/k8s_CRI-Containerd_no_attr_ops|PASS | 15s| 15.1| 16.3| 66| 95| 150100| 150100| Log10kDPS/CRI-Containerd |PASS | 15s| 11.1| 13.0| 65| 93| 150100| 150100| Log10kDPS/syslog-tcp-batch-1 |PASS | 15s| 16.4| 18.0| 63| 91| 150100| 150100| Log10kDPS/syslog-tcp-batch-100 |PASS | 15s| 6.1| 6.7| 61| 90| 150100| 150100| Log10kDPS/FluentForward-SplunkHEC |PASS | 15s| 26.7| 28.0| 65| 94| 149800| 149800| Log10kDPS/tcp-batch-1 |PASS | 15s| 17.7| 18.7| 62| 91| 150100| 150100| Log10kDPS/tcp-batch-100 |PASS | 15s| 6.2| 7.0| 62| 90| 150100| 150100| Total duration: 213s ``` **Link to tracking Issue:** <Issue number if applicable> #31959 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> FYI @djaglowski @TylerHelmuth Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
- Loading branch information