I flipped the switch to production (            <mode value="production" /> and
the speed is much, much better:

571 ms          571 ms          1       CFC[ 
/var/www/html/reactor/reactorFactory.cfc |
createGateway(Data_Elements) ] from
/var/www/html/reactor/Data_Elements_Gateway.cfm
570 ms  570 ms  1       CFC[ /var/www/html/reactor/core/objectFactory.cfc |
create(Data_Elements, Gateway) ] from
/var/www/html/reactor/reactorFactory.cfc
495 ms  495 ms  1       CFC[
/var/www/html/ajax/Gateway/Data_ElementsGatewaymysql4.cfc | getAll() ]
from /var/www/html/reactor/Data_Elements_Gateway.cfm
408 ms  408 ms  1       CFC[
/var/www/html/reactor/data/mysql4/ObjectDao.cfc | read(CFC:
reactor.core.object) ] from
/var/www/html/reactor/core/objectFactory.cfc

On 4/7/06, Daryl <[EMAIL PROTECTED]> wrote:
> I rolled back to the last stable release reactor code (2-17?) and
> that took care of the isXML issue. Now it's a speed problem:
>
> 26376 ms        26376 ms        1       CFC[
> /var/www/html/ajax/Gateway/Data_ElementsGatewaymysql4.cfc | getAll() ]
> from /var/www/html/reactor/Data_Elements_Gateway.cfm
> 26169 ms        13085 ms        2       CFC[ 
> /var/www/html/reactor/reactorFactory.cfc |
> createMetadata(Data_Elements) ] from
> /var/www/html/ajax/Gateway/Data_ElementsGatewaymysql4.cfc
> 26165 ms        13083 ms        2       CFC[
> /var/www/html/reactor/core/objectFactory.cfc | create(Data_Elements,
> Metadata) ] from /var/www/html/reactor/reactorFactory.cfc
> 18980 ms        6327 ms         3       CFC[ 
> /var/www/html/reactor/core/object.cfc |
> getSignature() ] from /var/www/html/reactor/core/objectFactory.cfc
> 10463 ms        5232 ms         2       CFC[
> /var/www/html/reactor/data/mysql4/ObjectDao.cfc | read(CFC:
> reactor.core.object) ] from
> /var/www/html/reactor/core/objectFactory.cfc
> 3857 ms         3857 ms         1       CFC[ 
> /var/www/html/reactor/reactorFactory.cfc |
> createGateway(Data_Elements) ] from
> /var/www/html/reactor/Data_Elements_Gateway.cfm
> 3856 ms         3856 ms         1       CFC[ 
> /var/www/html/reactor/core/objectFactory.cfc
> | create(Data_Elements, Gateway) ] from
> /var/www/html/reactor/reactorFactory.cfc
>
> On 4/7/06, Daryl <[EMAIL PROTECTED]> wrote:
> > oops, spoke too soon:
> > i'm getting this error now when the isXML udf is used:
> >
> > 08:19:27.027 - Expression Exception - in
> > /var/www/html/reactor/core/object.cfc : line 347
> >
> >             Document root element is missing.
> >
> > <cffunction name="isXML" returnType="boolean" output="no">
> >    <cfargument name="data" type="string" required="yes">
> >
> >    <!--- try catch block --->
> >    <cftry>
> >       <!--- try to parse the data as xml --->
> > (line: 347) <cfset xmlparse(data)>(347 /)
> >       <!--- if xmlparse() fails, it is not xml --->
> >       <cfcatch type="any">
> >          <cfreturn false>
> >       </cfcatch>
> >    </cftry>
> >
> >    <cfreturn true>
> >
> > </cffunction>
> >
> >
> > which is called by object.cfc in a couple places:
> >
> > <cfif IsXML(fieldTag) AND StructKeyExists(fieldTag.XmlAttributes, "alias") >
> >
> > <cfif IsXML(fieldTag) AND StructKeyExists(fieldTag.XmlAttributes, 
> > "sequence") >
> >
> >
> > On 4/7/06, Daryl <[EMAIL PROTECTED]> wrote:
> > > Running on CFMX 6.1, I got the isXML function not found error.
> > > I used this isXML UDF to get around the problem
> > >
> > > http://www.cflib.org/udf.cfm?ID=993
> > >
> >
>



-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to