Re: NUnit 2.4.4 very slow :-S

Pieter Coucke <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
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]: [email protected]; [email protected]: RE: [Nunit-users] NUnit 2.4.4 very slow :-SDate: 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 CouckeSent: Tuesday, October 30, 2007 6:53 AMTo: [email protected]: [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 thereare tons of output in the Log-tab. I tried to disable the tab, but thespeeds is still the same...Kind regards,Pieter

De snelle weg naar een praatje Windows Live Messenger 
_________________________________________________________________
Deel al je foto's met je vrienden! Maak je eigen online plek!
http://spaces.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.