{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/TomFischer/ogs/pulls/11","id":47468383,"html_url":"https://github.com/TomFischer/ogs/pull/11","diff_url":"https://github.com/TomFischer/ogs/pull/11.diff","patch_url":"https://github.com/TomFischer/ogs/pull/11.patch","issue_url":"https://api.github.com/repos/TomFischer/ogs/issues/11","number":11,"state":"open","locked":false,"title":"Geo mapper refactorization","user":{"login":"endJunction","id":329493,"avatar_url":"https://avatars.githubusercontent.com/u/329493?v=3","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false},"body":"Some changes. Will explain tomorrow.\r\n\r\n\r\nHalf of the cycles the cpu waits for data. Probably the prefetcher can not guess which point is to loaded next when evaluating the sqrDist to the current point. Improving this needs something like Z-curve layout of nodes...\r\nStatistics in the commit messages are probably garbage.\r\n\r\nThe latest is\r\n```\r\n Performance counter stats for '/home/naumov/w/ogs/build/bin/MapGeometryToMeshSurface -o output -a 1 -i ArcGisRivers.gml -m unstrut8.vtu' (3 runs):\r\n\r\n      39325.691449      task-clock (msec)         #    0.991 CPUs utilized          \r\n                39      context-switches          #    0.001 K/sec                  \r\n                 1      cpu-migrations            #    0.000 K/sec                  \r\n           395,200      page-faults               #    0.010 M/sec                  \r\n   116,747,114,976      cycles                    #    2.944 GHz                      (83.33%)\r\n    56,688,089,715      stalled-cycles-frontend   #   48.72% frontend cycles idle     (83.33%)\r\n    20,019,131,896      stalled-cycles-backend    #   17.20% backend  cycles idle     (66.66%)\r\n   174,581,570,735      instructions              #    1.50  insns per cycle        \r\n                                                  #    0.32  stalled cycles per insn  (83.33%)\r\n    26,277,011,114      branches                  #  662.525 M/sec                    (83.34%)\r\n       195,890,577      branch-misses             #    0.75% of all branches          (83.34%)\r\n\r\n      39.694254366 seconds time elapsed                                          ( +-  0.52% )\r\n```\r\n\r\nThe base line is (suddenly better than before, see first commit message):\r\n```\r\n Performance counter stats for '/home/naumov/w/ogs/build/bin/MapGeometryToMeshSurface -o output -a 1 -i ArcGisRivers.gml -m unstrut8.vtu' (3 runs):\r\n\r\n      38229.686242      task-clock (msec)         #    0.989 CPUs utilized          \r\n                31      context-switches          #    0.001 K/sec                  \r\n                 0      cpu-migrations            #    0.000 K/sec                  \r\n           392,464      page-faults               #    0.010 M/sec                  \r\n   113,110,898,688      cycles                    #    2.923 GHz                      (83.33%)\r\n    56,258,158,856      stalled-cycles-frontend   #   49.10% frontend cycles idle     (83.33%)\r\n    20,967,737,223      stalled-cycles-backend    #   18.30% backend  cycles idle     (66.67%)\r\n   168,228,613,517      instructions              #    1.47  insns per cycle        \r\n                                                  #    0.34  stalled cycles per insn  (83.34%)\r\n    26,364,125,909      branches                  #  681.314 M/sec                    (83.33%)\r\n       196,188,047      branch-misses             #    0.74% of all branches          (83.34%)\r\n\r\n      38.664073207 seconds time elapsed                                          ( +-  0.67% )\r\n\r\n```","created_at":"2015-10-12T21:49:56Z","updated_at":"2015-10-12T21:49:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"512fe99ba1ea2ff6004c6cb9558e7fce86671ad1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TomFischer/ogs/pulls/11/commits","review_comments_url":"https://api.github.com/repos/TomFischer/ogs/pulls/11/comments","review_comment_url":"https://api.github.com/repos/TomFischer/ogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TomFischer/ogs/issues/11/comments","statuses_url":"https://api.github.com/repos/TomFischer/ogs/statuses/1c15f46b773d9446e63e4c2a6025cf0a9f58783d","head":{"label":"endJunction:GeoMapperRefactorization","ref":"GeoMapperRefactorization","sha":"1c15f46b773d9446e63e4c2a6025cf0a9f58783d","user":{"login":"endJunction","id":329493,"avatar_url":"https://avatars.githubusercontent.com/u/329493?v=3","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false},"repo":{"id":6429859,"name":"ogs","full_name":"endJunction/ogs","owner":{"login":"endJunction","id":329493,"avatar_url":"https://avatars.githubusercontent.com/u/329493?v=3","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/endJunction/ogs","description":"OGS source code","fork":true,"url":"https://api.github.com/repos/endJunction/ogs","forks_url":"https://api.github.com/repos/endJunction/ogs/forks","keys_url":"https://api.github.com/repos/endJunction/ogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endJunction/ogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endJunction/ogs/teams","hooks_url":"https://api.github.com/repos/endJunction/ogs/hooks","issue_events_url":"https://api.github.com/repos/endJunction/ogs/issues/events{/number}","events_url":"https://api.github.com/repos/endJunction/ogs/events","assignees_url":"https://api.github.com/repos/endJunction/ogs/assignees{/user}","branches_url":"https://api.github.com/repos/endJunction/ogs/branches{/branch}","tags_url":"https://api.github.com/repos/endJunction/ogs/tags","blobs_url":"https://api.github.com/repos/endJunction/ogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endJunction/ogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endJunction/ogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/endJunction/ogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endJunction/ogs/statuses/{sha}","languages_url":"https://api.github.com/repos/endJunction/ogs/languages","stargazers_url":"https://api.github.com/repos/endJunction/ogs/stargazers","contributors_url":"https://api.github.com/repos/endJunction/ogs/contributors","subscribers_url":"https://api.github.com/repos/endJunction/ogs/subscribers","subscription_url":"https://api.github.com/repos/endJunction/ogs/subscription","commits_url":"https://api.github.com/repos/endJunction/ogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/endJunction/ogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/endJunction/ogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/endJunction/ogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/endJunction/ogs/contents/{+path}","compare_url":"https://api.github.com/repos/endJunction/ogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endJunction/ogs/merges","archive_url":"https://api.github.com/repos/endJunction/ogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endJunction/ogs/downloads","issues_url":"https://api.github.com/repos/endJunction/ogs/issues{/number}","pulls_url":"https://api.github.com/repos/endJunction/ogs/pulls{/number}","milestones_url":"https://api.github.com/repos/endJunction/ogs/milestones{/number}","notifications_url":"https://api.github.com/repos/endJunction/ogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endJunction/ogs/labels{/name}","releases_url":"https://api.github.com/repos/endJunction/ogs/releases{/id}","created_at":"2012-10-28T17:18:48Z","updated_at":"2015-05-08T12:09:05Z","pushed_at":"2015-10-12T21:39:55Z","git_url":"git://github.com/endJunction/ogs.git","ssh_url":"git@github.com:endJunction/ogs.git","clone_url":"https://github.com/endJunction/ogs.git","svn_url":"https://github.com/endJunction/ogs","homepage":"www.opengeosys.net","size":13649,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TomFischer:GeoMapperRefactorization","ref":"GeoMapperRefactorization","sha":"8893dfe72d07ec2175669e0ee1d057b9f709055a","user":{"login":"TomFischer","id":800065,"avatar_url":"https://avatars.githubusercontent.com/u/800065?v=3","gravatar_id":"","url":"https://api.github.com/users/TomFischer","html_url":"https://github.com/TomFischer","followers_url":"https://api.github.com/users/TomFischer/followers","following_url":"https://api.github.com/users/TomFischer/following{/other_user}","gists_url":"https://api.github.com/users/TomFischer/gists{/gist_id}","starred_url":"https://api.github.com/users/TomFischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomFischer/subscriptions","organizations_url":"https://api.github.com/users/TomFischer/orgs","repos_url":"https://api.github.com/users/TomFischer/repos","events_url":"https://api.github.com/users/TomFischer/events{/privacy}","received_events_url":"https://api.github.com/users/TomFischer/received_events","type":"User","site_admin":false},"repo":{"id":6882427,"name":"ogs","full_name":"TomFischer/ogs","owner":{"login":"TomFischer","id":800065,"avatar_url":"https://avatars.githubusercontent.com/u/800065?v=3","gravatar_id":"","url":"https://api.github.com/users/TomFischer","html_url":"https://github.com/TomFischer","followers_url":"https://api.github.com/users/TomFischer/followers","following_url":"https://api.github.com/users/TomFischer/following{/other_user}","gists_url":"https://api.github.com/users/TomFischer/gists{/gist_id}","starred_url":"https://api.github.com/users/TomFischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomFischer/subscriptions","organizations_url":"https://api.github.com/users/TomFischer/orgs","repos_url":"https://api.github.com/users/TomFischer/repos","events_url":"https://api.github.com/users/TomFischer/events{/privacy}","received_events_url":"https://api.github.com/users/TomFischer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TomFischer/ogs","description":"OGS source code","fork":true,"url":"https://api.github.com/repos/TomFischer/ogs","forks_url":"https://api.github.com/repos/TomFischer/ogs/forks","keys_url":"https://api.github.com/repos/TomFischer/ogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TomFischer/ogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TomFischer/ogs/teams","hooks_url":"https://api.github.com/repos/TomFischer/ogs/hooks","issue_events_url":"https://api.github.com/repos/TomFischer/ogs/issues/events{/number}","events_url":"https://api.github.com/repos/TomFischer/ogs/events","assignees_url":"https://api.github.com/repos/TomFischer/ogs/assignees{/user}","branches_url":"https://api.github.com/repos/TomFischer/ogs/branches{/branch}","tags_url":"https://api.github.com/repos/TomFischer/ogs/tags","blobs_url":"https://api.github.com/repos/TomFischer/ogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TomFischer/ogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TomFischer/ogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/TomFischer/ogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TomFischer/ogs/statuses/{sha}","languages_url":"https://api.github.com/repos/TomFischer/ogs/languages","stargazers_url":"https://api.github.com/repos/TomFischer/ogs/stargazers","contributors_url":"https://api.github.com/repos/TomFischer/ogs/contributors","subscribers_url":"https://api.github.com/repos/TomFischer/ogs/subscribers","subscription_url":"https://api.github.com/repos/TomFischer/ogs/subscription","commits_url":"https://api.github.com/repos/TomFischer/ogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/TomFischer/ogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/TomFischer/ogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/TomFischer/ogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/TomFischer/ogs/contents/{+path}","compare_url":"https://api.github.com/repos/TomFischer/ogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TomFischer/ogs/merges","archive_url":"https://api.github.com/repos/TomFischer/ogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TomFischer/ogs/downloads","issues_url":"https://api.github.com/repos/TomFischer/ogs/issues{/number}","pulls_url":"https://api.github.com/repos/TomFischer/ogs/pulls{/number}","milestones_url":"https://api.github.com/repos/TomFischer/ogs/milestones{/number}","notifications_url":"https://api.github.com/repos/TomFischer/ogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TomFischer/ogs/labels{/name}","releases_url":"https://api.github.com/repos/TomFischer/ogs/releases{/id}","created_at":"2012-11-27T11:49:36Z","updated_at":"2015-05-08T04:13:45Z","pushed_at":"2015-10-12T21:49:56Z","git_url":"git://github.com/TomFischer/ogs.git","ssh_url":"git@github.com:TomFischer/ogs.git","clone_url":"https://github.com/TomFischer/ogs.git","svn_url":"https://github.com/TomFischer/ogs","homepage":"www.opengeosys.org","size":13697,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TomFischer/ogs/pulls/11"},"html":{"href":"https://github.com/TomFischer/ogs/pull/11"},"issue":{"href":"https://api.github.com/repos/TomFischer/ogs/issues/11"},"comments":{"href":"https://api.github.com/repos/TomFischer/ogs/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/TomFischer/ogs/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/TomFischer/ogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TomFischer/ogs/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/TomFischer/ogs/statuses/1c15f46b773d9446e63e4c2a6025cf0a9f58783d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":88,"deletions":46,"changed_files":3}}