Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
Description
Currently in the flink-benchmark project we already have a JMH case for the whole backend, but none for finer grained state operations, and here we propose adding JMH cases for them, including (but not limited to):
- ValueState
- testPut
- testGet
- ListState
- testUpdate
- testGet
- testAddAll
- MapState
- testPut
- testGet
- testContains
- testKeys
- testValues
- testEntries
- testIterator
- testRemove
- testPutAll
And we will create benchmark for HeapKeyedStateBackend and RocksDBKeyedStateBackend separately.
We believe these micro benchmarks could help locate where the regression comes from in case any observed from the backend benchmark, and we could also use these benchmarks to assure no performance downgrade when modifying relative codes.
Attachments
Issue Links
- links to