Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove pendulum from schedules (dagster-io#21391)
Noticed that `pendulum` was using up alot of CPU time. This PR uses native `datetime` instead to improve performance inside of schedules, the result is then converted to a `pendulum.datetime` at the end before yielding. This slightly improves performance ~10% or so. The next step would be to replace all the rest of the pendulum callsites outside of schedules and stop returning `pendulum.datetime` from our definitions. This would net a large performance improvement around 4x the current status quo. I also fixed a very small bug where schedules didn't account for non-hour DST transitions. ### Test plan running buildkite test coverage
- Loading branch information