-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
PERF: Add asv benchmarks for select_dtypes (14588) #36839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
can you show a run of these new benchmarks |
· Discovering benchmarks
· Running 8 total benchmarks (1 commits * 1 environments * 8 benchmarks)
[ 0.00%] ·· Benchmarking existing-py_Users_avinash_anaconda3_envs_pandas-dev_bin_python3.8
[ 6.25%] ··· Running (dtypes.SelectDtypes.time_select_dtype_bool_exclude--)..
[ 18.75%] ··· Running (dtypes.SelectDtypes.time_select_dtype_float_exclude--)..
[ 31.25%] ··· Running (dtypes.SelectDtypes.time_select_dtype_int_exclude--)..
[ 43.75%] ··· Running (dtypes.SelectDtypes.time_select_dtype_string_exclude--)..
[ 56.25%] ··· dtypes.SelectDtypes.time_select_dtype_bool_exclude ok
[ 56.25%] ··· ================= ==========
dtype
----------------- ----------
uint8 829±20μs
uint16 817±4μs
uint32 831±20μs
uint64 836±9μs
int 808±10μs
int8 827±20μs
int16 815±9μs
int32 832±20μs
int64 830±20μs
UInt8 809±10μs
UInt16 813±10μs
UInt32 813±10μs
UInt64 804±10μs
Int8 823±10μs
Int16 816±3μs
Int32 801±10μs
Int64 818±10μs
float 817±10μs
float32 809±10μs
float64 811±10μs
complex 798±2μs
complex64 865±20μs
complex128 861±30μs
datetime64[ns] 864±30μs
M8[ns] 869±40μs
timedelta64[ns] 829±10μs
m8[ns] 820±6μs
bool 583±5μs
bool 592±8μs
================= ==========
[ 62.50%] ··· dtypes.SelectDtypes.time_select_dtype_bool_include ok [ 68.75%] ··· dtypes.SelectDtypes.time_select_dtype_float_exclude ok [ 75.00%] ··· dtypes.SelectDtypes.time_select_dtype_float_include ok [ 81.25%] ··· dtypes.SelectDtypes.time_select_dtype_int_exclude ok [ 87.50%] ··· dtypes.SelectDtypes.time_select_dtype_int_include ok [ 93.75%] ··· dtypes.SelectDtypes.time_select_dtype_string_exclude ok [100.00%] ··· dtypes.SelectDtypes.time_select_dtype_string_include ok |
thanks @avinashpancham |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff