{"id":1577,"date":"2022-02-03T14:24:38","date_gmt":"2022-02-03T19:24:38","guid":{"rendered":"http:\/\/kaichen.work\/?p=1577"},"modified":"2022-02-04T11:37:29","modified_gmt":"2022-02-04T16:37:29","slug":"a-test-on-stata-running-speed-on-macbook-pro-m1-pro-and-imac-intel-i9","status":"publish","type":"post","link":"https:\/\/www.kaichen.work\/?p=1577","title":{"rendered":"A test on Stata running speed on MacBook Pro (M1 Pro chip) and old Macs"},"content":{"rendered":"<p>I ran a test on Stata running speed on my newest MacBook Pro (14-inch, 2021) and two old Macs\u2014iMac (27-inch, 2019) and MacBook Pro (16-inch, 2019).<\/p>\n<p>Technical specifications:<\/p>\n<ul>\n<li>MacBook Pro (14-inch, 2021): CPU Apple M1 Pro (10-core), memory 16G, SSD 1T<\/li>\n<li>iMac (27-inch, 2019): CPU Intel i9-9900K (3.6GHz 8-core), memory 64G, SSD 1T<\/li>\n<li>MackBook Pro (16-inch, 2019): CPU Intel i9-9880H (2.3 GHz 8-core), memory 16G, SSD 1T<\/li>\n<\/ul>\n<p>The Stata code I tested includes some simple commands only, such as loop, egen, and merge. As I&#8217;m using Stata SE, the single-core performance of the three Macs should be the most important determinant.<\/p>\n<p>MacBook Pro (2021) took 65.71 seconds to complete the test, while iMac (2019) took 96.59 seconds and MacBook Pro (2019) 117.16 seconds.<\/p>\n<p>I&#8217;m surprised to see this result. The M1 Pro chip seems a beast!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran a test on Stata running speed on my newest MacBook Pro (14-inch, 2021) and two old Macs\u2014iMac (27-inch, 2019) and MacBook Pro (16-inch, 2019). Technical specifications: MacBook Pro (14-inch, 2021): CPU Apple M1 Pro (10-core), memory 16G, SSD &hellip; <a href=\"https:\/\/www.kaichen.work\/?p=1577\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts\/1577"}],"collection":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1577"}],"version-history":[{"count":12,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts\/1577\/revisions"}],"predecessor-version":[{"id":1589,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=\/wp\/v2\/posts\/1577\/revisions\/1589"}],"wp:attachment":[{"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaichen.work\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}