lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] NightOwl888 commented on issue #295: Investigate Slow Tests in Lucene.Net.Util Namespace
Date Tue, 23 Jun 2020 13:54:07 GMT

NightOwl888 commented on issue #295:

   @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
   - `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:

View raw message