{"id":450,"date":"2011-01-19T15:16:49","date_gmt":"2011-01-19T22:16:49","guid":{"rendered":"http:\/\/mattfife.net\/wordpress\/?p=450"},"modified":"2012-08-12T19:18:02","modified_gmt":"2012-08-13T02:18:02","slug":"multi-core-compiling-in-visual-studio","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=450","title":{"rendered":"Multi-core compiling in Visual Studio"},"content":{"rendered":"<p>You might already know this, but this is for those of you that want to compile extra-fast on your multi-core beast.\u00a0 Bet you didn&#8217;t know that by default, most versions of Visual Studio do NOT use multi-core compiling.\u00a0 So, to turn it on, do this in visual studio:<\/p>\n<p>Tools &gt; Options &gt; Projects and Solutions &gt; Build and Run &gt; maximum number of parallel project builds<\/p>\n<p>Set this to the number of cores you have (or the number of cores you have -1 if you want to do things on your desktop while compiling extra-big things).<\/p>\n<p>To see if it&#8217;s working, when you compile, in the compiler output window at the bottom you should see each line prefixed by a number like this:<br \/>\n1&gt;blahblah<br \/>\n4&gt;blahblah<br \/>\n3&gt;blahblah<\/p>\n<p>Those prefix numbers tell you which &#8216;core&#8217; the message is coming from.\u00a0 I find this speeds up your compile times dramatically &#8211; especially on large projects.\u00a0 Give it a try!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You might already know this, but this is for those of you that want to compile extra-fast on your multi-core beast.\u00a0 Bet you didn&#8217;t know that by default, most versions of Visual Studio do NOT use multi-core compiling.\u00a0 So, to turn it on, do this in visual studio: Tools &gt; Options &gt; Projects and Solutions &gt; Build and Run &gt; maximum number of parallel project builds Set this to the number of cores you have (or the number of cores&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?p=450\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[],"class_list":["post-450","post","type-post","status-publish","format-standard","hentry","category-technicalprogramming"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-7g","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=450"}],"version-history":[{"count":1,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/450\/revisions"}],"predecessor-version":[{"id":578,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/450\/revisions\/578"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}