You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2022/11/21 01:41:11 UTC

[lucenenet] 07/13: Lucene.Net.Tests.BenchmarkDotNet.SearchFilesBenchmarks: Increased number of iterations from 1000 to 2000 for better accuracy

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch benchmarkdotnet
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit d6900758215c667777d02a2419ecd2f3a6bff976
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Fri Nov 13 13:32:03 2020 +0700

    Lucene.Net.Tests.BenchmarkDotNet.SearchFilesBenchmarks: Increased number of iterations from 1000 to 2000 for better accuracy
---
 src/Lucene.Net.Tests.BenchmarkDotNet/SearchFilesBenchmarks.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Lucene.Net.Tests.BenchmarkDotNet/SearchFilesBenchmarks.cs b/src/Lucene.Net.Tests.BenchmarkDotNet/SearchFilesBenchmarks.cs
index d691a16b9..f5bd36836 100644
--- a/src/Lucene.Net.Tests.BenchmarkDotNet/SearchFilesBenchmarks.cs
+++ b/src/Lucene.Net.Tests.BenchmarkDotNet/SearchFilesBenchmarks.cs
@@ -97,7 +97,7 @@ namespace Lucene.Net.Tests.BenchmarkDotNet
             string index = indexDirectory.FullName;
             string field = "contents";
             //string queries = null;
-            int repeat = 1000;
+            int repeat = 2000;
             //bool raw = false;
             string queryString = QueryString;
             //int hitsPerPage = 10;