{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/function-builder/issues/102","repository_url":"https://api.github.com/repos/phetsims/function-builder","labels_url":"https://api.github.com/repos/phetsims/function-builder/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/function-builder/issues/102/comments","events_url":"https://api.github.com/repos/phetsims/function-builder/issues/102/events","html_url":"https://github.com/phetsims/function-builder/issues/102","id":178201234,"number":102,"title":"Speed up new FontAwesomeNode( 'eye_close' )","user":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/function-builder/labels/dev:enhancement","name":"dev:enhancement","color":"0276FD"}],"state":"open","locked":false,"assignee":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"assignees":[{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},{"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}],"milestone":null,"comments":15,"created_at":"2016-09-20T22:52:01Z","updated_at":"2016-09-21T05:12:07Z","closed_at":null,"body":"I noticed that around 1000ms are being used (on 2012 macbook air) to call `new FontAwesomeNode( 'eye_close' )` in FunctionNode.js.  \r\n\r\nTo test this, I added this code in FunctionNode.js:\r\n\r\n```js\r\n      hiddenNode: (function(){\r\n        var t = Date.now();\r\n        var fontAwesomeNode = new FontAwesomeNode( 'eye_close' );\r\n        var t2 = Date.now();\r\n        window.sumTime=window.sumTime + (t2-t);\r\n        return fontAwesomeNode;\r\n      })(), // {Node} displayed when the function identity is hidden\r\n```\r\n\r\nRunning a built version in chrome, I saw numbers like 800.  In firefox it was 1232.  In iPad, it is probably much worse.  It seems wasteful to parse the same SVG for so many milliseconds.  Perhaps the svg can be parsed once and reused using scenery DAG or perhaps there are better ideas.  Assigning to @pixelzoom for discussion, though I would understand if we unassign and decide not to work on this at the moment."},"comment":{"url":"https://api.github.com/repos/phetsims/function-builder/issues/comments/248513383","html_url":"https://github.com/phetsims/function-builder/issues/102#issuecomment-248513383","issue_url":"https://api.github.com/repos/phetsims/function-builder/issues/102","id":248513383,"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},"created_at":"2016-09-21T05:12:07Z","updated_at":"2016-09-21T05:12:07Z","body":"@samreid anything else here?"}}
{"actor":{"display_login":"pixelzoom"}}