{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/hookes-law/issues/3","labels_url":"https://api.github.com/repos/phetsims/hookes-law/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/hookes-law/issues/3/comments","events_url":"https://api.github.com/repos/phetsims/hookes-law/issues/3/events","html_url":"https://github.com/phetsims/hookes-law/issues/3","id":93336043,"number":3,"title":"review ParametricSpringNode for potential optimizations","user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/hookes-law/labels/code%20review","name":"code review","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-07-06T17:48:14Z","updated_at":"2015-07-14T05:29:23Z","closed_at":null,"body":"Hooke's Law feels a bit sluggish to me on iPad, especially after we started using the more complicated ParametricSpringNode for the spring view.\r\n\r\n To demonstrate, compare this version that uses a simple spring view:\r\nhttp://www.colorado.edu/physics/phet/dev/html/hookes-law/1.0.0-dev.17/hookes-law_en.html\r\n\r\n... to this version with ParametricSpringNode:\r\nhttp://www.colorado.edu/physics/phet/dev/html/hookes-law/1.0.0-dev.18/hookes-law_en.html\r\n\r\n@jonathanolson Could you please review ParametricSpringNode for potential optimizations?"},"comment":{"url":"https://api.github.com/repos/phetsims/hookes-law/issues/comments/121136026","html_url":"https://github.com/phetsims/hookes-law/issues/3#issuecomment-121136026","issue_url":"https://api.github.com/repos/phetsims/hookes-law/issues/3","id":121136026,"user":{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T05:29:23Z","updated_at":"2015-07-14T05:29:23Z","body":"boundsMethod: 'none' instead of 'unstroked' could have a speed-up, since presumably we could calculate the approximate width based on just the inputs to the spring shape.\r\n\r\nOn Chrome, profiling information notes that this probably isn't the biggest bottleneck however.\r\n\r\nUpdating to iOS 8.4, will test on the iPad 3."}}