Skip to content

Optimize cron parsing#2769

Merged
lahma merged 2 commits into
3.xfrom
optimize-cron
Aug 2, 2025
Merged

Optimize cron parsing#2769
lahma merged 2 commits into
3.xfrom
optimize-cron

Conversation

@lahma

@lahma lahma commented Aug 2, 2025

Copy link
Copy Markdown
Member

Quartz.Benchmark.CronExpressionBenchmark

Diff Method Toolchain Mean Error Allocated
Old CreateExpressionsAndCalculateFireTimeAfter Default 12.56 μs 0.129 μs 21.56 KB
New Default 10.687 μs (-15%) 0.1867 μs 16.48 KB (-24%)
Old CreateExpressionsAndCalculateFireTimeAfter Default 12.55 μs 0.047 μs 24.56 KB
New Default 10.354 μs (-17%) 0.1038 μs 18.28 KB (-26%)
Old CreateExpressionsAndCalculateFireTimeAfter Default 11.93 μs 0.148 μs 19.02 KB
New Default 9.681 μs (-19%) 0.1570 μs 15.04 KB (-21%)
Old CreateExpressionsAndCalculateFireTimeAfter Default 13.13 μs 0.074 μs 25.78 KB
New Default 10.763 μs (-18%) 0.0749 μs 19.23 KB (-25%)
Old CreateExpressionsAndCalculateFireTimeAfter Default 14.83 μs 0.208 μs 26.07 KB
New Default 10.439 μs (-30%) 0.0860 μs 19.34 KB (-26%)
Old CreateExpressionsAndCalculateFireTimeAfter Default 13.26 μs 0.135 μs 26.07 KB
New Default 11.291 μs (-15%) 0.1250 μs 19.34 KB (-26%)

@github-actions

github-actions Bot commented Aug 2, 2025

Copy link
Copy Markdown

Qodana for .NET

3 new problems were found

Inspection name Severity Problems
Expression is always 'true' or 'false' according to nullable reference types' annotations 🔶 Warning 1
Use preferred style for trailing comma before new line in multiline lists ◽️ Notice 1
RoslynAnalyzers Mark members as static ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@sonarqubecloud

sonarqubecloud Bot commented Aug 2, 2025

Copy link
Copy Markdown

@lahma
lahma merged commit 593eaa4 into 3.x Aug 2, 2025
11 of 12 checks passed
@lahma
lahma deleted the optimize-cron branch August 2, 2025 09:29
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