Skip to content

Conversation

@jbrockmendel
Copy link
Member

Running with -b tslibs in master takes 141 minutes. This cuts it down to 36 minutes

@jreback jreback added the Benchmark Performance (ASV) benchmarks label Feb 24, 2021
@jreback jreback added this to the 1.3 milestone Feb 24, 2021
dti = pd.date_range("2016-01-01", periods=10, tz=tz).repeat(size // 10)
self.i8data = dti.asi8

if size == 10 ** 6 and tz is _tzs[-1]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems a bit fragile, so 2 recommendations:

  1. let's skip tzlocal() entirely from benchmarks
  2. you can define a tzlocal import that we cache (might be complicated)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to use 2.

if we ever get to cython 3.0 i think i'll be able to implement a tzlocal-equivalent in cython and this may cease to be an issue

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated + greenish

@jreback jreback merged commit 3bfbb54 into pandas-dev:master Feb 27, 2021
@jbrockmendel jbrockmendel deleted the asvs branch February 27, 2021 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Benchmark Performance (ASV) benchmarks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants