8051248bedd7387babba24c5756c286987c42eb1,asv_bench/benchmarks/series_methods.py,IsIn,setup,#IsIn#Any#,38

Before Change



    def setup(self, dtype):
        N = 10000
        self.s = Series(np.random.randint(1, 10, N)).astype(dtype)
        self.values = [1, 2]

    def time_isin(self, dtypes):

After Change


    param_names = ["keep"]

    def setup(self, keep):
        self.s = Series(np.random.randint(1, 10, 100000))

    def time_nlargest(self, keep):
        self.s.nlargest(3, keep=keep)

    def time_nsmallest(self, keep):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pandas-dev/pandas
Commit Name: 8051248bedd7387babba24c5756c286987c42eb1
Time: 2021-02-21
Author: jbrockmendel@gmail.com
File Name: asv_bench/benchmarks/series_methods.py
Class Name: IsIn
Method Name: setup


Project Name: rlworkgroup/garage
Commit Name: b96d1546dd91372118e084e2922471fdb7979f9c
Time: 2019-05-13
Author: ahtsans@gmail.com
File Name: garage/replay_buffer/base.py
Class Name: ReplayBuffer
Method Name: _get_storage_idx


Project Name: analysiscenter/batchflow
Commit Name: b78edf5e661dfc0eb4d2092fdb9aff7bc679d3f6
Time: 2019-09-12
Author: nikita_007_94@mail.ru
File Name: batchflow/tests/regression_metrics_test.py
Class Name:
Method Name: test_both_zero