timescale / tsbs

Time Series Benchmark Suite, a tool for comparing and evaluating databases for time series data
MIT License
1.24k stars 293 forks source link

Added insert-intervals-unit for sub-second granularity #236

Open MoellJ opened 10 months ago

MoellJ commented 10 months ago

With the insert-intervals parameter one can control how frequently a batch is inserted into the DB by a worker. If one worker should insert multiple batches per second while still being rate-limited we need sub-second insert-intervals which currently isn't possible.

This PR fixes that by introducing millisecond and microsecond granularity to insert-intervals via insert-intervals-unit.