Closed Bug 1177264 Opened 9 years ago Closed 6 years ago

[meta] Performance 2015 Q3 Sprint

Categories

(developer.mozilla.org Graveyard :: Code Cleanup, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: groovecoder, Unassigned)

References

Details

Tracking bug for performance improvements.
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/e99e507601d639159c6fbd1a2e277a57b69febf3
bug 1177264 - use doc.get_contributors in document view

https://github.com/mozilla/kuma/commit/0e8f6a24f113f15a2ff30cf77fa7c1a6c8e6fe52
Merge pull request #3280 from groovecoder/doc-contributors-perf-1177264

bug 1177264 - use doc.get_contributors in document view
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/37b32064ffa5c9ffb55cacf6fcd213a6849289b4
bug 1177264 - use other_translations cache property

https://github.com/mozilla/kuma/commit/fc0a993320df81d39a8351592dccfada9a8d7a5d
Merge pull request #3298 from mozilla/optimize-document-html-1177264

bug 1177264 - use other_translations cache property
Depends on: 1179889
Depends on: 1179887, 1179890
Depends on: 1179897
Summary: [meta] Performance Improvements → [meta] Performance 2015 Q3 Sprint
Depends on: 1180208
Depends on: 847422
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/2e32120cfbd1cd1b2251a1e3af261f7cffc97c1d
Bug 1177264 - Remove un-used teamwork app.

Signed-off-by: Jannis Leidel <jannis@leidel.info>

https://github.com/mozilla/kuma/commit/9f300d8bc61dbca979ffb8f63158b5b70c3cc7d3
Merge pull request #3305 from mozilla/optimize-document-html-1177264

Bug 1177264 - Remove un-used teamwork app.
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/54f08b1c910130ffa10743b40cd04e9a562e3f0f
Bug 1177264 - Simplify wiki_url template helper.

This also removes the dumb_wiki_urls waffle flag introduced in 81a1b5fca8f2e75b0f5e6adfaa425eb7dc24f967.

https://github.com/mozilla/kuma/commit/96e85d8d451aff1678dc5d6643ad37e5b953d1ed
Bug 1177264 - Use a few more get_absolute_url() calls instead of manually building the URLs.

https://github.com/mozilla/kuma/commit/a9ae8306ac83260f5dc005b3a774c266eba28c4d
Merge pull request #3323 from mozilla/bug1177264

Remove dumb_wiki_urls flag and simplify wiki_url helper.
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/b2ec1b4595764bd5a6d6523b80f99a46e59b08c6
Bug 1177264 - Use memcache for django-product-details.

https://github.com/mozilla/kuma/commit/93b0f664151c58e9b5495e4f2eccc636a043bfdc
Merge pull request #3324 from mozilla/bug1177264-2

Bug 1177264 - Use memcache for django-product-details.
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/8d707fa26935cb316d49a00013a56f85223af0f3
Revert "Bug 1177264 - Use memcache for django-product-details."

This reverts commit b2ec1b4595764bd5a6d6523b80f99a46e59b08c6.

https://github.com/mozilla/kuma/commit/ad1980505b9d68719d4156f8b2ae133401d4da7b
Merge pull request #3326 from mozilla/revert-bug1177264-2

Revert "Bug 1177264 - Use memcache for django-product-details."
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/b91ff23a846bb2ba481acf284be06c265528b445
Bug 1177264 - Stop LANGUAGES_DICT being populated on every request.

This should stop the intense memory/memcache usage.

This was basically code laziness gone wrong. Instead we'll populate the mapping now once per process as a global module variable and leave it there until we redeploy at which we run the product_details update management command anyway.

Also get rid of a few old and unused settings.

https://github.com/mozilla/kuma/commit/48ac924ae743e46b4a6091c0a55495677f98b69c
Merge pull request #3328 from mozilla/bug1177264-3

Bug 1177264 - Stop LANGUAGES_DICT being populated on every request.
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/558f23a1c9ddd653d5938573fcb220cacb724c39
bug 1177264 - waffle switch for dumb doc urls

https://github.com/mozilla/kuma/commit/1e65aad60549f0833d76946b15150e45990c88fa
Merge pull request #3331 from mozilla/optimize-document-html-1177264

bug 1177264 - waffle switch for dumb doc urls
Depends on: 1182126
Depends on: 1182210
Depends on: 1182627
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/6125c48ef38e1394529520f7b06a506754baf412
bug 1177264 - make dumb_doc_urls change permanent

https://github.com/mozilla/kuma/commit/08a22ffa0c5cd88f2f011816559df83e26ac6d05
Merge pull request #3338 from mozilla/optimize-document-html-1177264

bug 1177264 - make dumb_doc_urls change permanent

r=jezdez
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/93f14fda954a3603b0938e595a9574185633960e
Bug 1177264 - Cache the available search filters much longer.

That should reduce the db queries a notch.

https://github.com/mozilla/kuma/commit/b0f6ce9751d637670695caa80f5303e626ba126b
Merge pull request #3350 from mozilla/bug1177264-4

Bug 1177264 - Cache the available search filters much longer.
Depends on: 1187967
Depends on: 1189160
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/fda9016e96c8f0d612163c7ef4a7c072bb28c5d2
bug 1177264 - remove extra tags.exists() check

https://github.com/mozilla/kuma/commit/766e6cbaaa789aa17dc1ea8625b223a3d315e780
Merge pull request #3377 from mozilla/document-tags-exists-check-1177264

bug 1177264 - remove extra tags.exists() check (1.1% of app server time)
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/c470933d92e3bda0282bde9e0acec79d327c963e
bug 1177264 - remove search_filters context processor

The logic of the search_filters context processor is only needed on the home
page where search suggestions are shown.

https://github.com/mozilla/kuma/commit/bff43192fa5866402bc5e09d4fef5a0bdc6338b7
Merge pull request #3376 from mozilla/search-suggestions-home-1177264

bug 1177264 - remove search_filters context processor (12.8% of app server time)
Depends on: 1190171
No longer depends on: 1182210
Depends on: 1198295
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/eef61169effdf51ec799e116735d3058110d104c
bug 1177264 - optimize zone root summary display

https://github.com/mozilla/kuma/commit/9ebc11e7508edb4e0a8f22bfa86a6b5029426799
Merge pull request #3457 from mozilla/optimize-summary-1177264

bug 1177264 - optimize zone root summary display
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/06df0f554f0174c8fcc6641494ac01659acbf574
bug 1177264 - prefetch_related revision creators

bug 1177264 - prefetch docs and user bans

bug 1177264 - only query userbans for superusers

https://github.com/mozilla/kuma/commit/a4086b137dc6093b82400d13b74a9382d032c2e8
bug 1177264 - remove superfluous count query

https://github.com/mozilla/kuma/commit/f423a3a47f7a92df2caf6d891eabf3cb26d2e5ba
Merge pull request #3468 from mozilla/revisions-feed-optimization-1177264

bug 1177264 - Revision dashboard optimizations

r=jwhitlock
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/546d1490f30c1dbd16dd90c239d7b084e522ec33
bug 1177264 - measure dashboard pagination usage

https://github.com/mozilla/kuma/commit/750653264273e888c3ae967c53b45df38ef5117c
Merge pull request #3652 from mozilla/measure-dashboard-pagination-usage-1177264

bug 1177264 - measure dashboard pagination usage
No longer depends on: 1189160
Good work, let's call the 2015 performance sprint done.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.