pkolaczk / async-runtimes-benchmarks

103 stars 34 forks source link

some thing for C# #13

Open sgf opened 1 year ago

sgf commented 1 year ago
  1. Almost no one does so many tasks.
  2. C# to open tasks generally use Task.Factory.StartNew
  3. C# performed poorly in this test. Because the final situation does not need to be seen, it is enough to look at the 10k test.
  4. In Pure testing can use ValueTask.
  5. The conclusion must be wrong, because it should actually be C# memory usage that obviously beats go. But GO's concurrent processing performance outperforms C#.
  6. Im C# developer. But I have to admit that Go is better to use.
Snolandia commented 1 year ago

In my testing of this with C# I got very different results than in the blog. I got 20mb memory used for 10k tasks 50mb for 100k tasks 400mb for 1mil tasks