lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] NightOwl888 opened a new pull request #298: Fixes several slow tests (#295)
Date Wed, 24 Jun 2020 18:05:52 GMT

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



Mime
View raw message