Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page load time #1258

Closed
kardan opened this issue Feb 27, 2015 · 4 comments
Closed

Page load time #1258

kardan opened this issue Feb 27, 2015 · 4 comments
Assignees
Milestone

Comments

@kardan
Copy link
Contributor

kardan commented Feb 27, 2015

At the moment load page load time is too high. Needs to be cut!

@kardan kardan self-assigned this Feb 27, 2015
@KasperBrandt KasperBrandt added this to the 3.0 Douglas milestone Feb 27, 2015
@kardan kardan changed the title Page load time Page load time, first shave Feb 27, 2015
@kardan kardan changed the title Page load time, first shave Page load time Feb 27, 2015
@kardan
Copy link
Contributor Author

kardan commented Mar 2, 2015

  • Get a more production like dataset
  • Enable Django debug toolbar in test mode
  • Set baseline benchmark
  • Enable stats for test / uat?
  • Clean up JS deps
  • Identify and fix slow paths
  • Enable caching

@kardan
Copy link
Contributor Author

kardan commented Mar 4, 2015

@kardan
Copy link
Contributor Author

kardan commented Mar 5, 2015

log_min_duration_statement at http://www.postgresql.org/docs/current/static/runtime-config-logging.html seems valuable to enable on the test server.

kardan added a commit that referenced this issue Mar 10, 2015
- Added provisioning step for Vagrantbox
- Removed gzip middleware
- Updated local template to use the debug toolbar
kardan added a commit that referenced this issue Mar 10, 2015
- Moved code for getting the project list to a decorator that is
  reusable but not affects all requests.
- Disabled the donation button in the project list.
- Added a db_index on the Publishingstatus model.
- Cleaned up a lot of markup with help of linter.
kardan added a commit that referenced this issue Mar 11, 2015
- Rewrote organisation directory view
- Rewrote project update view
- Cleaned up syntax to score better with static analyzers
- Commented out a exception logger that is for development in map tag
- Moved show_filter_class to view utils
- Fixed template bug in org directory.
- Removed old code
kardan added a commit that referenced this issue Mar 11, 2015
kardan added a commit that referenced this issue Mar 12, 2015
- Removed mysql to psql migration lib
- Landscape strictness is now verylow
kardan added a commit that referenced this issue Mar 12, 2015
kardan added a commit that referenced this issue Mar 12, 2015
- Updated migrations
- Fixed conflict in .gitignore
kardan added a commit that referenced this issue Mar 12, 2015
KasperBrandt added a commit that referenced this issue Mar 13, 2015
@KasperBrandt
Copy link
Contributor

Test plan

I've done a short performance test on the Test server;

  • Project list: 3480ms - 11420ms = -7760ms
  • Update list: 2848ms - 3356ms = -508ms
  • Organisation list: 2132ms - 2216ms = -84ms
  • Project main: 1518ms - 2728ms = -1210ms
  • Update main: 1036,2ms - 1129,8ms = -93,6ms
  • Organisation main: 1636ms - 1500ms = 136ms

So in general RSR has become a bit faster, but especially the project listing page has become a lot faster.

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

No branches or pull requests

2 participants