Skip to content

jetstream preview ... slow due to re-processing (local) repos #3185

@ncalexan

Description

@ncalexan

I'm trying to use jetstream preview ... to make progress on mozilla/metric-hub#1422. So far, it's been a wretched experience, not least because it's incredibly slow. My command line looks like:

$ jetstream preview --config-repos=/Users/nalexander/Mozilla/metric-hub --config-repos=/Users/nalexander/Mozilla/metric-hub/jetstream --platform fenix --sql-output-dir=output --experiment-slug=newly-dormant-push-programme-phase-1-android-retest

I've profiled my failing run and I find that it spends >100s in with_configs_from. It appears to do the actual work many, many times, i.e., there's no caching or single computation re-used.

In addition, it's grinding over various git operations that are surely not relevant to a local repository: does it really matter what the git commit date is? Couldn't we use the on-disk metadata?

In addition, I need to specify both metric-hub and metric-hub/jetstream. (Took a while to figure that out!) Why?

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions