{"id":3143,"date":"2020-08-10T02:50:00","date_gmt":"2020-08-10T06:50:00","guid":{"rendered":"https:\/\/www.tmurgent.com\/TmBlog\/?p=3143"},"modified":"2020-08-10T07:22:43","modified_gmt":"2020-08-10T11:22:43","slug":"msix-appattach-publishing-performance-details","status":"publish","type":"post","link":"https:\/\/www.tmurgent.com\/TmBlog\/?p=3143","title":{"rendered":"MSIX AppAttach Publishing Performance Details"},"content":{"rendered":"\n<p>Last week, I <a rel=\"noopener noreferrer\" href=\"https:\/\/www.tmurgent.com\/TmBlog\/?p=3139\" target=\"_blank\">posted about MSIX AppAttach publishing performance<\/a>, comparing against regular MSIX and App-V publishing at a high level.<\/p>\n\n\n\n<p>Today I have information on tests detailing where MSIX AppAttach publishing spends the time.&nbsp; The &#8220;publishing&#8221; process consists of four steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Mounting the VHD<\/li><li>Creating the Junction Point<\/li><li>Using PackageManager to &#8220;Stage&#8221; the package<\/li><li>Using Add-AppXPackage with the -Register parameter to complete registration to the user.<\/li><\/ol>\n\n\n\n<p>The results of testing against the 25 packages used in the previous test are shown in the pie chart below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"528\" height=\"472\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2020\/08\/AppAttachDetail.png\" alt=\"\" class=\"wp-image-3144\" srcset=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2020\/08\/AppAttachDetail.png 528w, https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2020\/08\/AppAttachDetail-300x268.png 300w\" sizes=\"auto, (max-width: 528px) 100vw, 528px\" \/><\/figure><\/div>\n\n\n\n<p>The VHD mount only accounted for less than 10% of the time spent, whereas the PackageManager Staging operation took almost 60%.  And this is in spite of much of the work being performed asynchronously by a background windows service!  Exactly what PackageManager is doing isn&#8217;t documented, but clearly this will be the part that needs the most attention if publishing performance is to be addressed.<\/p>\n\n\n\n<p>Next up, will be a look at application launching performance. I think that you&#8217;ll be happy with the results. Stay tuned&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week, I posted about MSIX AppAttach publishing performance, comparing against regular MSIX and App-V publishing at a high level. Today I have information on tests detailing where MSIX AppAttach publishing spends the time.&nbsp; The &#8220;publishing&#8221; process consists of four steps: Mounting the VHD Creating the Junction Point Using PackageManager to &#8220;Stage&#8221; the package Using&hellip; <a class=\"more-link\" href=\"https:\/\/www.tmurgent.com\/TmBlog\/?p=3143\">Continue reading <span class=\"screen-reader-text\">MSIX AppAttach Publishing Performance Details<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[53,49],"tags":[],"class_list":["post-3143","post","type-post","status-publish","format-standard","hentry","category-msix","category-performance","entry"],"_links":{"self":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/3143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3143"}],"version-history":[{"count":2,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/3143\/revisions"}],"predecessor-version":[{"id":3146,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/3143\/revisions\/3146"}],"wp:attachment":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}