Yu Li created FLINK-11986:
-----------------------------
Summary: Add micro benchmark for state operations
Key: FLINK-11986
URL: https://issues.apache.org/jira/browse/FLINK-11986
Project: Flink
Issue Type: Improvement
Components: Tests
Reporter: Yu Li
Assignee: Yu Li
Currently in the
[flink-benchmark|https://github.com/dataArtisans/flink-benchmarks] 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)