Skip to content

CI: series_methods.IsInLongSeriesLookUpDominates.time_isin fails with NumPy 1.20+ #39844

Closed
@simonjayhawkins

Description

@simonjayhawkins

xref #38379 (comment), benchmarks skipped in #39795

[  0.00%] ·· Benchmarking existing-py_home_simon_miniconda3_envs_numpy-types_bin_python
[ 50.00%] ··· series_methods.IsInLongSeriesLookUpDominates.time_isin                                               16/56 failed
[ 50.00%] ··· ========= =========== ============= =============== =============== =================
              --                                              series_type                          
              --------------------- ---------------------------------------------------------------
                dtype    MaxNumber   random_hits   random_misses   monotone_hits   monotone_misses 
              ========= =========== ============= =============== =============== =================
                int64        5         33.5±0ms       38.2±0ms        38.8±0ms         33.8±0ms    
                int64       1000       31.5±0ms       30.7±0ms        32.0±0ms         88.0±0ms    
                int32        5         20.3±0ms       20.1±0ms        22.0±0ms         20.6±0ms    
                int32       1000       28.6±0ms       31.5±0ms        28.8±0ms         79.0±0ms    
               float64       5         33.3±0ms       31.8±0ms        49.3±0ms         36.9±0ms    
               float64      1000       103±0ms        161±0ms         67.6±0ms         156±0ms     
               float32       5         21.0±0ms       20.3±0ms        21.7±0ms         20.1±0ms    
               float32      1000       91.1±0ms       151±0ms         57.9±0ms         148±0ms     
                object       5         100±0ms        172±0ms         84.5±0ms         212±0ms     
                object      1000       149±0ms        60.9±0ms        126±0ms          265±0ms     
                Int64        5          failed         failed          failed           failed     
                Int64       1000        failed         failed          failed           failed     
               Float64       5          failed         failed          failed           failed     
               Float64      1000        failed         failed          failed           failed     
              ========= =========== ============= =============== =============== =================

[ 50.00%] ···· For parameters: 'Int64', 5, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 5, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 5, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 5, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Int64', 1000, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Int64' not understood
               
               For parameters: 'Float64', 5, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 5, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 5, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 5, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'random_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'random_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'monotone_hits'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood
               
               For parameters: 'Float64', 1000, 'monotone_misses'
               Traceback (most recent call last):
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1184, in main_run_server
                   main_run(run_args)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 1052, in main_run
                   skip = benchmark.do_setup()
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 583, in do_setup
                   result = Benchmark.do_setup(self)
                 File "/home/simon/miniconda3/envs/numpy-types/lib/python3.8/site-packages/asv/benchmark.py", line 515, in do_setup
                   setup(*self._current_params)
                 File "/home/simon/pandas/asv_bench/benchmarks/series_methods.py", line 157, in setup
                   self.values = np.arange(MaxNumber).astype(dtype)
               TypeError: data type 'Float64' not understood

Metadata

Metadata

Assignees

No one assigned

    Labels

    BenchmarkPerformance (ASV) benchmarksCIContinuous Integration

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions