Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Loading EquipmentObjects#index is molasses #1082

Closed
@mnquintana

Description

@mnquintana

Don't know how I didn't notice the slowness before, but:

I have 1000 equipment items associated with 100 equipment models in 10 categories. When I load /equipment_objects/, I see this:

screenshot 2015-01-02 21 35 08

It took over 34 secs (!) to render this view, and there were over 2200 individual SQL queries. Seems like something like 2 queries per item. This is consistent on every page load.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions