jbellis commented on PR #12248:
URL: https://github.com/apache/lucene/pull/12248#issuecomment-1528502307

   I saw NeighborQueue construction taking up a decent chunk of time on the 
profiler data, so I refactored HGSearcher a bit to only allocate once per call 
to `search`.  This takes out about another 1% build time.
   
   [HashMap build only]
   Run 4 took 696.4547865 seconds
   Run 1 took 696.7912881 seconds
   Run 0 took 698.4082808 seconds
   Run 3 took 699.6830504 seconds
   Run 2 took 700.3700336 seconds
   
   [HashMap + NQ change, build only]
   Run 4 took 689.9413937 seconds
   Run 3 took 690.78149 seconds
   Run 2 took 691.8227998 seconds
   Run 1 took 692.4830887 seconds
   Run 0 took 694.5696814 seconds
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to