0x0L commented on pull request #10562:
URL: https://github.com/apache/arrow/pull/10562#issuecomment-875422783
As a benchmark, I just ran a slightly modified version of their benchmark
using ToList, also tried ToArray and no op. This certainly does not reveal any
pathological issue in netcoreapp3.1
```c#
using System;
using System.Linq;
using System.Diagnostics;
using System.Threading;
class Program
{
public static void Main()
{
new Thread(() =>
{
var a = new int[20].ToList();
while (true) a = a.ToList();
}) { IsBackground = true }.Start();
var sw = new Stopwatch();
while (true)
{
sw.Restart();
for (int i = 0; i < 10; i++)
{
GC.Collect();
Thread.Sleep(15);
}
Console.WriteLine(sw.Elapsed.TotalSeconds);
}
}
}
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]