28e1c03f49a3870b157cbfd43ac27df68c250111,polyaxon/api/experiments/queries.py,,,#,5

Before Change


    Count("jobs", distinct=True)
)

experiments_auditing = Experiment.objects.select_related(
    "user",
    "project",
    "project__user",
    "experiment_group",
    "experiment_group__project",
    "experiment_group__project__user",
    "status"
)

After Change


    Count("jobs", distinct=True)
)

experiments_auditing = Experiment.objects.select_related(
    "status",
)
experiments_auditing = experiments_auditing.prefetch_related(
    "user",
    "project",
    "project__user",
    "experiment_group",
    "experiment_group__project",
    "experiment_group__project__user",
)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: polyaxon/polyaxon
Commit Name: 28e1c03f49a3870b157cbfd43ac27df68c250111
Time: 2019-07-09
Author: mouradmourafiq@gmail.com
File Name: polyaxon/api/experiments/queries.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: f23d4dcaad857e85261ecfea4ee3ca255b628515
Time: 2020-07-06
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/core/management/commands/export_results.py
Class Name: Command
Method Name: handle


Project Name: polyaxon/polyaxon
Commit Name: 28e1c03f49a3870b157cbfd43ac27df68c250111
Time: 2019-07-09
Author: mouradmourafiq@gmail.com
File Name: polyaxon/api/jobs/queries.py
Class Name:
Method Name: