canonical_url performs poorly
Bug #704585 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Critical
|
Unassigned |
Bug Description
canonical_url is thought to perform poorly (quadratic behaviour due to traversing on every call). A ++profile++ trace would help confirm this.
the canonical_url for an object is constant within a readonly (GET) request. So one possible solution is to cache the result for a single transaction of canonical_url on each object.
description: | updated |
description: | updated |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Gavin Panella (allenap) |
Changed in launchpad: | |
status: | In Progress → Triaged |
assignee: | Gavin Panella (allenap) → nobody |
tags: | added: webapp-infrastructure |
To post a comment you must log in.
This isn't showing up as a common problem these days.