Closed
Description
ASV benchmarks are failing on the benchmarks for arithmetic.ApplyIndex.time_apply_index
I believe the benchmarks are failing after #34499 was merged.
The latest benchmark failed link
Related errors
##[error][ 0.65%] ··· arithmetic.ApplyIndex.time_apply_index 3/10 failed
[ 0.65%] ··· =================================== ==========
offset
----------------------------------- ----------
<YearEnd: month=12> 1.55±0ms
<YearBegin: month=1> 1.37±0ms
<QuarterEnd: startingMonth=3> 1.71±0ms
<QuarterBegin: startingMonth=3> 1.59±0ms
<MonthEnd> 2.25±0ms
<MonthBegin> 1.34±0ms
<DateOffset: days=2, months=2> 3.16±0ms
<BusinessDay> failed
<SemiMonthEnd: day_of_month=15> failed
<SemiMonthBegin: day_of_month=15> failed
=================================== ==========
[ 0.65%] ···· For parameters: <BusinessDay>
Traceback (most recent call last):
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
main_run(run_args)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 1058, in main_run
result = benchmark.do_run()
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 537, in do_run
return self.run(*self._current_params)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 627, in run
samples, number = self.benchmark_timing(timer, min_repeat, max_repeat,
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 694, in benchmark_timing
timing = timer.timeit(number)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/timeit.py", line 177, in timeit
timing = self.inner(it, self.timer)
File "<timeit-src>", line 6, in inner
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 599, in <lambda>
func = lambda: self.func(*param)
File "/home/runner/work/pandas/pandas/asv_bench/benchmarks/arithmetic.py", line 469, in time_apply_index
offset.apply_index(self.rng)
File "pandas/_libs/tslibs/offsets.pyx", line 87, in pandas._libs.tslibs.offsets.apply_index_wraps.wrapper
File "pandas/_libs/tslibs/offsets.pyx", line 1397, in pandas._libs.tslibs.offsets.BusinessDay.apply_index
AttributeError: 'PeriodIndex' object has no attribute '_addsub_int_array'
For parameters: <SemiMonthEnd: day_of_month=15>
Traceback (most recent call last):
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
main_run(run_args)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 1058, in main_run
result = benchmark.do_run()
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 537, in do_run
return self.run(*self._current_params)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 627, in run
samples, number = self.benchmark_timing(timer, min_repeat, max_repeat,
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 694, in benchmark_timing
timing = timer.timeit(number)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/timeit.py", line 177, in timeit
timing = self.inner(it, self.timer)
File "<timeit-src>", line 6, in inner
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 599, in <lambda>
func = lambda: self.func(*param)
File "/home/runner/work/pandas/pandas/asv_bench/benchmarks/arithmetic.py", line 469, in time_apply_index
offset.apply_index(self.rng)
File "pandas/_libs/tslibs/offsets.pyx", line 87, in pandas._libs.tslibs.offsets.apply_index_wraps.wrapper
File "pandas/_libs/tslibs/offsets.pyx", line 2319, in pandas._libs.tslibs.offsets.SemiMonthOffset.apply_index
AttributeError: 'PeriodIndex' object has no attribute '_addsub_int_array'
For parameters: <SemiMonthBegin: day_of_month=15>
Traceback (most recent call last):
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
main_run(run_args)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 1058, in main_run
result = benchmark.do_run()
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 537, in do_run
return self.run(*self._current_params)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 627, in run
samples, number = self.benchmark_timing(timer, min_repeat, max_repeat,
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 694, in benchmark_timing
timing = timer.timeit(number)
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/timeit.py", line 177, in timeit
timing = self.inner(it, self.timer)
File "<timeit-src>", line 6, in inner
File "/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/asv/benchmark.py", line 599, in <lambda>
func = lambda: self.func(*param)
File "/home/runner/work/pandas/pandas/asv_bench/benchmarks/arithmetic.py", line 469, in time_apply_index
offset.apply_index(self.rng)
File "pandas/_libs/tslibs/offsets.pyx", line 87, in pandas._libs.tslibs.offsets.apply_index_wraps.wrapper
File "pandas/_libs/tslibs/offsets.pyx", line 2319, in pandas._libs.tslibs.offsets.SemiMonthOffset.apply_index
AttributeError: 'PeriodIndex' object has no attribute '_addsub_int_array'
I am not sure what was the right way to report this thus created this issue. Do tell me if this is an incorrect place, incorrect way or incorrect language
Metadata
Metadata
Assignees
Labels
No labels