IBM / sliding-window-aggregators

Reference implementations of sliding window aggregation algorithms
Apache License 2.0
43 stars 16 forks source link

Move query in bulk evict out of insert loop; add barrier #58

Closed scotts closed 3 years ago

scotts commented 3 years ago

Moves the query call in the bulk evict benchmark out of the insert loop. We decided this allowed us to isolate the bulk evict more, which is what we're more interested in measuring.

Also, this adds a barrier to the inside of the insert loop. I did that for the same reason we have it in general: to avoid loop-unrolling style optimizations, and enforce a tuple-at-a-time simulation.