Analyze performance impact of switching to JSON v2
Open
libbeat
Team:Elastic-Agent-Data-Plane
- Dominant language
- Go
- Stars
- 12.7k
- Forks
- 5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 364
Description
A new version of JSON library is about to land in Go 1.25 https://pkg.go.dev/encoding/json/v2
The benchmark results look very promising https://github.com/go-json-experiment/jsonbench#readme
Beats rely heavily on JSON encoding and migrating to JSON V2 might be very impactful in terms of performance.
We need to try migrate the Beats pipeline to using JSON V2 and analyze the performance difference in terms of memory and CPU time.
Contributor guide
Assessment
This issue has not been assessed yet.