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: Doc and test tweaks #43

Merged
merged 11 commits into from
Dec 20, 2023
Merged

chore: Doc and test tweaks #43

merged 11 commits into from
Dec 20, 2023

Conversation

nakedible
Copy link
Owner

No description provided.

Copy link
Contributor

Benchmark for 4ebdb46

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.09ns 10.3±0.20ns 0.00%
date_to_rd 2.8±0.03ns 2.8±0.06ns 0.00%
date_to_weekday 3.1±0.06ns 3.1±0.13ns 0.00%
datetime_to_secs 5.3±0.06ns 5.3±0.13ns 0.00%
datetime_to_systemtime 9.7±0.08ns 9.7±0.11ns 0.00%
days_in_month 1.3±0.07ns 1.3±0.08ns 0.00%
dhms_to_secs 1.9±0.03ns 1.9±0.06ns 0.00%
is_leap_year 1.4±0.05ns 1.3±0.04ns -7.14%
isoweekdate_to_date 7.0±0.09ns 7.0±0.43ns 0.00%
isoweekdate_to_rd 2.8±0.06ns 2.8±0.08ns 0.00%
isoweeks_in_year 2.0±0.07ns 2.1±0.03ns +5.00%
next_date 1.2±0.05ns 1.2±0.03ns 0.00%
overhead 0.7±0.02ns 0.7±0.01ns 0.00%
prev_date 1.4±0.07ns 1.4±0.03ns 0.00%
rd_to_date 3.9±0.06ns 3.9±0.05ns 0.00%
rd_to_isoweekdate 6.2±0.12ns 6.2±0.11ns 0.00%
rd_to_weekday 0.8±0.03ns 0.8±0.02ns 0.00%
secs_to_datetime 7.3±0.24ns 7.3±0.15ns 0.00%
secs_to_dhms 3.1±0.11ns 3.1±0.09ns 0.00%
secs_to_systemtime 3.5±0.23ns 3.3±0.10ns -5.71%
systemtime_to_datetime 31.4±0.19ns 31.3±0.25ns -0.32%
systemtime_to_secs 18.1±0.39ns 18.0±0.17ns -0.55%

Copy link
Contributor

Benchmark for 78400da

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.22ns 10.3±0.30ns 0.00%
date_to_rd 2.8±0.08ns 2.5±0.08ns -10.71%
date_to_weekday 3.1±0.11ns 3.1±0.13ns 0.00%
datetime_to_secs 5.3±0.08ns 5.3±0.08ns 0.00%
datetime_to_systemtime 9.7±0.13ns 9.7±0.08ns 0.00%
days_in_month 1.3±0.03ns 1.3±0.05ns 0.00%
dhms_to_secs 1.9±0.04ns 1.9±0.11ns 0.00%
is_leap_year 1.4±0.05ns 1.4±0.04ns 0.00%
isoweekdate_to_date 7.0±0.17ns 7.1±0.16ns +1.43%
isoweekdate_to_rd 2.8±0.06ns 2.8±0.09ns 0.00%
isoweeks_in_year 2.0±0.14ns 2.1±0.06ns +5.00%
next_date 1.2±0.03ns 1.3±0.06ns +8.33%
overhead 0.7±0.01ns 0.7±0.02ns 0.00%
prev_date 1.4±0.03ns 1.4±0.03ns 0.00%
rd_to_date 3.9±0.07ns 4.0±0.17ns +2.56%
rd_to_isoweekdate 6.2±0.12ns 6.2±0.11ns 0.00%
rd_to_weekday 0.8±0.02ns 0.8±0.07ns 0.00%
secs_to_datetime 7.3±0.15ns 6.9±0.18ns -5.48%
secs_to_dhms 3.1±0.05ns 3.1±0.06ns 0.00%
secs_to_systemtime 3.7±0.18ns 3.3±0.18ns -10.81%
systemtime_to_datetime 31.4±0.26ns 31.3±0.62ns -0.32%
systemtime_to_secs 18.1±0.19ns 18.1±0.17ns 0.00%

Copy link
Contributor

Benchmark for 5305b64

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.30ns 10.3±0.21ns 0.00%
date_to_rd 2.8±0.15ns 2.5±0.14ns -10.71%
date_to_weekday 3.1±0.03ns 3.1±0.05ns 0.00%
datetime_to_secs 5.3±0.08ns 5.3±0.05ns 0.00%
datetime_to_systemtime 9.7±0.10ns 9.7±0.12ns 0.00%
days_in_month 1.3±0.03ns 1.3±0.04ns 0.00%
dhms_to_secs 1.9±0.08ns 1.9±0.02ns 0.00%
is_leap_year 1.4±0.03ns 1.4±0.05ns 0.00%
isoweekdate_to_date 7.0±0.15ns 7.1±0.08ns +1.43%
isoweekdate_to_rd 2.8±0.10ns 2.8±0.14ns 0.00%
isoweeks_in_year 2.0±0.07ns 2.1±0.06ns +5.00%
next_date 1.2±0.09ns 1.3±0.04ns +8.33%
overhead 0.7±0.01ns 0.7±0.01ns 0.00%
prev_date 1.4±0.02ns 1.4±0.02ns 0.00%
rd_to_date 3.9±0.11ns 3.9±0.10ns 0.00%
rd_to_isoweekdate 6.2±0.24ns 6.2±0.11ns 0.00%
rd_to_weekday 0.8±0.02ns 0.8±0.02ns 0.00%
secs_to_datetime 7.3±0.10ns 6.8±0.17ns -6.85%
secs_to_dhms 3.1±0.04ns 3.1±0.05ns 0.00%
secs_to_systemtime 3.3±0.09ns 3.4±0.21ns +3.03%
systemtime_to_datetime 31.4±0.34ns 31.3±0.27ns -0.32%
systemtime_to_secs 18.0±0.14ns 18.1±0.16ns +0.56%

Copy link
Contributor

Benchmark for 2950cec

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.51ns 10.3±0.15ns 0.00%
date_to_rd 2.8±0.05ns 2.5±0.08ns -10.71%
date_to_weekday 3.1±0.09ns 3.1±0.04ns 0.00%
datetime_to_secs 5.3±0.06ns 5.3±0.10ns 0.00%
datetime_to_systemtime 9.7±0.11ns 9.7±0.29ns 0.00%
days_in_month 1.3±0.02ns 1.3±0.05ns 0.00%
dhms_to_secs 1.9±0.08ns 1.9±0.03ns 0.00%
is_leap_year 1.4±0.04ns 1.4±0.08ns 0.00%
isoweekdate_to_date 7.0±0.09ns 7.1±0.10ns +1.43%
isoweekdate_to_rd 2.8±0.05ns 2.8±0.04ns 0.00%
isoweeks_in_year 2.0±0.07ns 2.1±0.04ns +5.00%
next_date 1.2±0.03ns 1.3±0.04ns +8.33%
overhead 0.7±0.01ns 0.7±0.01ns 0.00%
prev_date 1.4±0.04ns 1.4±0.03ns 0.00%
rd_to_date 4.0±0.24ns 3.9±0.07ns -2.50%
rd_to_isoweekdate 6.2±0.10ns 6.2±0.11ns 0.00%
rd_to_weekday 0.8±0.04ns 0.8±0.02ns 0.00%
secs_to_datetime 7.3±0.14ns 6.8±0.13ns -6.85%
secs_to_dhms 3.1±0.05ns 3.1±0.03ns 0.00%
secs_to_systemtime 3.3±0.13ns 3.3±0.07ns 0.00%
systemtime_to_datetime 31.4±0.21ns 31.3±0.26ns -0.32%
systemtime_to_secs 18.1±0.28ns 18.2±0.14ns +0.55%

Copy link
Contributor

Benchmark for 8ba5ef2

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.11ns 10.3±0.21ns 0.00%
date_to_rd 2.8±0.04ns 2.5±0.05ns -10.71%
date_to_weekday 3.1±0.05ns 3.1±0.08ns 0.00%
datetime_to_secs 5.3±0.04ns 5.3±0.09ns 0.00%
datetime_to_systemtime 9.7±0.13ns 9.7±0.10ns 0.00%
days_in_month 1.3±0.03ns 1.4±0.14ns +7.69%
dhms_to_secs 1.9±0.04ns 1.9±0.03ns 0.00%
is_leap_year 1.4±0.05ns 1.4±0.04ns 0.00%
isoweekdate_to_date 7.0±0.12ns 7.1±0.11ns +1.43%
isoweekdate_to_rd 2.8±0.06ns 2.8±0.08ns 0.00%
isoweeks_in_year 2.0±0.05ns 2.1±0.10ns +5.00%
next_date 1.2±0.03ns 1.3±0.04ns +8.33%
overhead 0.7±0.05ns 0.7±0.02ns 0.00%
prev_date 1.4±0.03ns 1.4±0.04ns 0.00%
rd_to_date 4.0±0.10ns 3.9±0.07ns -2.50%
rd_to_isoweekdate 6.2±0.13ns 6.2±0.08ns 0.00%
rd_to_weekday 0.8±0.03ns 0.8±0.05ns 0.00%
secs_to_datetime 7.3±0.14ns 6.9±0.16ns -5.48%
secs_to_dhms 3.1±0.06ns 3.1±0.03ns 0.00%
secs_to_systemtime 3.4±0.23ns 3.7±0.10ns +8.82%
systemtime_to_datetime 31.4±0.20ns 31.3±0.26ns -0.32%
systemtime_to_secs 18.0±0.22ns 18.1±0.16ns +0.56%

Copy link
Contributor

Benchmark for 747b951

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.09ns 10.3±0.13ns 0.00%
date_to_rd 2.8±0.05ns 2.5±0.12ns -10.71%
date_to_weekday 3.1±0.03ns 3.1±0.06ns 0.00%
datetime_to_secs 5.3±0.08ns 5.3±0.08ns 0.00%
datetime_to_systemtime 9.7±0.18ns 9.7±0.14ns 0.00%
days_in_month 1.3±0.06ns 1.3±0.03ns 0.00%
dhms_to_secs 1.9±0.03ns 1.9±0.04ns 0.00%
is_leap_year 1.4±0.04ns 1.4±0.05ns 0.00%
isoweekdate_to_date 7.0±0.13ns 7.1±0.17ns +1.43%
isoweekdate_to_rd 2.8±0.05ns 2.8±0.06ns 0.00%
isoweeks_in_year 2.0±0.09ns 2.1±0.06ns +5.00%
next_date 1.2±0.04ns 1.3±0.09ns +8.33%
overhead 0.7±0.02ns 0.7±0.01ns 0.00%
prev_date 1.4±0.04ns 1.4±0.02ns 0.00%
rd_to_date 3.9±0.06ns 3.9±0.08ns 0.00%
rd_to_isoweekdate 6.2±0.10ns 6.2±0.10ns 0.00%
rd_to_weekday 0.8±0.02ns 0.8±0.02ns 0.00%
secs_to_datetime 7.3±0.17ns 7.0±0.25ns -4.11%
secs_to_dhms 3.1±0.05ns 3.1±0.03ns 0.00%
secs_to_systemtime 3.3±0.09ns 3.3±0.12ns 0.00%
systemtime_to_datetime 31.4±0.19ns 31.3±0.23ns -0.32%
systemtime_to_secs 18.3±0.57ns 18.1±0.17ns -1.09%

Copy link
Contributor

Benchmark for 82bfc76

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.14ns 10.3±0.14ns 0.00%
date_to_rd 2.8±0.04ns 2.5±0.07ns -10.71%
date_to_weekday 3.1±0.05ns 3.1±0.05ns 0.00%
datetime_to_secs 5.3±0.09ns 5.3±0.07ns 0.00%
datetime_to_systemtime 9.7±0.09ns 9.7±0.15ns 0.00%
days_in_month 1.3±0.03ns 1.3±0.04ns 0.00%
dhms_to_secs 1.9±0.03ns 1.9±0.04ns 0.00%
is_leap_year 1.4±0.05ns 1.4±0.05ns 0.00%
isoweekdate_to_date 7.0±0.09ns 7.1±0.13ns +1.43%
isoweekdate_to_rd 2.8±0.06ns 2.8±0.08ns 0.00%
isoweeks_in_year 2.0±0.04ns 2.1±0.04ns +5.00%
next_date 1.2±0.03ns 1.3±0.03ns +8.33%
overhead 0.7±0.02ns 0.7±0.01ns 0.00%
prev_date 1.4±0.03ns 1.4±0.02ns 0.00%
rd_to_date 3.9±0.06ns 4.0±0.14ns +2.56%
rd_to_isoweekdate 6.2±0.10ns 6.2±0.12ns 0.00%
rd_to_weekday 0.8±0.04ns 0.8±0.02ns 0.00%
secs_to_datetime 7.3±0.11ns 6.9±0.19ns -5.48%
secs_to_dhms 3.1±0.24ns 3.1±0.05ns 0.00%
secs_to_systemtime 3.6±0.18ns 3.6±0.18ns 0.00%
systemtime_to_datetime 31.4±0.31ns 31.2±0.30ns -0.64%
systemtime_to_secs 18.1±1.00ns 18.1±0.18ns 0.00%

Copy link
Contributor

Benchmark for 0cf15eb

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.16ns 10.3±0.11ns 0.00%
date_to_rd 2.8±0.06ns 2.5±0.09ns -10.71%
date_to_weekday 3.1±0.05ns 3.1±0.04ns 0.00%
datetime_to_secs 5.3±0.06ns 5.3±0.07ns 0.00%
datetime_to_systemtime 9.7±0.09ns 9.7±0.16ns 0.00%
days_in_month 1.3±0.05ns 1.3±0.03ns 0.00%
dhms_to_secs 1.9±0.03ns 1.9±0.03ns 0.00%
is_leap_year 1.4±0.05ns 1.4±0.06ns 0.00%
isoweekdate_to_date 7.0±0.10ns 7.1±0.20ns +1.43%
isoweekdate_to_rd 2.8±0.05ns 2.8±0.04ns 0.00%
isoweeks_in_year 2.0±0.09ns 2.1±0.05ns +5.00%
next_date 1.2±0.02ns 1.3±0.04ns +8.33%
overhead 0.7±0.02ns 0.7±0.03ns 0.00%
prev_date 1.4±0.03ns 1.4±0.03ns 0.00%
rd_to_date 3.9±0.05ns 4.0±0.21ns +2.56%
rd_to_isoweekdate 6.2±0.22ns 6.2±0.11ns 0.00%
rd_to_weekday 0.8±0.02ns 0.8±0.04ns 0.00%
secs_to_datetime 7.3±0.10ns 6.9±0.24ns -5.48%
secs_to_dhms 3.1±0.03ns 3.1±0.03ns 0.00%
secs_to_systemtime 3.6±0.23ns 3.7±0.13ns +2.78%
systemtime_to_datetime 31.5±0.56ns 31.3±0.34ns -0.63%
systemtime_to_secs 18.0±0.20ns 18.1±0.32ns +0.56%

Copy link
Contributor

Benchmark for 110b21f

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.16ns 10.3±0.13ns 0.00%
date_to_rd 2.8±0.04ns 2.5±0.09ns -10.71%
date_to_weekday 3.1±0.06ns 3.1±0.16ns 0.00%
datetime_to_secs 5.3±0.08ns 5.3±0.08ns 0.00%
datetime_to_systemtime 9.7±0.41ns 9.7±0.09ns 0.00%
days_in_month 1.3±0.03ns 1.3±0.04ns 0.00%
dhms_to_secs 1.9±0.03ns 1.9±0.03ns 0.00%
is_leap_year 1.4±0.07ns 1.4±0.06ns 0.00%
isoweekdate_to_date 7.0±0.14ns 7.1±0.12ns +1.43%
isoweekdate_to_rd 2.8±0.06ns 2.8±0.06ns 0.00%
isoweeks_in_year 2.0±0.09ns 2.1±0.09ns +5.00%
next_date 1.2±0.04ns 1.3±0.04ns +8.33%
overhead 0.7±0.02ns 0.7±0.03ns 0.00%
prev_date 1.4±0.02ns 1.4±0.03ns 0.00%
rd_to_date 3.9±0.08ns 3.9±0.07ns 0.00%
rd_to_isoweekdate 6.2±0.12ns 6.2±0.18ns 0.00%
rd_to_weekday 0.8±0.04ns 0.8±0.04ns 0.00%
secs_to_datetime 7.3±0.13ns 6.8±0.15ns -6.85%
secs_to_dhms 3.1±0.05ns 3.1±0.04ns 0.00%
secs_to_systemtime 3.3±0.10ns 3.5±0.24ns +6.06%
systemtime_to_datetime 31.4±0.38ns 31.3±0.31ns -0.32%
systemtime_to_secs 18.0±0.19ns 18.1±0.15ns +0.56%

