From uima-dev-return-10477-apmail-incubator-uima-dev-archive=incubator.apache.org@incubator.apache.org Mon Aug 31 23:06:04 2009 Return-Path: Delivered-To: apmail-incubator-uima-dev-archive@minotaur.apache.org Received: (qmail 34456 invoked from network); 31 Aug 2009 23:06:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Aug 2009 23:06:04 -0000 Received: (qmail 30189 invoked by uid 500); 31 Aug 2009 23:06:04 -0000 Delivered-To: apmail-incubator-uima-dev-archive@incubator.apache.org Received: (qmail 30162 invoked by uid 500); 31 Aug 2009 23:06:04 -0000 Mailing-List: contact uima-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-dev@incubator.apache.org Delivered-To: mailing list uima-dev@incubator.apache.org Received: (qmail 30152 invoked by uid 99); 31 Aug 2009 23:06:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 23:06:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 23:05:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CD459234C004 for ; Mon, 31 Aug 2009 16:05:32 -0700 (PDT) Message-ID: <1299982976.1251759932829.JavaMail.jira@brutus> Date: Mon, 31 Aug 2009 16:05:32 -0700 (PDT) From: "Marshall Schor (JIRA)" To: uima-dev@incubator.apache.org Subject: [jira] Closed: (UIMA-941) No ProcessTrace events for process calls that take 0ms In-Reply-To: <1224033490.1206688824942.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/UIMA-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor closed UIMA-941. ------------------------------- Resolution: Fixed Fix Version/s: 2.3 fixed per Adam's last suggestion > No ProcessTrace events for process calls that take 0ms > ------------------------------------------------------ > > Key: UIMA-941 > URL: https://issues.apache.org/jira/browse/UIMA-941 > Project: UIMA > Issue Type: Bug > Components: Core Java Framework > Affects Versions: 2.2.2 > Environment: Windows XP, Java 1.5 > Reporter: Thilo Goetz > Priority: Minor > Fix For: 2.3 > > > Found when testing release candidate 4 of 2.2.2. Here's the text of an email I wrote. Adam responded that it's probably a bug. > http://www.mail-archive.com/uima-dev%40incubator.apache.org/msg06565.html > I was just testing CVD for the next release, and tried > out the new performance report feature. Internally, this > uses the ProcessTrace feature of AnalysisEngine.process(). > It seems that if the process() call returns very quickly, > i.e., in 0ms according to the Java timer, no ProcessTrace > sub-events are recorded. For example, I'm running the > tagger, and here's some output I get: > This one looks fine, as expected: > 3/27/08 4:29:52 PM - 10: org.apache.uima.tools.cvd.MainFrame.internalRunAE(1570): INFO: Process trace of AE run: > Component Name: HmmTaggerTAE > Event Type: Analysis > Duration: 2078ms (100%) > Sub-events: > Component Name: WhitespaceTokenizer > Event Type: Analysis > Duration: 265ms (12.75%) > Component Name: Hidden Markov Model - Part of Speech Tagger > Event Type: Analysis > Duration: 1813ms (87.25%) > Component Name: Fixed Flow Controller > Event Type: Analysis > Duration: 0ms (0%) > Next one seems to have lost the tagger: > 3/27/08 4:30:08 PM - 10: org.apache.uima.tools.cvd.MainFrame.internalRunAE(1570): INFO: Process trace of AE run: > Component Name: HmmTaggerTAE > Event Type: Analysis > Duration: 16ms (100%) > Sub-events: > Component Name: WhitespaceTokenizer > Event Type: Analysis > Duration: 16ms (100%) > Component Name: Fixed Flow Controller > Event Type: Analysis > Duration: 0ms (0%) > Finally, this one only has the flow controller: > 3/27/08 4:30:19 PM - 10: org.apache.uima.tools.cvd.MainFrame.internalRunAE(1570): INFO: Process trace of AE run: > Component Name: HmmTaggerTAE > Event Type: Analysis > Duration: 0ms > Sub-events: > Component Name: Fixed Flow Controller > Event Type: Analysis > Duration: 0ms > Looking at this in the debugger, there are no subevents > there, so it's not a problem with the printing. > Is this expected, or is it a bug? Seems to me it is a bug, > but I'm not sure from the documentation. > --Thilo -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.