You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2008/01/16 23:54:35 UTC
[jira] Updated: (LUCENE-1136) add ability to not count sub-task
doLogic increment to contri/benchmark
[ https://issues.apache.org/jira/browse/LUCENE-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen updated LUCENE-1136:
--------------------------------
Attachment: lucene-1136.patch
This patch should do it.
Give it a try Mike?
(patch also fixing a minor issue in benchmarks execution where the outer most task did not report its stats even in the case that it was named in the algorithm.)
> add ability to not count sub-task doLogic increment to contri/benchmark
> -----------------------------------------------------------------------
>
> Key: LUCENE-1136
> URL: https://issues.apache.org/jira/browse/LUCENE-1136
> Project: Lucene - Java
> Issue Type: Improvement
> Components: contrib/benchmark
> Reporter: Michael McCandless
> Assignee: Doron Cohen
> Priority: Minor
> Fix For: 2.4
>
> Attachments: lucene-1136.patch
>
>
> Sometimes, you want to run a sub-task like CloseIndex, and include the time it takes to run, but not include the count that it returns when reporting rec/s.
> We could adopt this approach: if a task is preceded by a "-" character, then, do not count the value returned by doLogic.
> See discussion leading to this here:
> http://www.gossamer-threads.com/lists/lucene/java-dev/57081
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org