{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1642","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1642/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1642/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1642/events","html_url":"https://github.com/tensorflow/tensorflow/issues/1642","id":143535977,"number":1642,"title":"Poor performance of Android camera demo on arm64","user":{"login":"flawless2011","id":6277531,"avatar_url":"https://avatars.githubusercontent.com/u/6277531?v=3","gravatar_id":"","url":"https://api.github.com/users/flawless2011","html_url":"https://github.com/flawless2011","followers_url":"https://api.github.com/users/flawless2011/followers","following_url":"https://api.github.com/users/flawless2011/following{/other_user}","gists_url":"https://api.github.com/users/flawless2011/gists{/gist_id}","starred_url":"https://api.github.com/users/flawless2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flawless2011/subscriptions","organizations_url":"https://api.github.com/users/flawless2011/orgs","repos_url":"https://api.github.com/users/flawless2011/repos","events_url":"https://api.github.com/users/flawless2011/events{/privacy}","received_events_url":"https://api.github.com/users/flawless2011/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"petewarden","id":161459,"avatar_url":"https://avatars.githubusercontent.com/u/161459?v=3","gravatar_id":"","url":"https://api.github.com/users/petewarden","html_url":"https://github.com/petewarden","followers_url":"https://api.github.com/users/petewarden/followers","following_url":"https://api.github.com/users/petewarden/following{/other_user}","gists_url":"https://api.github.com/users/petewarden/gists{/gist_id}","starred_url":"https://api.github.com/users/petewarden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petewarden/subscriptions","organizations_url":"https://api.github.com/users/petewarden/orgs","repos_url":"https://api.github.com/users/petewarden/repos","events_url":"https://api.github.com/users/petewarden/events{/privacy}","received_events_url":"https://api.github.com/users/petewarden/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-03-25T16:30:29Z","updated_at":"2016-03-31T18:57:15Z","closed_at":null,"body":"I've been running the Android camera demo on both a Nexus 5 (armeabi-v7a) and Nexus 5X (arm64-v8a).  The older Nexus 5 is able to perform a single recognition in about ~350ms.  The Nexus 5X however performs at around ~750ms.  I wouldn't expect a newer device to perform worse (especially not that much worse) than the older one.\r\n\r\nI've tried running the resulting apk from \r\n`bazel build //tensorflow/examples/android:tensorflow_demo` \r\nas well as\r\n`bazel build //tensorflow/examples/android:tensorflow_demo --fat_apk_cpu=arm64-v8a`\r\n\r\nThere's no change in performance for either option on the Nexus 5X.\r\n\r\nI know that the `-mfpu=neon` flag seems to be a problem when building for arm64-v8a so I've had to remove it for those builds.  I suspect the performance issue might be related to the performance benefits of neon.  Is there a different flag that needs to be specified to enable neon support for the arm64-v8a architecture?  Or am I completely off base on the performance expectations on Nexus 5X?\r\n\r\nThis is related to #1019 "},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/204077874","html_url":"https://github.com/tensorflow/tensorflow/issues/1642#issuecomment-204077874","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1642","id":204077874,"user":{"login":"maciekcc","id":15237924,"avatar_url":"https://avatars.githubusercontent.com/u/15237924?v=3","gravatar_id":"","url":"https://api.github.com/users/maciekcc","html_url":"https://github.com/maciekcc","followers_url":"https://api.github.com/users/maciekcc/followers","following_url":"https://api.github.com/users/maciekcc/following{/other_user}","gists_url":"https://api.github.com/users/maciekcc/gists{/gist_id}","starred_url":"https://api.github.com/users/maciekcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciekcc/subscriptions","organizations_url":"https://api.github.com/users/maciekcc/orgs","repos_url":"https://api.github.com/users/maciekcc/repos","events_url":"https://api.github.com/users/maciekcc/events{/privacy}","received_events_url":"https://api.github.com/users/maciekcc/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T18:57:15Z","updated_at":"2016-03-31T18:57:15Z","body":"This seems to be the culprit: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/platform/posix/port.cc#L43"}}