@nakedible nakedible changed the title Doc-and-test-tweaks chore: Doc and test tweaks Dec 20, 2023
@nakedible nakedible marked this pull request as ready for review December 20, 2023 23:01
@nakedible nakedible merged commit bf8189c into master Dec 20, 2023
2 checks passed
@nakedible nakedible deleted the doc-and-test-tweaks branch December 20, 2023 23:01
Copy link
Contributor

Benchmark for 320401e

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.09ns 10.3±0.09ns 0.00%
date_to_rd 2.8±0.06ns 2.5±0.06ns -10.71%
date_to_weekday 3.1±0.24ns 3.1±0.05ns 0.00%
datetime_to_secs 5.3±0.08ns 5.3±0.11ns 0.00%
datetime_to_systemtime 9.7±0.13ns 9.7±0.26ns 0.00%
days_in_month 1.3±0.04ns 1.3±0.03ns 0.00%
dhms_to_secs 1.9±0.04ns 1.9±0.04ns 0.00%
is_leap_year 1.4±0.04ns 1.4±0.05ns 0.00%
isoweekdate_to_date 7.0±0.10ns 7.2±0.56ns +2.86%
isoweekdate_to_rd 2.8±0.08ns 2.8±0.07ns 0.00%
isoweeks_in_year 2.0±0.06ns 2.2±0.24ns +10.00%
next_date 1.2±0.04ns 1.3±0.04ns +8.33%
overhead 0.7±0.03ns 0.7±0.05ns 0.00%
prev_date 1.4±0.02ns 1.4±0.14ns 0.00%
rd_to_date 3.9±0.04ns 3.9±0.08ns 0.00%
rd_to_isoweekdate 6.2±0.12ns 6.2±0.11ns 0.00%
rd_to_weekday 0.8±0.06ns 0.8±0.02ns 0.00%
secs_to_datetime 7.3±0.20ns 6.9±0.33ns -5.48%
secs_to_dhms 3.1±0.05ns 3.1±0.04ns 0.00%
secs_to_systemtime 3.4±0.22ns 3.6±0.24ns +5.88%
systemtime_to_datetime 31.4±0.22ns 31.3±0.20ns -0.32%
systemtime_to_secs 18.0±0.13ns 18.1±0.17ns +0.56%

Copy link
Contributor

Benchmark for c8584cf

Click to view benchmark
Test Base PR %
date_to_isoweekdate 10.3±0.17ns 10.3±0.35ns 0.00%
date_to_rd 2.5±0.04ns 2.5±0.04ns 0.00%
date_to_weekday 3.1±0.11ns 3.1±0.06ns 0.00%
datetime_to_secs 5.3±0.07ns 5.3±0.06ns 0.00%
datetime_to_systemtime 9.7±0.13ns 9.7±0.12ns 0.00%
days_in_month 1.3±0.05ns 1.3±0.03ns 0.00%
dhms_to_secs 1.9±0.03ns 1.9±0.05ns 0.00%
is_leap_year 1.4±0.04ns 1.4±0.04ns 0.00%
isoweekdate_to_date 7.1±0.09ns 7.1±0.10ns 0.00%
isoweekdate_to_rd 2.8±0.04ns 2.8±0.06ns 0.00%
isoweeks_in_year 2.1±0.08ns 2.1±0.04ns 0.00%
next_date 1.3±0.04ns 1.3±0.04ns 0.00%
overhead 0.7±0.01ns 0.7±0.02ns 0.00%
prev_date 1.4±0.03ns 1.4±0.03ns 0.00%
rd_to_date 3.9±0.06ns 4.0±0.16ns +2.56%
rd_to_isoweekdate 6.2±0.15ns 6.2±0.11ns 0.00%
rd_to_weekday 0.8±0.02ns 0.8±0.03ns 0.00%
secs_to_datetime 6.9±0.18ns 6.8±0.18ns -1.45%
secs_to_dhms 3.1±0.04ns 3.1±0.06ns 0.00%
secs_to_systemtime 3.3±0.21ns 3.6±0.15ns +9.09%
systemtime_to_datetime 31.3±0.24ns 31.3±0.33ns 0.00%
systemtime_to_secs 18.1±0.14ns 18.1±0.16ns 0.00%

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