Menu

#174 consensus mode too slow

open
5
2009-03-09
2009-03-09
No

I'm looking at an annotation project that has document with about 2200 annotations between two annotator (~1100 each). I have created a consensus set on this project and it is dog slow. The code in the method consolidateAll() looks pretty slow. Worse, when I put a log statement at the beginning of this method to see how many times it is called when e.g. an annotation is deleted it is called 12 times!

I'm thinking a quick fix would be to remove automatically calling this method. Instead, it could be called with a button click.

Discussion

  • Philip Ogren

    Philip Ogren - 2009-03-09

    As a quick fix I simply don't call consolidateAnnotations() unless the user explicitly requests it by clicking a button I added. I renamed the button labeled 'consolidate' to 'merge' - it does what it did before. I added a new button labeled 'consolidate' which calls ConsensusSet.consolidateAll() when it is clicked.

    I am leaving this bug report open because this behavior should really be configurable. I am lowering the priority because it is no longer preventing the project from getting work done.

     
  • Philip Ogren

    Philip Ogren - 2009-03-09
    • priority: 9 --> 5
     

Log in to post a comment.