Hi,

We have developed a sample search application using sample content related to 
books(nearly 100 thousand documents).We want to check our code execution time 
using prof:value().

In our application Search will be  executed on 100 thousand documents.But 
prof:value() returns shallow-time and deep-time as “0” microsecond in 3GB/2GB  
RAM machine.

I just want to know whether “0” microsecond  returned by prof:value is correct?

Or 

Do we need to test it in some other way?

Please suggest your thought.

Regards,
Mano



________________________________
From: Michael Blakeley <[email protected]>
To: General Mark Logic Developer Discussion <[email protected]>
Cc: mano m <[email protected]>
Sent: Tue, 30 March, 2010 11:02:49 PM
Subject: Re: [MarkLogic Dev General] Marklogic profile report

The prof:report timing elements will show milliseconds as part of the value. 
For example:

prof:value('xdmp:estimate(doc())')
=>
<prof:report xsi:schemaLocation="http://marklogic.com/xdmp/profile profile.xsd" 
xmlns:prof="http://marklogic.com/xdmp/profile"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <prof:metadata>
    <prof:overall-elapsed>PT0.000597S</prof:overall-elapsed>
    <prof:created>2010-03-30T10:10:49.604556-07:00</prof:created>
    <prof:server-version>4.1-5</prof:server-version>
  </prof:metadata>
  <prof:histogram>
    <prof:expression>
      <prof:expr-id>5625991802427007935</prof:expr-id>
      <prof:count>1</prof:count>
      <prof:shallow-time>PT0.000032S</prof:shallow-time>
      <prof:deep-time>PT0.000032S</prof:deep-time>
    </prof:expression>
  </prof:histogram>
</prof:report>
30000

So it sounds like you are measuring something that is either instantaneous, or 
is below the system clock threshold. It might be easier for someone to help if 
you were more explicit about what you are doing.

-- Mike

On 2010-03-30 06:24, mano m wrote:
> Hi,
> 
> 
> 
> I have used  prof:value to execute the profile report for my XQY module.  The 
> prof:report returns shallow-time and deep-time as “0”.
> 
> 
> 
> <prof:shallow-time>PT0S</prof:shallow-time>
> <prof:deep-time>PT0S</prof:deep-time>
> 
> 
> 
> I understood that the both times are displayed in seconds, can anyone help me 
> to change it to display the above times in milliseconds.
> 
> Moreover, I need explanation for line and count node in prof:report.
> 
> <prof:line>3</prof:line>
> <prof:count>0</prof:count>
> 
> 
> 
> Regards,
> 
> Mano
> 
> ________________________________
> ________________________________
> Your Mail works best with the New Yahoo Optimized IE8. Get it 
> NOW!<http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/>.


      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! 
http://downloads.yahoo.com/in/internetexplorer/
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to