public
Description: Organisation tool written in Rails. Inspired by Backpack
Home | Edit | New

Slow performance

Introduction

Since Rucksack’s Javascript hasn’t really been optimised yet, you may find that on certain mobile devices (e.g. Nokia Internet Tablets) the interface can get very slow.

Causes

  • mousemove handler for #content (PageHoverHandlerFunc)
  • Re-binding in Page.rebind
  • Re-creating jQuery objects when storing them would be more appropriate
  • RJS handlers not optimized

Solutions

  • Bind PageHoverHandlerFunc to mousedown instead (appropriate if the device is touch-based)
  • Split page re-binding up so elements which will not be in the page won’t be binded
  • Store copies of frequently accessed jQuery objects
  • Re-write RJS handlers
Last edited by jamesu, Thu Oct 09 03:40:00 -0700 2008
Home | Edit | New
Versions: