Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory span #183

Open
wants to merge 23 commits into
base: dev
Choose a base branch
from
Open

Memory span #183

wants to merge 23 commits into from

Conversation

onizet
Copy link
Owner

@onizet onizet commented Dec 14, 2024

Rewriting of parsing to use System.Span

Method Runtime Mean Error StdDev Ratio RatioSD Allocated
ParseWithSpan .NET 8.0 171.7 ms 17.36 ms 50.37 ms 1.08 0.42 906.87 KB
ParseWithRegex .NET 8.0 157.5 ms 7.79 ms 21.83 ms 1.02 0.19 1 MB
ParseWithSpan .NET 4.8 197.2 ms 12.04 ms 33.16 ms 1.12 0.28 1298.28 KB
ParseWithRegex .NET 4.8 192.1 ms 11.25 ms 32.27 ms 1.30 0.28 1489.05 KB

Copy link

sonarcloud bot commented Dec 16, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
7.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant