{"id":1439,"date":"2017-11-04T17:34:56","date_gmt":"2017-11-04T17:34:56","guid":{"rendered":"http:\/\/www.pycheung.com\/weblog\/?p=1439"},"modified":"2017-11-04T22:09:30","modified_gmt":"2017-11-04T22:09:30","slug":"1439","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/1439","title":{"rendered":"Test ghpythonlib.parallel"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-1440\" src=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/2017\/11\/flexi_CA_compare_226-800x450.png\" alt=\"CA_compare_226\" width=\"800\" height=\"450\" srcset=\"https:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/2017\/11\/flexi_CA_compare_226-800x450.png 800w, https:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/2017\/11\/flexi_CA_compare_226-270x151.png 270w, https:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/2017\/11\/flexi_CA_compare_226-1024x576.png 1024w, https:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/2017\/11\/flexi_CA_compare_226-120x67.png 120w, https:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/2017\/11\/flexi_CA_compare_226.png 1920w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>Execution time (milliseconds) for a simple CA implementation in python within rhino grasshopper using ghpython parallel (red line) and without (blue line)<\/p>\n<p>Execution time is recorded every time step for both with and without parallel. Both verified to give same results for each step on the left.<\/p>\n<p>Number of on cells (yellow line) and\u00a0 empty neighbouring cells (green line) are shown as reference.<\/p>\n<p>In general, the multiprocessing version yields lower execution time as expected. Although occasionally it performs less well as the one without.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Execution time (milliseconds) for a simple CA implementation in python within rhino grasshopper using ghpython parallel (red line) and without (blue line) Execution time is recorded every time step for&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/1439\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1440,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[155],"tags":[],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/1439"}],"collection":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/comments?post=1439"}],"version-history":[{"count":7,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/1439\/revisions"}],"predecessor-version":[{"id":1447,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/1439\/revisions\/1447"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1440"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=1439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=1439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=1439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}