Re: [WiX-users] Possible performance issues

2012-10-18 Thread Rob Mensching
The time is all taken through here:

[0AC8:09A0][2012-10-15T13:01:44]: Setting string variable 'WixBundleName'
tovalue 'mTest setup'
[0AC8:09A0][2012-10-15T13:01:47]: Loading managed bootstrapper application.
[0AC8:09A0][2012-10-15T13:01:51]: Bootstrapper application started
10/15/2012 1:01:50 PM
[0AC8:09A0][2012-10-15T13:01:51]: Creating BA thread to run asynchronously.
[0AC8:041C][2012-10-15T13:01:56]: About to detect... 10/15/2012 1:01:56 PM

1. 13:01:44 - 13:01:47 - The slowest thing that happens during the first
three seconds is that your BA payloads are extracted to a temp folder. How
large is your BA payload? How many files are in your %TEMP%? That's the
stuff to look at.

2. 13:01:47 - 13:01:51 - The next 4 seconds are spent spinning up NETFX and
whatever it takes for your BA to load. There is basically no Burn code
running at this time so you'll need to look at how quickly your managed
code can start.

3. 13:01:51 - 13:01:56 - This code is all in your managed BA. You'll want
to look at performance here.

I saw the VS guys investigating the performance of their BA recently and
two things seemed to be taking all the time that mapped to #2 and #3 above

#2 WPF takes a bit to warm up, especially with more complex XAML documents.
The VS BA had a very complex single page XAML that was slowing the first
page come up.

#3. The VS BA used XML Serialization to read some XML files. XML
Serialization is slow because it generates an assembly to do the
serialization.



On Thu, Oct 18, 2012 at 4:53 AM, Jansson  wrote:

> Hi,
> thank you for your interest in our case.
>
> Here is a log that the simple bootstrapper installation produced on one of
> the machines where we find performance to be too slow:
>
> /[0AC8:09A0][2012-10-15T13:01:43]: Burn v3.6.3303.0, Windows v6.1 (Build
> 7601: Service Pack 1), path: C:\Users\[user]\Desktop\mTest.exe, cmdline:
> '-burn.unelevated BurnPipe.{2227B993-7B79-4FBE-A17E-21281FA82534}
> {7DC0235A-8A54-4BF8-AB35-5F3AAAB1BDFD} 792'
> [0AC8:09A0][2012-10-15T13:01:43]: Setting string variable 'WixBundleLog' to
> value 'C:\Users\[user]\AppData\Local\Temp\mTest_setup_20121015130143.log'
> [0AC8:09A0][2012-10-15T13:01:43]: Setting string variable
> 'WixBundleOriginalSource' to value 'C:\Users\[user]\Desktop\mTest.exe'
> [0AC8:09A0][2012-10-15T13:01:44]: Setting string variable 'WixBundleName'
> to
> value 'mTest setup'
> [0AC8:09A0][2012-10-15T13:01:47]: Loading managed bootstrapper application.
> [0AC8:09A0][2012-10-15T13:01:51]: Bootstrapper application started
> 10/15/2012 1:01:50 PM
> [0AC8:09A0][2012-10-15T13:01:51]: Creating BA thread to run asynchronously.
> [0AC8:041C][2012-10-15T13:01:56]: About to detect... 10/15/2012 1:01:56 PM
> [0AC8:09A0][2012-10-15T13:01:56]: Detect 2 packages
> [0AC8:041C][2012-10-15T13:01:56]: About to plan...10/15/2012 1:01:56 PM
> [0AC8:041C][2012-10-15T13:01:56]: About to display UI ...10/15/2012 1:01:56
> PM
> [0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
> 'Netfx4x64FullVersion' to value '4.0.30319'
> [0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
> 'Netfx4FullVersion' to value '4.0.30319'
> [0AC8:09A0][2012-10-15T13:01:56]: Condition 'VersionNT64' evaluates to
> true.
> [0AC8:09A0][2012-10-15T13:01:56]: Detected package: Netfx4Full, state:
> Present, cached: None
> [0AC8:09A0][2012-10-15T13:01:56]: Detected package: Proxy, state: Absent,
> cached: None
> [0AC8:09A0][2012-10-15T13:01:56]: Detect complete, result: 0x0
> [0AC8:09A0][2012-10-15T13:01:56]: Plan 2 packages, action: Install
> [0AC8:09A0][2012-10-15T13:01:56]: Skipping dependency registration on
> package with no dependency providers: Netfx4Full
> [0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
> 'WixBundleRollbackLog_Proxy' to value
>
> 'C:\Users\[user]\AppData\Local\Temp\mTest_setup_20121015130143_0_Proxy_rollback.log'
> [0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
> 'WixBundleLog_Proxy' to value
> 'C:\Users\[user]\AppData\Local\Temp\mTest_setup_20121015130143_0_Proxy.log'
> [0AC8:09A0][2012-10-15T13:01:56]: Planned package: Netfx4Full, state:
> Present, default requested: Present, ba requested: Present, execute: None,
> rollback: None, cache: No, uncache: No, dependency: None
> [0AC8:09A0][2012-10-15T13:01:56]: Planned package: Proxy, state: Absent,
> default requested: Present, ba requested: Present, execute: Install,
> rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
> [0AC8:09A0][2012-10-15T13:01:56]: Plan complete, result: 0x0
> [0AC8:09A0][2012-10-15T13:01:56]: Apply begin
> [0318:0314][2012-10-15T13:01:56]: Creating a system restore point.
> [0318:0314][2012-10-15T13:01:57]: Could not create system restore point,
> error: 0x80070422. Continuing...
> [0318:0314][2012-10-15T13:01:57]: Caching bundle from:
>
> 'C:\Users\[user]\AppData\Local\Temp\{c395d844-500d-487f-9357-421e9d9c53a6}\.be\mTest.exe'
> to: 'C:\ProgramData\Package
> Cache\{c395d844-500d-487f-9357-421e9d9c53a6}\mTest.exe'
> [0318:0314][2012-10-15T13:01:57]:

Re: [WiX-users] Possible performance issues

2012-10-18 Thread Jansson
Hi,
thank you for your interest in our case.

Here is a log that the simple bootstrapper installation produced on one of
the machines where we find performance to be too slow:

/[0AC8:09A0][2012-10-15T13:01:43]: Burn v3.6.3303.0, Windows v6.1 (Build
7601: Service Pack 1), path: C:\Users\[user]\Desktop\mTest.exe, cmdline:
'-burn.unelevated BurnPipe.{2227B993-7B79-4FBE-A17E-21281FA82534}
{7DC0235A-8A54-4BF8-AB35-5F3AAAB1BDFD} 792'
[0AC8:09A0][2012-10-15T13:01:43]: Setting string variable 'WixBundleLog' to
value 'C:\Users\[user]\AppData\Local\Temp\mTest_setup_20121015130143.log'
[0AC8:09A0][2012-10-15T13:01:43]: Setting string variable
'WixBundleOriginalSource' to value 'C:\Users\[user]\Desktop\mTest.exe'
[0AC8:09A0][2012-10-15T13:01:44]: Setting string variable 'WixBundleName' to
value 'mTest setup'
[0AC8:09A0][2012-10-15T13:01:47]: Loading managed bootstrapper application.
[0AC8:09A0][2012-10-15T13:01:51]: Bootstrapper application started
10/15/2012 1:01:50 PM
[0AC8:09A0][2012-10-15T13:01:51]: Creating BA thread to run asynchronously.
[0AC8:041C][2012-10-15T13:01:56]: About to detect... 10/15/2012 1:01:56 PM
[0AC8:09A0][2012-10-15T13:01:56]: Detect 2 packages
[0AC8:041C][2012-10-15T13:01:56]: About to plan...10/15/2012 1:01:56 PM
[0AC8:041C][2012-10-15T13:01:56]: About to display UI ...10/15/2012 1:01:56
PM
[0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
'Netfx4x64FullVersion' to value '4.0.30319'
[0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
'Netfx4FullVersion' to value '4.0.30319'
[0AC8:09A0][2012-10-15T13:01:56]: Condition 'VersionNT64' evaluates to true.
[0AC8:09A0][2012-10-15T13:01:56]: Detected package: Netfx4Full, state:
Present, cached: None
[0AC8:09A0][2012-10-15T13:01:56]: Detected package: Proxy, state: Absent,
cached: None
[0AC8:09A0][2012-10-15T13:01:56]: Detect complete, result: 0x0
[0AC8:09A0][2012-10-15T13:01:56]: Plan 2 packages, action: Install
[0AC8:09A0][2012-10-15T13:01:56]: Skipping dependency registration on
package with no dependency providers: Netfx4Full
[0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
'WixBundleRollbackLog_Proxy' to value
'C:\Users\[user]\AppData\Local\Temp\mTest_setup_20121015130143_0_Proxy_rollback.log'
[0AC8:09A0][2012-10-15T13:01:56]: Setting string variable
'WixBundleLog_Proxy' to value
'C:\Users\[user]\AppData\Local\Temp\mTest_setup_20121015130143_0_Proxy.log'
[0AC8:09A0][2012-10-15T13:01:56]: Planned package: Netfx4Full, state:
Present, default requested: Present, ba requested: Present, execute: None,
rollback: None, cache: No, uncache: No, dependency: None
[0AC8:09A0][2012-10-15T13:01:56]: Planned package: Proxy, state: Absent,
default requested: Present, ba requested: Present, execute: Install,
rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0AC8:09A0][2012-10-15T13:01:56]: Plan complete, result: 0x0
[0AC8:09A0][2012-10-15T13:01:56]: Apply begin
[0318:0314][2012-10-15T13:01:56]: Creating a system restore point.
[0318:0314][2012-10-15T13:01:57]: Could not create system restore point,
error: 0x80070422. Continuing...
[0318:0314][2012-10-15T13:01:57]: Caching bundle from:
'C:\Users\[user]\AppData\Local\Temp\{c395d844-500d-487f-9357-421e9d9c53a6}\.be\mTest.exe'
to: 'C:\ProgramData\Package
Cache\{c395d844-500d-487f-9357-421e9d9c53a6}\mTest.exe'
[0318:0314][2012-10-15T13:01:57]: Registering bundle dependency provider:
{c395d844-500d-487f-9357-421e9d9c53a6}, version: 1.0.0.0
/

I hope the reason the machine (most other machines perform well or
acceptable) , but how can I know for sure?

Best regards,
Mattias



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Possible-performance-issues-tp7581346p7581438.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Possible performance issues

2012-10-15 Thread Rob Mensching
The Burn log file has timestamps for just about every action. Can you share
the log file?

On Mon, Oct 15, 2012 at 7:00 AM, Jansson  wrote:

> Hi all,
>
> We are developing a burn bootstrapper application and have encountered
> performance issues on some machines. On those machines, the setup takes
> about seven seconds before the UI is even requested, but it should be noted
> that the worst scenarios were produced after a reboot. We have tried to
> pinpoint what the reason is. Also a greatly simplified package (containing
> a
> 2.5 mb msi with only Run() with detect() and plan() followed by a
> messagebox
> that when pressed triggers apply()) suffers from these problems.
>
> Has anyone suffered from similar problems? Has anyone any clue on which
> parameters that can affect performance or what tools that can be useful for
> our troubleshooting (so far, we have used logging, process monitor, testing
> on different computers and removal of dependencies)?
>
> Best Regards,
> Mattias
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Possible-performance-issues-tp7581346.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> --
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users