-
Couldn't load subscription status.
- Fork 128
Closed
Labels
Team:EcosystemLabel for the Packages Ecosystem teamLabel for the Packages Ecosystem teamdiscussenhancementNew feature or requestNew feature or request
Description
This is a proposed first iteration of performance benchmarks for Elastic packages, part of a broader effort to provide tooling to fully understand the performance or storage impacts of changes to ingest pipelines and other assets.
The objective of this iteration is to provide visibility into a package's ingest-pipelines performance for a developer working on a package. To achieve this, it makes use of existing facilities and data already available to elastic-package in order to reduce development time and cross-team dependencies:
- Uses existing Elasticsearch's Nodes Stats API , already used by
elastic-packagefor pipeline coverage. - Uses existing testing logs/documents from ingest pipeline tests.
- Reports it's output to stdout in a format similar to tests.
- Works as an additional stage for pipeline tests (i.e.
elastic-package test pipeline --bench), in opposition to a completely new action in elastic-agent (elastic-package benchmark pipeline). This reduces code complexity.
First stage
- Add performance measurement to package's pipeline tests (
--bench). Add benchmarks to pipeline tests #958 - Text output: Raw (eps) performance, top N ingest processors by time spent. Add benchmarks to pipeline tests #958
[ ] IP address randomization to properly exercise geoip processors.Unfeasible with pipeline tests, as only a limited number of IP addresses is allowed.
Further development
- xUnit output for CI reports. Needs investigation as benchmark representation in xUnit is not clearly specified and may need a bit of trial and error. Add benchmarks to pipeline tests #958 (will need improvements).
[ ] Report benchmark command can compare against a specific version #1040
ruflin, jsoriano, andrewkroh, ebeahan, joshdover and 1 more
Metadata
Metadata
Assignees
Labels
Team:EcosystemLabel for the Packages Ecosystem teamLabel for the Packages Ecosystem teamdiscussenhancementNew feature or requestNew feature or request