prometheus/prometheus
View on GitHubtsdb benchmarks: create consistent way for periodic commits
Open
#15872 opened on Jan 28, 2025
benchmarkcomponent/tsdbhelp wantedpriority/P3
Description
Just out of interest: In
createHeadForBenchmarkSelectyou added a commit every 1000 appends, here 100k*c appends are done. Is there a technical reason? No reason; I probably copied the 1000 from somewhere but can't find it now. There are many different styles, some of which look like errors, e.g. here. I agree it should be consistent but probably am not going to fix that today.
Originally posted by @bboreham in https://github.com/prometheus/prometheus/pull/15732#discussion_r1904380287