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

chore: Fix a couple errors in benchmark inputs #44

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

nakedible
Copy link
Owner

No description provided.

Copy link
Contributor

Benchmark for 737fffd

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.12ns 10.3±0.16ns 0.00%
date_to_rd 2.8±0.05ns 2.8±0.07ns 0.00%
date_to_weekday 3.1±0.06ns 3.1±0.06ns 0.00%
datetime_to_secs 5.3±0.03ns 5.3±0.03ns 0.00%
datetime_to_systemtime 9.6±0.12ns 9.6±0.12ns 0.00%
days_in_month 1.3±0.02ns 1.3±0.03ns 0.00%
dhms_to_secs 1.9±0.02ns 1.9±0.04ns 0.00%
is_leap_year 1.2±0.04ns 1.2±0.04ns 0.00%
isoweekdate_to_date 7.3±0.09ns 7.3±0.08ns 0.00%
isoweekdate_to_rd 2.8±0.06ns 2.8±0.07ns 0.00%
isoweeks_in_year 2.0±0.04ns 2.0±0.04ns 0.00%
next_date 1.2±0.03ns 1.2±0.03ns 0.00%
overhead 0.7±0.01ns 0.7±0.01ns 0.00%
prev_date 1.4±0.04ns 1.4±0.04ns 0.00%
rd_to_date 3.9±0.04ns 4.0±0.11ns +2.56%
rd_to_isoweekdate 6.2±0.17ns 6.2±0.15ns 0.00%
rd_to_weekday 0.8±0.02ns 0.8±0.02ns 0.00%
secs_to_datetime 7.3±0.12ns 7.3±0.17ns 0.00%
secs_to_dhms 3.1±0.05ns 3.1±0.07ns 0.00%
secs_to_systemtime 3.4±0.17ns 3.4±0.09ns 0.00%
systemtime_to_datetime 31.4±0.29ns 31.4±0.26ns 0.00%
systemtime_to_secs 18.1±0.14ns 18.2±0.14ns +0.55%

@nakedible nakedible merged commit df4754d into master Dec 20, 2023
2 checks passed
@nakedible nakedible deleted the fix-benches branch December 20, 2023 23:44
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