Skip to content

Commit 8ef8fe3

Browse files
committed
Add remarks to the AppendMany benchmarks
1 parent c6cd6bf commit 8ef8fe3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Benchmarking/BenchmarkTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ public void CloneStuff()
5858

5959
#region AppendMany
6060

61+
/*
62+
* append many items into the data structures.
63+
* the structures are not initialized with the correct sizes
64+
* so to simulate situation where the final size is not known beforehand,
65+
* e.g. reading from a database query enumerable
66+
*/
67+
6168
[Benchmark]
6269
public void AppendManyToList()
6370
{

0 commit comments

Comments
 (0)