<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>Dear
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=223414014-11012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>While using the CQP
Perl module inside a Perl server script, I notice some timing
anomalies.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>These are introduced
when I call the query method of a CQP object.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=223414014-11012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>
$my_cqp->query("$cqpQuery");<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>This line in my code
</SPAN></FONT><FONT face=Arial size=2><SPAN class=223414014-11012008>for simple
queries (e.g. [word="haus"%c][word="mieten"%c] )
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>sometimes takes more
than 30 seconds to return, with the usual response time being around 2-3
secs.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>(i do some very
basic time counting using gettimeofday to get secs and
microsecs).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=223414014-11012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>a) Has anybody come
up with a similar observation? Or even a useful
conclusion/solution?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>b) Could it be a
problem of my server's setup? Is a CWB-rebuild recommended?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=223414014-11012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>I am using
Version: 2.2.b91 ( as reported by cqp -v).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=223414014-11012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=223414014-11012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>Best
regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=223414014-11012008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=223414014-11012008>
<DIV align=left><FONT face="Trebuchet MS" size=2>Stefanos
Petrakis</FONT><BR><FONT face="Trebuchet MS" size=2><EM>Institut für
Fachkommunikation und Mehrsprachigkeit</EM></FONT><BR><FONT face="Trebuchet MS"
size=2>______________________________________________<BR>EURAC research<BR>Viale
Druso/Drususallee 1<BR>39100 Bolzano/Bozen - Italy<BR>Tel. +39 0471 055
134 - Fax +39 0471 055199<BR>Email: </FONT><A
title=mailto:Stefanos.Petrakis@eurac.edu
href="mailto:Stefanos.Petrakis@eurac.edu"><FONT
title=mailto:Stefanos.Petrakis@eurac.edu face="Trebuchet MS" color=blue
size=2><U
title=mailto:Stefanos.Petrakis@eurac.edu>Stefanos.Petrakis@eurac.edu</U></FONT></A><BR><FONT
face="Trebuchet MS" size=2>Website: </FONT><A title=http://www.eurac.edu/
href="http://www.eurac.edu/"><FONT title=http://www.eurac.edu/
face="Trebuchet MS" color=blue size=2><U
title=http://www.eurac.edu/>www.eurac.edu</U></FONT></A><FONT
face="Trebuchet MS" size=2> | <A
href="http://www.korpus-suedtirol.it/">www.korpus-suedtirol.it/</A></FONT><BR><FONT
face="Trebuchet MS"><FONT
size=2>_____________________________________________</FONT><FONT size=3>
</FONT></FONT><FONT size=2><BR></DIV></FONT></DIV></SPAN></FONT></BODY></HTML>