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/24 18:05:52 UTC

[GitHub] [lucenenet] NightOwl888 opened a new pull request #298: Fixes several slow tests (#295)

NightOwl888 opened a new pull request #298:
URL: https://github.com/apache/lucenenet/pull/298


   This fixes performance of several tests by eliminating boxing/unboxing when passing arguments to test asserts. We already had our own facade `Assert` class, but needed to extend it with overloads for primitive types.
   
   In addition, one of the contributors of the slowness of `OfflineSorter` has been addressed, as well as the primary contributor to the slowness of the `Lucene.Net.Facet.Taxonomy.WriterCache.TestCharBlockArray.TestArray` test.
   
   Based on several runs on Azure DevOps, this reduces the average testing time by approximately 10 minutes (45min average instead of 55min). Running the tests sequentially in Visual Studio locally now takes ~35min (before it was around 1 hour).


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



[GitHub] [lucenenet] NightOwl888 merged pull request #298: Fixes several slow tests (#295)

Posted by GitBox <gi...@apache.org>.
NightOwl888 merged pull request #298:
URL: https://github.com/apache/lucenenet/pull/298


   


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