Skip to content

Instantly share code, notes, and snippets.

@stevepond
Created September 11, 2012 21:48
Show Gist options
  • Select an option

  • Save stevepond/3702340 to your computer and use it in GitHub Desktop.

Select an option

Save stevepond/3702340 to your computer and use it in GitHub Desktop.

##Swipe Benchmarking##

###Baseline###

  • Same HTML Markup
  • Same CSS
  • Loaded 200 copies of a single carousel item into carousel
  • Each carousel used a start button to trigger the test
  • The carousel advances automatically every second

###Targets###

  • Galaxy Nexus
  • iPhone 4s
  • Google Nexus 1

###Environment###

  • Remote Chrome Dev Tools
  • Remote Safari Webkit inspector

##Libraries##

  • iScroll
  • SwipeView

##Results## Data in timelines shows browser spends more time painting and layout for a given swipe with the iScroll environment.

##Observerations## The iScroll and SwipeView both performed well in the more modern mobile browsers. On Nexus 1, both performed poorly. The SwipeView library performed a little better on the Galaxy Nexus 1.

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