Add KVIN ingestion benchmarks for CSV and JSON processing#52
Open
wmehling wants to merge 5 commits into
Open
Conversation
kenwenzel
reviewed
Jul 19, 2026
kenwenzel
left a comment
Member
There was a problem hiding this comment.
I propose to remove the use of reflection and to think about reworking the generation of tuples with more diversity in item, property and time.
- Implement KvinIngestionCsvDiagnosticBenchmark for performance testing of CSV ingestion. - Create KvinIngestionJsonDiagnosticBenchmark for benchmarking JSON ingestion. - Introduce KvinIngestionWorkload to generate test data for benchmarks. - Add unit tests for KvinIngestionCsvDiagnosticBenchmark and KvinIngestionWorkload. - Remove obsolete KvinServiceBenchmark Scala file. - Document benchmark setup and execution in markdown format.
kenwenzel
force-pushed
the
51-better-benchmarking-with-jmh-for-time-series-data-ingest
branch
from
July 20, 2026 14:01
2a99629 to
6053cec
Compare
Member
|
kenwenzel
force-pushed
the
51-better-benchmarking-with-jmh-for-time-series-data-ingest
branch
from
July 20, 2026 14:10
6053cec to
5409773
Compare
Member
|
The JSON data was not sorted by item and property. Therefore, the items and property names were constantly repeated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
How to review
Look at doc kvin-ingestion.md and run benchmarks and see results.
Results from my tests (max values)
Overall
CSV (as known) significantly faster with some headroom to faster parse so we can achieve closer to raw speed of DB around 900 k tuples/s
CSV diagnostics
Steps building on each other with more and more of the actual postCSV pipeline:
So would try to make the parsing and consuming faster in a seperate issue building on that branch.