Closed SebastianStehle closed 2 years ago
Nice :) ... I hope you are going to push that ;)
I have analyzed that with dotTrace, but the majority of time is spent with the StringBuilder. No idea how to optimize this further.
Nice :) ... I hope you are going to push that ;)
I have analyzed that with dotTrace, but the majority of time is spent with the StringBuilder. No idea how to optimize this further.
I've created PR now. I'm gonna create new branch for the xml entity issue.
I ran some performance tests locally using BenchmarkDotNet. Here's the results in Release mode.
Mean : Arithmetic mean of all measurements Error : Half of 99.9% confidence interval StdDev : Standard deviation of all measurements Median : Value separating the higher half of all measurements (50th percentile) 1 us : 1 Microsecond (0.000001 sec)
MJML.NET v1 - Austin
MJML.NET v2
MJML.NET v2 - Multiple Templates
BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19043.1586 (21H1/May2021Update) Intel Core i7-4790 CPU 3.60GHz (Haswell), 1 CPU, 8 logical and 4 physical cores .NET SDK=6.0.101 [Host] : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT DefaultJob : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT
Sphero Failed to Compile. I'm gonna look into this.