It's very slow

It's very slow

I only chose to profile 1 assembly, and it's still extremely slow; unusable for me. Am I doing something wrong?



  C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug\Toad.exe
  C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug
  Toad
  Coverage.xml
  Xml2
  false
  Coverage.log
  false
  false
  true

NCover.Console v2.0.4 (x86) - Code Coverage Analysis for .NET Copyright (c) 2003-2007 Gnoso Inc. http://www.ncover.com

Registered to Customer #: 8376 NCover Enterprise Edition (1 User) 30 days left in the trial period.

Command: C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug\Toad.exe Command Args: Working Directory: C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug Assemblies: Toad

Program Output

*** Aborted by user.


RE: It's very slow

do you get log output? how large is the assembly?


RE: It's very slow

The size of the Toad.exe assembly is only 340KB. A Coverage.log file was indeed generated. I noticed at the end of this log file that it has a message about ToadCore.dll. I didn't specify to include coverage of that file, although I eventually want to. I can't attach it as this forum doesn't seem to support attachments. And I can't copy the contents as it's 20KB long.

(0x00004E10)MESSAGE: ModuleLoadStarted ---- Module: 0x00f12d8c; 0x00000004 (0x00004E10)MESSAGE: Loaded symbols for module [C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug\Toad.exe] in [C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug]. (0x00004E10)MESSAGE: ModuleLoadFinished ---- Module[C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug\Toad.exe]: 0x00f12d8c; 0x00000004 (0x00004E10)MESSAGE: ModuleAttachedToAssembly ---- Module[C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug\Toad.exe]: 0x00f12d8c; 0x00000004 attached To Assembly[]: 0x0018a570; 0x00000002 (0x00004E10)MESSAGE: Assembly Identity [Toad, Version=4.0.0.32879, Culture=neutral, PublicKeyToken=null, processorArchitecture=x86]. (0x00004E10)EVENT: Monitoring Assembly [Toad][0x0018a570] (0x00004E10)MESSAGE: AssemblyLoadFinished ---- Assembly[Toad]: 0x0018a570; 0x00000002 (0x00004E10)MESSAGE: AssemblyLoadStarted ---- Assembly: 0x00191210; 0x00000003 (0x00004E10)MESSAGE: ModuleLoadStarted ---- Module: 0x7b454000; 0x00000005 (0x00004E10)MESSAGE: AssemblyLoadStarted ---- Assembly: 0x00190f88; 0x00000004 (0x00004E10)MESSAGE: ModuleLoadStarted ---- Module: 0x7a726000; 0x00000006 (0x00004E10)MESSAGE: AssemblyLoadStarted ---- Assembly: 0x00190868; 0x00000005 (0x00004E10)MESSAGE: ModuleLoadStarted ---- Module: 0x7ae74000; 0x00000007 (0x00004E10)MESSAGE: Failed to load symbols for module [C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0b77a5c561934e089\System.Windows.Forms.dll] in [C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0b77a5c561934e089]. (0x00004E10)MESSAGE: ModuleLoadFinished ---- Module[C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0b77a5c561934e089\System.Windows.Forms.dll]: 0x7b454000; 0x00000005 (0x00004E10)MESSAGE: ModuleAttachedToAssembly ---- Module[C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0b77a5c561934e089\System.Windows.Forms.dll]: 0x7b454000; 0x00000005 attached To Assembly[]: 0x00191210; 0x00000003 (0x00004E10)MESSAGE: Assembly Identity [System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL]. (0x00004E10)EVENT: Loaded Unmonitored Assembly [System.Windows.Forms][0x00191210] (0x00004E10)MESSAGE: AssemblyLoadFinished ---- Assembly[System.Windows.Forms]: 0x00191210; 0x00000003 (0x00004E10)MESSAGE: Failed to load symbols for module [C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0b77a5c561934e089\System.dll] in [C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0b77a5c561934e089]. (0x00004E10)MESSAGE: ModuleLoadFinished ---- Module[C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0b77a5c561934e089\System.dll]: 0x7a726000; 0x00000006 (0x00004E10)MESSAGE: ModuleAttachedToAssembly ---- Module[C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0b77a5c561934e089\System.dll]: 0x7a726000; 0x00000006 attached To Assembly[]: 0x00190f88; 0x00000004 (0x00004E10)MESSAGE: Assembly Identity [System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL]. (0x00004E10)EVENT: Loaded Unmonitored Assembly [System][0x00190f88] (0x00004E10)MESSAGE: AssemblyLoadFinished ---- Assembly[System]: 0x00190f88; 0x00000004 (0x00004E10)MESSAGE: Failed to load symbols for module [C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0b03f5f7f11d50a3a\System.Drawing.dll] in [C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0b03f5f7f11d50a3a]. (0x00004E10)MESSAGE: ModuleLoadFinished ---- Module[C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0b03f5f7f11d50a3a\System.Drawing.dll]: 0x7ae74000; 0x00000007 (0x00004E10)MESSAGE: ModuleAttachedToAssembly ---- Module[C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0b03f5f7f11d50a3a\System.Drawing.dll]: 0x7ae74000; 0x00000007 attached To Assembly[]: 0x00190868; 0x00000005 (0x00004E10)MESSAGE: Assembly Identity [System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL]. (0x00004E10)EVENT: Loaded Unmonitored Assembly [System.Drawing][0x00190868] (0x00004E10)MESSAGE: AssemblyLoadFinished ---- Assembly[System.Drawing]: 0x00190868; 0x00000005 (0x00004E10)MESSAGE: AssemblyLoadStarted ---- Assembly: 0x001a63b8; 0x00000006 (0x00004E10)MESSAGE: ModuleLoadStarted ---- Module: 0x00f16304; 0x00000008 (0x00004E10)MESSAGE: Loaded symbols for module [C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug\ToadCore.dll] in [C:\Work\Toad.Net\Dev\Source\Toad\bin\Debug].


RE: It's very slow

By default, NCover will profile all of the assemblies that your application loads. If you want to tell NCover to profile only some assemblies, use the //a syntax, which you can read more about here:

http://www.ncover.com/documentation/console/profilingoptions