You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2020/06/23 13:54:07 UTC

[GitHub] [lucenenet] NightOwl888 commented on issue #295: Investigate Slow Tests in Lucene.Net.Util Namespace

NightOwl888 commented on issue #295:
URL: https://github.com/apache/lucenenet/issues/295#issuecomment-648164251


   @bongohrtech - Good find. There are several tests that are passing value types through `Assert.AreEqual(object, object)` in a tight loop, causing lots of box/unbox operations. And of course, this problem isn't limited to the `Lucene.Net.Util` namespace.
   
   I have confirmed that changing this gets both T-U and U-Z projects to run in under 3.5 minutes, which were more like 11 minutes before.
   
   We should aim to apply this fix on all of the projects starting with the longest running ones:
   
   - `Lucene.Net.Tests._E-I`
   - `Lucene.Net.Tests.Analysis.Common`
   - `Lucene.Net.Tests.Codecs`
   - `Lucene.Net.Tests._A-D`
   - `Lucene.Net.Tests._J-S`
   
   We can probably also consolidate some of the 5 Lucene.Net test projects that were broken up, which should help to speed up the overall time in Azure DevOps.


----------------------------------------------------------------
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.

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