Skip to content

Add CodSpeed performance benchmarks#118

Merged
tarsil merged 1 commit intomainfrom
codspeed-wizard-1772061459830
Feb 25, 2026
Merged

Add CodSpeed performance benchmarks#118
tarsil merged 1 commit intomainfrom
codspeed-wizard-1772061459830

Conversation

@codspeed-hq
Copy link
Contributor

@codspeed-hq codspeed-hq bot commented Feb 25, 2026

Summary

  • Added 18 performance benchmarks covering the core components of asyncz:
    • Utility functions: to_timezone, to_datetime, datetime_to_utc_timestamp, utc_timestamp_to_datetime, timedelta_seconds, datetime_ceil, ref_to_obj, check_callable_args
    • Trigger creation: CronTrigger, CronTrigger.from_crontab, IntervalTrigger, DateTrigger
    • Trigger computation: next fire time calculations for cron (with and without previous time), crontab expressions, interval (with and without previous time), and date triggers
  • Added a GitHub Actions workflow (.github/workflows/codspeed.yml) that runs benchmarks on push to main and on pull requests, using OIDC authentication and simulation mode
  • Added the CodSpeed badge to the README

Next Steps

  • Visit the CodSpeed dashboard to view benchmark results after the first CI run
  • Add more benchmarks as new features are developed, especially around scheduler operations and store serialization
  • Consider adding benchmarks for async operations once the scheduler benchmarking patterns are established

Test Plan

  • Verify the CodSpeed workflow runs successfully in CI
  • Check that all 18 benchmarks are reported on the CodSpeed dashboard
  • Confirm the CodSpeed badge renders correctly in the README

@codspeed-hq
Copy link
Contributor Author

codspeed-hq bot commented Feb 25, 2026

Congrats! CodSpeed is installed 🎉

🆕 18 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks


Open in CodSpeed

@codspeed-hq codspeed-hq bot marked this pull request as ready for review February 25, 2026 23:26
@tarsil tarsil merged commit 4d31aa9 into main Feb 25, 2026
6 checks passed
@tarsil tarsil deleted the codspeed-wizard-1772061459830 branch February 25, 2026 23:35
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