> trace to a file which makes Axis
> run MUCH slower if trace is switched on

Oops I missed that point. Trace will make it slow, so measuring
performace with trace is not a good idea.
Thaks,
Samisa...


On Tue, 29 Mar 2005 13:18:36 +0100, Mark Whitlock
<[EMAIL PROTECTED]> wrote:
> 
> 
> Hi Bhanu,
> 
> Information on the trace is at
> http://ws.apache.org/axis/cpp/antbuild-guide.html#EnablingTraceAndDebug.
> 
> I'm not sure that trace will give you the information that you are looking
> for. Building with trace instruments every method with entry and exit
> trace. Running with trace on, writes out trace to a file which makes Axis
> run MUCH slower if trace is switched on - I guess you could change this to
> write to a buffer in memory instead. Also timestamps on trace records only
> include seconds. There is a JIRA open to fix this for milliseconds.
> 
> You could get trace to provide the performance information that you want,
> but it would seem easier to me to add in a few temporary hooks into the
> code at suitable points.
> 
> Mark
> 
>              bhanu prakash
>              <[EMAIL PROTECTED]
>              com>                                                       To
>                                        Apache AXIS C Developers List
>              28/03/2005 04:55          <[email protected]>
>                                                                         cc
> 
>              Please respond to                                     Subject
>               "Apache AXIS C           Re: Log times
>              Developers List"
> 
> 
> Hi Samisa,
> 
> Thanks for replying. How can I use the trace utility
> in AXIS C++ and also what do you mean by measure at
> stub level. We are trying to improve the serializers.
> But now I am checking the times taken for
> serailization and deserialization etc without any
> improvements.
> --- Samisa Abeysinghe <[EMAIL PROTECTED]>
> wrote:
> 
> > Well one more thought, to keep things simple, you
> > can measure time at
> > stub level, doing one change at a time, one without
> > the improvement
> > and one with the improvement.
> > This would be a simpler approach to start with
> >
> > Thanks,
> > Samisa...
> >
> >
> > On Mon, 28 Mar 2005 01:45:50 +0000, Samisa
> > Abeysinghe
> > <[EMAIL PROTECTED]> wrote:
> > > Hi Bhanu,
> > >      I too do not think it is a very good idea to
> > put permanant code
> > > just to measure performance.
> > >     One of the solutions would be to incoporate
> > time information with
> > > the trace utility - where in addition to
> > enter/exit traces, it could
> > > also include times (enter time/exit time)
> > >
> > >     BTW, do you just want to measure timings, or
> > do you want to
> > > improve serializer and want to see if the
> > improvements have an impact
> > > on performance?
> > >     I case you want to really improve the
> > serializer, whay not discuss
> > > the improvements over this mailing list?
> > >
> > > Thanks,
> > > Samisa...
> > >
> > > On Sun, 27 Mar 2005 11:02:44 -0800 (PST), bhanu
> > prakash
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi John,
> > > >
> > > > We want to modify the serializers and see if it
> > is
> > > > improving any performance. So, I want to measure
> > the
> > > > time it takes for serialization, deserialization
> > and
> > > > handlers. Can you help?
> > > >
> > > > Thanks,
> > > > Bhanu
> > > >
> > > > --- John Hawkins <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Hello Bhanu,
> > > > >
> > > > > I'm extremely concerned that you are putting
> > > > > performance information into
> > > > > the code on a permanent basis - why do you
> > need
> > > > > this?
> > > > >
> > > > > John,
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > bhanu prakash <[EMAIL PROTECTED]>
> > > > > 26/03/2005 05:45
> > > > > Please respond to
> > > > > "Apache AXIS C Developers List"
> > > > >
> > > > >
> > > > > To
> > > > > Apache AXIS C Developers List
> > > > > <[email protected]>
> > > > > cc
> > > > >
> > > > > Subject
> > > > > Re: Log times
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > I have modified clientaxisengine.cpp such that
> > it
> > > > > writes these logging time info into a text
> > file. and
> > > > > I
> > > > > have installed AXIS as explained in install
> > guide. I
> > > > > am able to run the sample clients but it is
> > not
> > > > > writing any logging info into the text file
> > that I
> > > > > created. I am also attaching
> > clientaxisengine.cpp
> > > > > with
> > > > > my changes.
> > > > >
> > > > > Any Ideas?
> > > > >
> > > > > Thanks,
> > > > > Bhanu
> > > > > --- bhanu prakash <[EMAIL PROTECTED]> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I am trying to find the time taken for
> > > > > > serialization,
> > > > > > deserialization and handlers on both client
> > and
> > > > > > server. For this, Is it enough if we modify
> > > > > > clientaxisengine.cpp and
> > serveraxisengine.cpp
> > > > > files?
> > > > > > If not, Can you let me know what other files
> > needs
> > > > > > modification.
> > > > > >
> > > > > > Thanks,
> > > > > > Bhanu
> > > > > >
> > > > > >
> > > > > >
> > > > > > __________________________________
> > > > > > Do you Yahoo!?
> > > > > > Yahoo! Small Business - Try our new
> > resources
> > > > > site!
> > > > > > http://smallbusiness.yahoo.com/resources/
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > __________________________________
> > > > > Do you Yahoo!?
> > > > > Yahoo! Small Business - Try our new resources
> > site!
> > > > > http://smallbusiness.yahoo.com/resources/ /*
> > -*- C++
> > > > > -*- */
> > > > > /*
> > > > >  *   Copyright 2003-2004 The Apache Software
> > > > > Foundation.
> > > > >  *
> > > > >  *   Licensed under the Apache License,
> > Version 2.0
> > > > > (the "License");
> > > > >  *   you may not use this file except in
> > compliance
> > > > > with the License.
> > > > >  *   You may obtain a copy of the License at
> > > > >  *
> > > > >  *
> > http://www.apache.org/licenses/LICENSE-2.0
> > > > >  *
> > > > >  *   Unless required by applicable law or
> > agreed to
> > > > > in writing, software
> > > > >  *   distributed under the License is
> > distributed on
> > > > > an "AS IS" BASIS,
> > > > >  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY
> > KIND,
> > > > > either express or
> > > > > implied.
> > > > >  *   See the License for the specific language
> > > > > governing permissions and
> > > > >  *   limitations under the License.
> > > > >  */
> > > > >
> > > > > /*
> > > > >  * Revision 1.1  2004/08/26 roshan
> > > > >  * Added the method "releaseHandlers(string
> > > > > sSessionId)" in order to
> > > > > release the
> > > > >  *  Handlers once they are used.
> > > > >  */
> > > > >
> > > > >
> > > > > #include "ClientAxisEngine.h"
> > > > > #include "../../wsdd/WSDDDeployment.h"
> > > > > #include "../HandlerPool.h"
> > > > > #include <axis/AxisException.hpp>
> > > > > #include "../../common/AxisTrace.h"
> > > > >
> > > > > extern AXIS_CPP_NAMESPACE_PREFIX
> > WSDDDeployment*
> > > > > g_pWSDDDeployment;
> > > > > extern AXIS_CPP_NAMESPACE_PREFIX HandlerPool*
> > > > > g_pHandlerPool;
> > > > >
> > > > >
> > > > >
> > > >
> >
> /*******Bhanu****************************************************************/
> 
> >
> === message truncated ===
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Find what you need with new enhanced search.
> http://info.mail.yahoo.com/mail_250
> 
>

Reply via email to