Skip to content

[cocoon] Optimize query to retrieve timeseriesValue in /api/public/get_benchmarks #56731

@keyonghan

Description

@keyonghan

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    team-infraOwned by Infrastructure team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions