Skip to content

Commit 2c43641

Browse files
committed
Commented out insertion/upsertion with loop benchmarks
1 parent 8ad933b commit 2c43641

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

LiteDB.Benchmarks/Benchmarks/Insertion/InsertionBasicBenchmark.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ public int InsertionBulk()
3939
return _fileMetaCollection.InsertBulk(data, 1000);
4040
}
4141

42-
[Benchmark]
42+
/*[Benchmark()]
4343
public void InsertionWithLoop()
4444
{
4545
// ReSharper disable once ForCanBeConvertedToForeach
4646
for (var i = 0; i < data.Count; i++)
4747
{
4848
_fileMetaCollection.Insert(data[i]);
4949
}
50-
}
50+
}*/
5151

5252
[Benchmark]
5353
public int Upsertion()
@@ -61,15 +61,15 @@ public int UpsertionBulk()
6161
return _fileMetaCollection.UpsertBulk(data, 1000);
6262
}
6363

64-
[Benchmark]
64+
/*[Benchmark]
6565
public void UpsertionWithLoop()
6666
{
6767
// ReSharper disable once ForCanBeConvertedToForeach
6868
for (var i = 0; i < data.Count; i++)
6969
{
7070
_fileMetaCollection.Upsert(data[i]);
7171
}
72-
}
72+
}*/
7373

7474
[IterationCleanup]
7575
public void IterationCleanup()

0 commit comments

Comments
 (0)