You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Michael Schall <mi...@gmail.com> on 2006/10/26 18:46:15 UTC
Profiling .Net code
We are running into some performance issues in our applications using
iBatis. Looking at a log4net rolling file, times from start to finish of
select statements can vary from 15ms to 400+ms for the same call with a sql
trace saying that the sp has 0 duration. I am looking for a profiling tool
that can help us pin point where this time is being spent. I have
downloaded nprof, but it is not the easiest to use, and there are no docs
helping me out.
What are people out there using for a profiling tool? What have you tried
and liked / not liked?
Thanks.
Mike
Re: Profiling .Net code
Posted by Gilles Bayon <ib...@gmail.com>.
I think Ron can have one for NLog
On 10/27/06, Michael Schall <mi...@gmail.com> wrote:
>
> Yes and no... If we turn off logging (log4net 1.2.10), the issue goes
> away... I would think that logging would be a fairly consistent hit. We
> are using the RollingFileAppender. I am looking into the
> BufferedForwardingAppender which would then push to the file. I don't want
> to lose the log that crashes the system. How do others have their logging
> setup?
>
> I was looking at nLog, and they have a asyncWrapper that looks
> interesting. Does anyone have a IBatisNet.Common.Logging.NLog.dllimplementation?
--
Cheers,
Gilles
<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>
Re: Profiling .Net code
Posted by Michael Schall <mi...@gmail.com>.
Yes and no... If we turn off logging (log4net 1.2.10), the issue goes
away... I would think that logging would be a fairly consistent hit. We
are using the RollingFileAppender. I am looking into the
BufferedForwardingAppender which would then push to the file. I don't want
to lose the log that crashes the system. How do others have their logging
setup?
I was looking at nLog, and they have a asyncWrapper that looks interesting.
Does anyone have a IBatisNet.Common.Logging.NLog.dll implementation?
On 10/27/06, Gilles Bayon <ib...@gmail.com> wrote:
>
> Have you resolve your problem ?
>
> On 10/26/06, Michael Schall <mi...@gmail.com> wrote:
> >
> > We are running into some performance issues in our applications using
> > iBatis. Looking at a log4net rolling file, times from start to finish of
> > select statements can vary from 15ms to 400+ms for the same call with a sql
> > trace saying that the sp has 0 duration. I am looking for a profiling tool
> > that can help us pin point where this time is being spent. I have
> > downloaded nprof, but it is not the easiest to use, and there are no docs
> > helping me out.
> >
> > What are people out there using for a profiling tool? What have you
> > tried and liked / not liked?
> >
> > Thanks.
> > Mike
> >
>
>
>
> --
> Cheers,
> Gilles
>
> <a href=" http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>