Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ozontech/file.d-bench
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 19914512c3458cfab2011297942202682506f92b
Choose a base ref
..
head repository: ozontech/file.d-bench
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e2f933194bfb49445a941c63c2e76c7d78bdad2a
Choose a head ref
Showing with 5 additions and 7 deletions.
  1. +3 −5 Makefile
  2. +2 −2 README.md
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
OS := $(shell uname | awk '{print tolower($$0)}')

.PHONY: generate
generate:
rm -f ./bench-data/*.nljson || true
@@ -12,7 +10,7 @@ bench:
.PHONY: bench-file-d
bench-file-d:
rm ./file.d/offsets || true
./file.d/file.d_$(OS) --config ./file.d/config.yaml
./file.d/file.d --config ./file.d/config.yaml

.PHONY: bench-fluent-bit
bench-fluent-bit:
@@ -21,9 +19,9 @@ bench-fluent-bit:
.PHONY: bench-filebeat
bench-filebeat:
rm -rf ./filebeat/data || true
./filebeat/filebeat_$(OS) -c ./filebeat/config.yaml
./filebeat/filebeat -c ./filebeat/config.yaml

.PHONY: bench-vector
bench-vector:
rm ./logs/checkpoints.json || true
./vector/vector_$(OS) --config ./vector/config.toml
./vector/vector --config ./vector/config.toml
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ Supported tools for benchmarking:

* File.d v0.25.2
* Vector v0.38.0
* Filebeat v8.13.4
* Filebeat 7.17.13

Works only on x86-64 MacOS/Linux.

@@ -22,4 +22,4 @@ AMD Ryzen 9 5950x (4.9 GHz 16‑Core) and SSD M2 Samsung 980 PRO (read 7000 MB/s

* File.d — 500.48Mb/s
* Vector — 323.14Mb/s
* Filebeat — 80.35Mb/s
* Filebeat — 75.42Mb/s