{"id":3017,"date":"2010-08-23T08:28:40","date_gmt":"2010-08-23T07:28:40","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/3017-measuring-start-up-time-for-net-java-c.html"},"modified":"2010-08-23T08:28:40","modified_gmt":"2010-08-23T07:28:40","slug":"measuring-start-up-time-for-net-java-c","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/3017-measuring-start-up-time-for-net-java-c.html","title":{"rendered":"Measuring start-up time for .NET, Java, C++"},"content":{"rendered":"<p>A <a href=\"http:\/\/www.itwriting.com\/blog\/2611-java-versus-cc-performance-which-is-really-faster.html\/comment-page-1#comment-231918\">comment<\/a> here points me to <a href=\"http:\/\/www.codeproject.com\/KB\/dotnet\/RuntimePerformance.aspx\" target=\"_blank\">this comparison<\/a> by Decebal Mihailescu of start-up times for processes on Windows using different runtimes: .NET in several versions, Java 1.6, Mono 2.6.4, and Visual C++ 2010 (native code).<\/p>\n<p><a href=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2010\/08\/image15.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2010\/08\/image_thumb15.png\" width=\"404\" height=\"249\" \/><\/a> <\/p>\n<p>It is notable that native code is much faster than the runtimes, and that .NET is ahead of Java \u2013 to be expected, perhaps, since Windows is its native environment.<\/p>\n<p>The test application is tiny and when we are talking about a time of less than a tenth of a second, users are unlikely to care much. I would like to see tests based on a larger application; on the other hand it becomes increasingly difficult to make a fair comparison.<\/p>\n<p>It\u2019s a shame Embarcadero Delphi was not included, though I\u2019d expect similar figures to those for Visual C++.<\/p>\n<p>Start-up time is critical to perceived performance. One reason I use an ancient version of Paint Shop Pro for simple image manipulation is that I can double-click an image and be editing it instantly, whereas alternatives like Adobe PhotoShop or the free <a href=\"http:\/\/www.getpaint.net\/\" target=\"_blank\">paint.net<\/a> make me wait. Unless I need the extra features these provide, I stick with fast and simple.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A comment here points me to this comparison by Decebal Mihailescu of start-up times for processes on Windows using different runtimes: .NET in several versions, Java 1.6, Mono 2.6.4, and Visual C++ 2010 (native code). It is notable that native code is much faster than the runtimes, and that .NET is ahead of Java \u2013 &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/3017-measuring-start-up-time-for-net-java-c.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Measuring start-up time for .NET, Java, C++<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,49,67,80,94,97],"tags":[318,512,607,716,953],"class_list":["post-3017","post","type-post","status-publish","format-standard","hentry","category-net","category-java","category-professional","category-software-development","category-visual-studio","category-windows","tag-delphi","tag-java","tag-mono","tag-performance","tag-visual-c"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=3017"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3017\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=3017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=3017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=3017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}