Re: NUnit 2.4.4 very slow :-S

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <00bf01c81bd1$bc362900$6501a8c0@FERRARI>
Hi Pieter,
 
I can see that there is a need for a way to configure this, without writing
code. I'll think about how to do it for the next release.
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Pieter
Coucke
Sent: Wednesday, October 31, 2007 8:08 AM
To: [email protected]
Subject: Re: [Nunit-users] NUnit 2.4.4 very slow :-S


Ok I found why this happens: I'm using NHibernate, and NHibernate sends tons
of log4net messages...
 
I disabled any log4net message like this, and now the speed is only a little
bit slower than before, but certainly acceptable:
 
'if NHibernate sends its logging, NUnit 2.4.4 takes ages of time...
'so we disable log4net...
Dim appender As log4net.Appender.AppenderSkeleton
For Each appender In log4net.LogManager.GetRepository().GetAppenders
appender.Threshold = log4net.Core.Level.Off
appender.ActivateOptions()
Next
 
 
Thanks!
 
Pieter




  _____  

From: [email protected]
To: [email protected]; [email protected]
Subject: RE: [Nunit-users] NUnit 2.4.4 very slow :-S
Date: Tue, 30 Oct 2007 19:15:28 -0700


Hi Pieter,
 
You should only see logging output if you have enabled log4net logging for
your tests or system under test. If you are seeing any logging that you
didn't initiate, please file a bug.
 
While displaying the log output could slow things down a little, I don't
think it would account for the level of impact you are desribing.
Do you see this for all tests? For example, what happens if you run the
NUnit tests themselves?
 
Charlie


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Pieter
Coucke
Sent: Tuesday, October 30, 2007 6:53 AM
To: [email protected]
Subject: [Nunit-users] NUnit 2.4.4 very slow :-S


Hi,

I just migrated from NUnit 2.4.1 to 2.4.4 and it became incredably slow!
Tests which took only some seconds are taking serveral minutes now!

Any idea why this happens and how to have normal speed? I notived that there
are tons of output in the Log-tab. I tried to disable the tab, but the
speeds is still the same...


Kind regards,

Pieter



  _____  

De snelle weg naar een praatje Windows Live Messenger
<http://messenger.live.com/>  


  _____  

Deel je gedachten direct met je vrienden Windows Live Messenger
<http://messenger.live.com>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.