Click here to Skip to main content
15,909,205 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: i need instruction for creating simple game in .Net Core C# Pin
Gerry Schmitz3-Feb-21 6:28
mveGerry Schmitz3-Feb-21 6:28 
AnswerRe: i need instruction for creating simple game in .Net Core C# Pin
Richard MacCutchan3-Feb-21 6:45
mveRichard MacCutchan3-Feb-21 6:45 
QuestionAnyone familiar with Ozgur Ozcitak ImageListView control ? Pin
Member 113774652-Feb-21 19:43
Member 113774652-Feb-21 19:43 
AnswerRe: Anyone familiar with Ozgur Ozcitak ImageListView control ? Pin
Gerry Schmitz3-Feb-21 6:32
mveGerry Schmitz3-Feb-21 6:32 
QuestionTCPIP SOCKET DATA RECEIVE FROM INSTRUMENT Pin
cws_ap1-Feb-21 0:19
cws_ap1-Feb-21 0:19 
Question.NET Core Web API hosting docker Pin
johncodeproject15-Jan-21 16:25
johncodeproject15-Jan-21 16:25 
QuestionApply formatting on multiple Text boxes within a Group box. Pin
Interplain11-Jan-21 0:25
Interplain11-Jan-21 0:25 
AnswerRe: Apply formatting on multiple Text boxes within a Group box. Pin
Pete O'Hanlon11-Jan-21 2:45
mvePete O'Hanlon11-Jan-21 2:45 
GeneralRe: Apply formatting on multiple Text boxes within a Group box. Pin
Interplain11-Jan-21 3:00
Interplain11-Jan-21 3:00 
GeneralRe: Apply formatting on multiple Text boxes within a Group box. Pin
Gerry Schmitz11-Jan-21 5:05
mveGerry Schmitz11-Jan-21 5:05 
AnswerRe: Apply formatting on multiple Text boxes within a Group box. Pin
Richard Deeming11-Jan-21 22:14
mveRichard Deeming11-Jan-21 22:14 
GeneralRe: Apply formatting on multiple Text boxes within a Group box. Pin
Interplain12-Jan-21 0:56
Interplain12-Jan-21 0:56 
AnswerRe: Apply formatting on multiple Text boxes within a Group box. Pin
Ralf Meier12-Jan-21 2:40
mveRalf Meier12-Jan-21 2:40 
QuestionProblem with Calling builded exe from another form Pin
Member 149553323-Jan-21 0:38
Member 149553323-Jan-21 0:38 
AnswerRe: Problem with Calling builded exe from another form Pin
Victor Nijegorodov3-Jan-21 3:36
Victor Nijegorodov3-Jan-21 3:36 
GeneralRe: Problem with Calling builded exe from another form Pin
Member 149553326-Jan-21 9:38
Member 149553326-Jan-21 9:38 
GeneralRe: Problem with Calling builded exe from another form Pin
Victor Nijegorodov6-Jan-21 9:51
Victor Nijegorodov6-Jan-21 9:51 
GeneralRe: Problem with Calling builded exe from another form Pin
Richard MacCutchan6-Jan-21 22:52
mveRichard MacCutchan6-Jan-21 22:52 
QuestionHelp for a school Project Pin
Member 1502795822-Dec-20 4:48
Member 1502795822-Dec-20 4:48 
AnswerRe: Help for a school Project Pin
Ralf Meier26-Dec-20 23:13
mveRalf Meier26-Dec-20 23:13 
QuestionHow can I setup connectionstring to a webroot dir Pin
Nguyễn Tuấn Anh 9216-Dec-20 18:22
Nguyễn Tuấn Anh 9216-Dec-20 18:22 
QuestionSpecification Pattern for validations Pin
TimWallace25-Nov-20 20:23
TimWallace25-Nov-20 20:23 
AnswerRe: Specification Pattern for validations Pin
Gerry Schmitz26-Nov-20 5:56
mveGerry Schmitz26-Nov-20 5:56 
GeneralRe: Specification Pattern for validations Pin
TimWallace27-Nov-20 15:07
TimWallace27-Nov-20 15:07 
General.Net 5 Performance Improvements Pin
GerVenson24-Nov-20 3:56
professionalGerVenson24-Nov-20 3:56 
Hey,

A bit backstory: I am working for some time on my Text-Templating engine project Morestachio and all the time i compare the performance of Morestachio against other engines like cottle, handlebars.net, scribain etc and with the latest release of .Net5 i was thrilled as microsoft promised another out-of-the-box performance improvement like the one we saw when net.core came out where each version was measurably faster then the previous one. I read some block posts like this one: Performance Improvements in .NET 5 | .NET Blog but when i did my usual performance comparisons I discovered more or less the opposite.

I have two performance metrics: Historical performance tests including only Morestachio using Nunit and a project using the BenchmarkDotNet lib.

BenchmarkDotNet:

.net472:
| Method |     Mean |     Error |    StdDev |    Gen 0 |   Gen 1 | Gen 2 | Allocated |
|------- |---------:|----------:|----------:|---------:|--------:|------:|----------:|
|  Bench | 2.019 ms | 0.0041 ms | 0.0036 ms | 257.8125 | 15.6250 |     - |   1.57 MB |
.NET5:
| Method |     Mean |     Error |    StdDev |   Gen 0 |  Gen 1 | Gen 2 | Allocated |
|------- |---------:|----------:|----------:|--------:|-------:|------:|----------:|
|  Bench | 2.219 ms | 0.0044 ms | 0.0039 ms | 85.9375 | 3.9063 |     - |  705.5 KB |
.NetCore 3.1:
| Method |     Mean |     Error |    StdDev |   Gen 0 |  Gen 1 | Gen 2 | Allocated |
|------- |---------:|----------:|----------:|--------:|-------:|------:|----------:|
|  Bench | 1.427 ms | 0.0035 ms | 0.0033 ms | 95.7031 | 5.8594 |     - | 783.67 KB |

this also performance difference is also present in the other test (i will not bother to post here).
Yes Net5 is way more efficient in memory consumption but in comparison slower then even pre NetCore.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.