Click here to Skip to main content
14,769,302 members
Home » Discussions » .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Help for a school Project Pin
Ralf Meier27-Dec-20 0:13
professionalRalf Meier27-Dec-20 0:13 
QuestionMessage Closed Pin
17-Dec-20 22:26
Memberjesminkorn17-Dec-20 22:26 
QuestionMessage Closed Pin
16-Dec-20 10:59
MemberVip crack16-Dec-20 10:59 
QuestionHow can I setup connectionstring to a webroot dir Pin
Nguyễn Tuấn Anh 9216-Dec-20 19:22
MemberNguyễn Tuấn Anh 9216-Dec-20 19:22 
QuestionSpecification Pattern for validations Pin
TimWallace25-Nov-20 21:23
MemberTimWallace25-Nov-20 21:23 
AnswerRe: Specification Pattern for validations Pin
Gerry Schmitz26-Nov-20 6:56
mveGerry Schmitz26-Nov-20 6:56 
GeneralRe: Specification Pattern for validations Pin
TimWallace27-Nov-20 16:07
MemberTimWallace27-Nov-20 16:07 
General.Net 5 Performance Improvements Pin
GerVenson24-Nov-20 4:56
professionalGerVenson24-Nov-20 4: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.
GeneralRe: .Net 5 Performance Improvements Pin
Gerry Schmitz27-Nov-20 6:56
mveGerry Schmitz27-Nov-20 6:56 
QuestionInterested in a VB.Net Winforms Master/Detail DataGridView with RichTextBox Cell/Column? Pin
Jo_vb.net15-Nov-20 12:36
MemberJo_vb.net15-Nov-20 12:36 
QuestionMaster/Detail GridView - issue with the some keys not working Pin
Jo_vb.net11-Nov-20 8:09
MemberJo_vb.net11-Nov-20 8:09 
AnswerRe: Master/Detail GridView - issue with the some keys not working Pin
Gerry Schmitz11-Nov-20 12:34
mveGerry Schmitz11-Nov-20 12:34 
GeneralRe: Master/Detail GridView - issue with the some keys not working Pin
Jo_vb.net12-Nov-20 0:59
MemberJo_vb.net12-Nov-20 0:59 
GeneralRe: Master/Detail GridView - issue with the some keys not working Pin
Gerry Schmitz12-Nov-20 3:16
mveGerry Schmitz12-Nov-20 3:16 
Questionaudit trail Pin
Member 1340825926-Oct-20 2:24
MemberMember 1340825926-Oct-20 2:24 
AnswerRe: audit trail Pin
Richard MacCutchan26-Oct-20 3:34
mveRichard MacCutchan26-Oct-20 3:34 
GeneralRe: audit trail Pin
Member 1340825926-Oct-20 3:48
MemberMember 1340825926-Oct-20 3:48 
GeneralRe: audit trail Pin
Richard MacCutchan26-Oct-20 3:51
mveRichard MacCutchan26-Oct-20 3:51 
GeneralRe: audit trail Pin
Member 1340825926-Oct-20 3:54
MemberMember 1340825926-Oct-20 3:54 
GeneralRe: audit trail Pin
Richard MacCutchan26-Oct-20 4:12
mveRichard MacCutchan26-Oct-20 4:12 
GeneralRe: audit trail Pin
Gerry Schmitz24-Nov-20 4:09
mveGerry Schmitz24-Nov-20 4:09 
GeneralRe: audit trail Pin
Richard MacCutchan24-Nov-20 4:14
mveRichard MacCutchan24-Nov-20 4:14 
QuestionRe: audit trail Pin
ZurdoDev26-Oct-20 3:45
professionalZurdoDev26-Oct-20 3:45 
AnswerRe: audit trail Pin
Mycroft Holmes12-Nov-20 12:36
professionalMycroft Holmes12-Nov-20 12:36 
GeneralRe: audit trail Pin
Member 1340825924-Nov-20 1:41
MemberMember 1340825924-Nov-20 1:41 

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.