View Full Version : EL is sooooo slow
binkle
31-May-2010, 02:44 PM
Hi,
when an exception occurs my app freezes about 30 seconds until the EL dialog appears.
If you then click on the "details" link you the same again. - About 30 seconds freeze until the log opens.
Any idea why this is soooo slow?
(I'm using V3.5.8)
Greetings
Harry
Boro
01-Jun-2010, 12:05 PM
Hi,
The time needed for EurekaLog.NET to generate the reports varies and depends on the performance characteristics of the hardware it's run on, the complexity of the project and the complexity of the exception, itself.
Try running your app with /EL_PROFILE command line argument. This will make EurekaLog.NET time the duration of the separate logical stages in its process and display the results at the end.
We can use that to analyze why it's taking that long.
binkle
02-Jun-2010, 07:44 AM
Hi,
can I set a property when activating EL to turn on profiling?
My assembly is a library loaded by an unmanaged executable (MMC.exe).
Boro
03-Jun-2010, 05:22 PM
Hi,
I'm afraid not. The only way to activate the profiling is through /EL_PROFILE .
binkle
07-Jun-2010, 07:59 AM
Hi,
I played a bit with some exceptions in my project and in a simple test project.
I noticed that some exception take very long time until the first EL dialog appears in my MMC project. And some and some are ok but still not fast.
There are still two things which really need to be improved:
1. even a simple test project like this:
public partial class Form1 : Form
{
static Form1()
{
EurekaLogSystem.ExceptionHandler.Activate();
Jam.Utils.Eurekalog.ApplyStandardSettings("test@test.com", true);
//AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_Unhan dledException);
}
public Form1()
{
InitializeComponent();
}
void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
MessageBox.Show(Environment.StackTrace.ToString()) ;
}
private void Form1_Click(object sender, EventArgs e)
{
throw new NotImplementedException();
}
}
needs a minimum of 6 seconds to display the first EL dialog.
And my machine is not slow: 3,0GHz Intel Core Duo CPU with 4GB RAM
2. Even when the first EL dialog finally appeared it needs further (long) time when clicking on the "details link".
Please improve the performance!!!
You may send me a version where I can set the "/EL_Profile" option programmatically during runtime so I ca provide real time stamps.
(e.g. a property like: EurekaLogSystem.ExceptionHandler.Profiling)
Some kind of exceptions, especially those related to application settings and bindings objects are really slow reported. EL needs about 20 seconds until the first dialog appears and meanwhile windows 7 greys the window and says "not responding".
If you don't manage to speed up it up, like gathering some information in a thread after activating EL you may think about some kind of splash screen telling the user what's going on (e.g. "An exception occurred. Gathering information...")
Greetings
Harry
Boro
14-Jun-2010, 08:30 AM
If you don't manage to speed up it up, like gathering some information in a thread after activating EL you may think about some kind of splash screen telling the user what's going on (e.g. "An exception occurred. Gathering information...")
Hi,
This is actually a good idea. I suggest you post it in the suggestions forum here (http://news.eurekalog.com/forumdisplay.php?f=12), so the idea can be voted on.
binkle
14-Jun-2010, 10:07 AM
So I did....
http://news.eurekalog.com/showthread.php?t=2694
Boro
17-Jun-2010, 11:28 AM
Hi,
Thanks for the suggestion. It is up to the EurekaLog community now to vote it up.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.