To retrieve timeseriesValue in /api/public/get_benchmarks, current logic returns data since a specific timestamp for a branch.
In that timestamp, one hour timeframe (flutter/cocoon#753 (comment)) is added to guarantee all timeseriesValues belonging to commits are picked up.
However an optimization of this query is needed to avoid potential race condition (flutter/cocoon#753 (comment))