{"action":"created","issue":{"url":"https://api.github.com/repos/BayesianLogic/blog/issues/337","labels_url":"https://api.github.com/repos/BayesianLogic/blog/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/BayesianLogic/blog/issues/337/comments","events_url":"https://api.github.com/repos/BayesianLogic/blog/issues/337/events","html_url":"https://github.com/BayesianLogic/blog/issues/337","id":89259940,"number":337,"title":"logarithmic time performance","user":{"login":"davidenitti","id":7438184,"avatar_url":"https://avatars.githubusercontent.com/u/7438184?v=3","gravatar_id":"","url":"https://api.github.com/users/davidenitti","html_url":"https://github.com/davidenitti","followers_url":"https://api.github.com/users/davidenitti/followers","following_url":"https://api.github.com/users/davidenitti/following{/other_user}","gists_url":"https://api.github.com/users/davidenitti/gists{/gist_id}","starred_url":"https://api.github.com/users/davidenitti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidenitti/subscriptions","organizations_url":"https://api.github.com/users/davidenitti/orgs","repos_url":"https://api.github.com/users/davidenitti/repos","events_url":"https://api.github.com/users/davidenitti/events{/privacy}","received_events_url":"https://api.github.com/users/davidenitti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T10:52:08Z","updated_at":"2015-06-18T17:40:09Z","closed_at":null,"body":"Dear,\r\nI am comparing Blog with my language, and I noticed a logarithmic behavior of the time performance of BLOG.\r\nFor example, if I use 1000 samples it takes 0.6 s, if I use 10000 samples it takes 1.5 s (instead of 0.6x10=6), if I use 100000 samples it takes 5.7 s (instead of 1.5x10=15). (excluding parsing time.)\r\nI would aspect that the time is linear with respect to the number of samples. \r\ndo you use parallelization? If so, is there a way to avoid this and use only 1 thread?\r\nis there another reason for this behavior?"},"comment":{"url":"https://api.github.com/repos/BayesianLogic/blog/issues/comments/113231880","html_url":"https://github.com/BayesianLogic/blog/issues/337#issuecomment-113231880","issue_url":"https://api.github.com/repos/BayesianLogic/blog/issues/337","id":113231880,"user":{"login":"jxwuyi","id":5471293,"avatar_url":"https://avatars.githubusercontent.com/u/5471293?v=3","gravatar_id":"","url":"https://api.github.com/users/jxwuyi","html_url":"https://github.com/jxwuyi","followers_url":"https://api.github.com/users/jxwuyi/followers","following_url":"https://api.github.com/users/jxwuyi/following{/other_user}","gists_url":"https://api.github.com/users/jxwuyi/gists{/gist_id}","starred_url":"https://api.github.com/users/jxwuyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxwuyi/subscriptions","organizations_url":"https://api.github.com/users/jxwuyi/orgs","repos_url":"https://api.github.com/users/jxwuyi/repos","events_url":"https://api.github.com/users/jxwuyi/events{/privacy}","received_events_url":"https://api.github.com/users/jxwuyi/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T17:40:09Z","updated_at":"2015-06-18T17:40:09Z","body":"Hi,\n\nWhat model are you using?\n\ndavidenitti <notifications@github.com>于2015年6月18日星期四写道：\n\n> Dear,\n> I am comparing Blog with my language, and I noticed a logarithmic behavior\n> of the time performance of BLOG.\n> For example, if I use 1000 samples it takes 0.6 s, if I use 10000 samples\n> it takes 1.5 s (instead of 0.6x10=6), if I use 100000 samples it takes 5.7\n> s (instead of 1.5x10=15). (excluding parsing time.)\n> I would aspect that the time is linear with respect to the number of\n> samples. It also seems that there is no parallelization (initialization\n> excluded). Am I right?\n> can you give an explanation of this?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/BayesianLogic/blog/issues/337>.\n>\n"}}