Skip to content

Instantly share code, notes, and snippets.

@unutbu unutbu/gist:7075764
Created Oct 20, 2013

Embed
What would you like to do?
Invoked with :
--ncalls: 3
--repeats: 3
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
frame_reindex_columns | 0.4276 | 0.5569 | 0.7678 |
packers_write_pickle | 6.4920 | 8.0253 | 0.8089 |
ctor_index_array_string | 0.0147 | 0.0157 | 0.9391 |
dataframe_reindex | 0.4407 | 0.4617 | 0.9546 |
append_frame_single_homogenous | 0.2270 | 0.2356 | 0.9632 |
eval_frame_and_python_one_thread | 52.1016 | 53.9847 | 0.9651 |
reindex_fillna_backfill | 0.8607 | 0.8910 | 0.9660 |
reshape_pivot_time_series | 239.0550 | 247.1087 | 0.9674 |
frame_get_numeric_data | 0.0807 | 0.0834 | 0.9676 |
frame_to_csv_mixed | 241.7746 | 249.5203 | 0.9690 |
frame_reindex_axis1 | 459.2806 | 473.2707 | 0.9704 |
groupby_frame_apply_overhead | 9.5920 | 9.8727 | 0.9716 |
timeseries_timestamp_tzinfo_cons | 0.0140 | 0.0144 | 0.9724 |
timeseries_large_lookup_value | 0.0260 | 0.0267 | 0.9732 |
packers_read_pack | 25.7359 | 26.3727 | 0.9759 |
stats_rank_average_int | 31.7060 | 32.4443 | 0.9772 |
frame_to_csv_date_formatting | 15.0193 | 15.3613 | 0.9777 |
frame_get_dtype_counts | 0.0750 | 0.0767 | 0.9782 |
frame_repr_wide | 0.8310 | 0.8493 | 0.9785 |
packers_read_pickle | 0.8133 | 0.8310 | 0.9788 |
timeseries_sort_index | 33.6187 | 34.3144 | 0.9797 |
timeseries_add_irregular | 35.3980 | 36.1187 | 0.9800 |
indexing_dataframe_boolean_no_ne | 95.0980 | 96.9623 | 0.9808 |
frame_xs_row | 0.0383 | 0.0390 | 0.9817 |
stat_ops_level_series_sum | 4.2741 | 4.3434 | 0.9840 |
frame_drop_dup_na_inplace | 2.7907 | 2.8323 | 0.9853 |
dti_reset_index | 0.2043 | 0.2073 | 0.9858 |
indexing_panel_subset | 0.4954 | 0.5023 | 0.9861 |
frame_add | 10.2203 | 10.3637 | 0.9862 |
join_dataframe_index_single_key_small | 7.7686 | 7.8757 | 0.9864 |
series_value_counts_strings | 5.8700 | 5.9473 | 0.9870 |
indexing_dataframe_boolean_st | 94.9423 | 96.1903 | 0.9870 |
eval_frame_add_python | 31.2383 | 31.6443 | 0.9872 |
match_strings | 0.4953 | 0.5010 | 0.9886 |
datetime_index_intersection | 0.3994 | 0.4040 | 0.9886 |
frame_to_string_floats | 34.2309 | 34.6200 | 0.9888 |
frame_drop_duplicates | 17.0976 | 17.2830 | 0.9893 |
merge_2intkey_nosort | 19.9617 | 20.1674 | 0.9898 |
series_drop_duplicates_int | 0.7430 | 0.7506 | 0.9898 |
timeseries_asof_single | 0.0320 | 0.0323 | 0.9902 |
stat_ops_frame_sum_float_axis_0 | 1.0974 | 1.1080 | 0.9904 |
datetime_index_union | 0.0660 | 0.0666 | 0.9905 |
dti_reset_index_tz | 12.1400 | 12.2570 | 0.9905 |
frame_constructor_ndarray | 0.0433 | 0.0437 | 0.9909 |
frame_mult_st | 10.2967 | 10.3886 | 0.9911 |
groupby_first | 5.2344 | 5.2799 | 0.9914 |
packers_read_csv | 45.4560 | 45.8437 | 0.9915 |
stat_ops_frame_mean_float_axis_1 | 1.4407 | 1.4523 | 0.9920 |
groupby_indices | 10.0910 | 10.1720 | 0.9920 |
frame_mult | 10.3240 | 10.4067 | 0.9921 |
frame_add_st | 10.2340 | 10.3150 | 0.9921 |
read_table_multiple_date | 136.6421 | 137.7107 | 0.9922 |
frame_mult_no_ne | 10.3266 | 10.4050 | 0.9925 |
groupby_frame_singlekey_integer | 3.6391 | 3.6657 | 0.9927 |
groupby_frame_apply | 49.3710 | 49.7280 | 0.9928 |
frame_add_no_ne | 10.2530 | 10.3263 | 0.9929 |
frame_insert_100_columns_begin | 16.8003 | 16.9187 | 0.9930 |
replace_replacena | 5.6193 | 5.6540 | 0.9939 |
frame_loc_dups | 0.7883 | 0.7931 | 0.9940 |
datetimeindex_infer_dst | 4.7596 | 4.7870 | 0.9943 |
mask_floats | 26.9073 | 27.0583 | 0.9944 |
sparse_frame_constructor | 11.0846 | 11.1467 | 0.9944 |
reshape_stack_simple | 2.2027 | 2.2150 | 0.9944 |
plot_timeseries_period | 57.8937 | 58.2077 | 0.9946 |
eval_frame_chained_cmp_python_one_thread | 102.7930 | 103.3110 | 0.9950 |
timeseries_period_downsample_mean | 13.5240 | 13.5920 | 0.9950 |
timeseries_1min_5min_ohlc | 0.6713 | 0.6746 | 0.9951 |
indexing_dataframe_boolean | 94.5090 | 94.9707 | 0.9951 |
stat_ops_frame_sum_int_axis_1 | 0.4814 | 0.4837 | 0.9952 |
reindex_daterange_pad | 2.1413 | 2.1513 | 0.9953 |
reindex_fillna_pad | 0.8770 | 0.8810 | 0.9954 |
timeseries_slice_minutely | 0.0554 | 0.0556 | 0.9957 |
stats_rolling_mean | 1.5694 | 1.5760 | 0.9958 |
timeseries_timestamp_downsample_mean | 6.8423 | 6.8713 | 0.9958 |
eval_frame_add_python_one_thread | 31.2596 | 31.3884 | 0.9959 |
stats_corr_spearman | 97.7850 | 98.1793 | 0.9960 |
groupby_last_float32 | 5.5576 | 5.5797 | 0.9960 |
reindex_fillna_pad_float32 | 0.5923 | 0.5946 | 0.9961 |
timeseries_to_datetime_iso8601 | 6.1247 | 6.1474 | 0.9963 |
groupby_apply_dict_return | 33.4533 | 33.5670 | 0.9966 |
replace_fillna | 5.8607 | 5.8804 | 0.9967 |
frame_repr_tall | 2.6143 | 2.6227 | 0.9968 |
frame_ctor_nested_dict_int64 | 110.3456 | 110.6973 | 0.9968 |
series_value_counts_int64 | 6.8363 | 6.8577 | 0.9969 |
frame_drop_duplicates_na | 17.4347 | 17.4784 | 0.9975 |
frame_ctor_nested_dict | 67.6903 | 67.8500 | 0.9976 |
stats_rank2d_axis0_average | 27.7247 | 27.7876 | 0.9977 |
timeseries_infer_freq | 25.9350 | 25.9920 | 0.9978 |
datetimeindex_unique | 0.1457 | 0.1460 | 0.9978 |
eval_frame_mult_python_one_thread | 31.2050 | 31.2657 | 0.9981 |
stat_ops_level_series_sum_multiple | 12.4600 | 12.4840 | 0.9981 |
join_dataframe_index_single_key_bigger | 8.3193 | 8.3343 | 0.9982 |
stats_rank2d_axis1_average | 16.4840 | 16.5137 | 0.9982 |
lib_fast_zip_fillna | 13.0833 | 13.1063 | 0.9982 |
frame_sort_index_by_columns | 42.9596 | 43.0337 | 0.9983 |
join_dataframe_index_multi | 24.2470 | 24.2856 | 0.9984 |
datetimeindex_normalize | 5.3960 | 5.4026 | 0.9988 |
sort_level_one | 6.5983 | 6.6047 | 0.9990 |
stat_ops_frame_mean_int_axis_0 | 0.4363 | 0.4367 | 0.9991 |
timeseries_asof | 10.5177 | 10.5270 | 0.9991 |
frame_multi_and_st | 96.8130 | 96.8940 | 0.9992 |
read_table_multiple_date_baseline | 62.1564 | 62.2077 | 0.9992 |
groupby_multi_size | 46.3723 | 46.3967 | 0.9995 |
timeseries_1min_5min_mean | 0.6397 | 0.6400 | 0.9995 |
series_align_int64_index | 119.6077 | 119.6644 | 0.9995 |
groupby_multi_series_op | 18.3983 | 18.4060 | 0.9996 |
frame_multi_and_no_ne | 103.9863 | 104.0243 | 0.9996 |
frame_xs_col | 0.0310 | 0.0310 | 1.0000 |
reindex_fillna_backfill_float32 | 0.6110 | 0.6107 | 1.0005 |
frame_iteritems | 29.3580 | 29.3403 | 1.0006 |
join_dataframe_integer_key | 2.1100 | 2.1079 | 1.0010 |
frame_reindex_axis0 | 123.1896 | 123.0497 | 1.0011 |
stat_ops_frame_mean_int_axis_1 | 0.8864 | 0.8853 | 1.0012 |
read_csv_comment2 | 29.2896 | 29.2533 | 1.0012 |
stat_ops_level_frame_sum_multiple | 13.5560 | 13.5346 | 1.0016 |
groupby_frame_cython_many_columns | 4.5693 | 4.5617 | 1.0017 |
frame_reindex_both_axes | 46.4770 | 46.3990 | 1.0017 |
read_parse_dates_iso8601 | 1.3660 | 1.3637 | 1.0017 |
datetimeindex_add_offset | 0.2321 | 0.2317 | 1.0017 |
timeseries_asof_nan | 9.9037 | 9.8840 | 1.0020 |
groupby_multi_different_numpy_functions | 16.4927 | 16.4566 | 1.0022 |
lib_fast_zip | 9.0810 | 9.0604 | 1.0023 |
series_string_vector_slice | 194.7550 | 194.2603 | 1.0025 |
merge_2intkey_sort | 44.4554 | 44.3404 | 1.0026 |
frame_insert_500_columns_end | 93.9473 | 93.6850 | 1.0028 |
groupby_pivot_table | 24.9270 | 24.8503 | 1.0031 |
reindex_daterange_backfill | 2.2414 | 2.2340 | 1.0033 |
series_timestamp_compare | 6.4897 | 6.4680 | 1.0034 |
packers_write_pack | 10.4420 | 10.4063 | 1.0034 |
frame_fillna_inplace | 16.5280 | 16.4673 | 1.0037 |
index_int64_intersection | 33.6723 | 33.5343 | 1.0041 |
timestamp_series_compare | 6.4750 | 6.4446 | 1.0047 |
groupby_multi_different_functions | 16.4851 | 16.4076 | 1.0047 |
append_frame_single_mixed | 0.7097 | 0.7064 | 1.0047 |
frame_reindex_both_axes_ix | 46.5100 | 46.2754 | 1.0051 |
sparse_series_to_frame | 199.5717 | 198.5247 | 1.0053 |
frame_multi_and | 103.8074 | 103.2467 | 1.0054 |
groupby_first_float32 | 5.2803 | 5.2497 | 1.0058 |
stat_ops_frame_sum_float_axis_1 | 1.3720 | 1.3620 | 1.0074 |
groupby_frame_median | 9.6974 | 9.6246 | 1.0076 |
concat_small_frames | 14.0103 | 13.9047 | 1.0076 |
groupby_last | 5.6750 | 5.6320 | 1.0076 |
join_dataframe_index_single_key_bigger_sort | 19.2067 | 19.0573 | 1.0078 |
join_dataframe_integer_2key | 7.4177 | 7.3566 | 1.0083 |
series_drop_duplicates_string | 0.5193 | 0.5150 | 1.0083 |
sort_level_zero | 6.6857 | 6.6270 | 1.0089 |
series_ctor_from_dict | 2.7470 | 2.7213 | 1.0094 |
read_csv_thou_vb | 19.4603 | 19.2767 | 1.0095 |
period_setitem | 203.4580 | 201.5060 | 1.0097 |
write_csv_standard | 31.6284 | 31.2940 | 1.0107 |
frame_iteritems_cached | 0.5393 | 0.5333 | 1.0112 |
timeseries_to_datetime_YYYYMMDD | 13.0123 | 12.8683 | 1.0112 |
frame_ctor_list_of_dict | 76.9216 | 76.0587 | 1.0113 |
read_csv_vb | 19.0584 | 18.8384 | 1.0117 |
groupby_multi_cython | 20.8610 | 20.6199 | 1.0117 |
frame_drop_dup_inplace | 2.8663 | 2.8313 | 1.0124 |
frame_to_csv | 68.6874 | 67.8341 | 1.0126 |
frame_to_csv2 | 137.3003 | 135.5476 | 1.0129 |
series_align_left_monotonic | 22.7767 | 22.4840 | 1.0130 |
indexing_dataframe_boolean_rows_object | 0.6444 | 0.6353 | 1.0143 |
packers_write_csv | 468.8284 | 461.4067 | 1.0161 |
groupby_series_simple_cython | 6.0280 | 5.9244 | 1.0175 |
reindex_frame_level_reindex | 1.2209 | 1.1973 | 1.0197 |
frame_reindex_upcast | 16.6729 | 16.3287 | 1.0211 |
frame_iloc_dups | 0.2730 | 0.2673 | 1.0211 |
frame_boolean_row_select | 0.4790 | 0.4687 | 1.0220 |
stat_ops_frame_mean_float_axis_0 | 1.1450 | 1.1190 | 1.0232 |
series_constructor_ndarray | 0.0167 | 0.0163 | 1.0244 |
frame_getitem_single_column | 22.6467 | 22.0150 | 1.0287 |
read_csv_standard | 11.6787 | 11.3333 | 1.0305 |
frame_fillna_many_columns_pad | 15.7433 | 15.2737 | 1.0308 |
index_int64_union | 116.8460 | 112.9980 | 1.0341 |
stat_ops_level_frame_sum | 5.4447 | 5.2637 | 1.0344 |
groupby_multi_python | 118.6130 | 114.5700 | 1.0353 |
stat_ops_series_std | 0.3486 | 0.3350 | 1.0408 |
indexing_dataframe_boolean_rows | 0.3960 | 0.3800 | 1.0420 |
frame_getitem_single_column2 | 23.7137 | 22.6037 | 1.0491 |
unstack_sparse_keyspace | 1.8890 | 1.7970 | 1.0512 |
stat_ops_frame_sum_int_axis_0 | 0.3270 | 0.3103 | 1.0538 |
index_datetime_intersection | 12.5290 | 11.8463 | 1.0576 |
groupby_transform | 161.8826 | 153.0130 | 1.0580 |
frame_fancy_lookup | 2.8400 | 2.6790 | 1.0601 |
stats_rank_average | 37.9313 | 35.6886 | 1.0628 |
index_datetime_union | 12.5730 | 11.8260 | 1.0632 |
groupby_sum_booleans | 1.0304 | 0.9684 | 1.0640 |
reshape_unstack_simple | 4.1773 | 3.9076 | 1.0690 |
mask_bools | 36.2016 | 33.2007 | 1.0904 |
series_align_irregular_string | 77.3490 | 70.3650 | 1.0993 |
panel_from_dict_all_different_indexes | 92.2086 | 82.4486 | 1.1184 |
frame_fancy_lookup_all | 17.1377 | 15.1893 | 1.1283 |
melt_dataframe | 2.2677 | 1.9923 | 1.1382 |
groupby_simple_compress_timing | 51.0434 | 44.7327 | 1.1411 |
reindex_multiindex | 1.7770 | 1.5133 | 1.1742 |
panel_from_dict_two_different_indexes | 65.0147 | 54.4247 | 1.1946 |
panel_from_dict_same_index | 41.1900 | 30.6797 | 1.3426 |
panel_from_dict_equiv_indexes | 41.2187 | 30.6277 | 1.3458 |
concat_series_axis1 | 204.8774 | 83.7650 | 2.4459 |
reindex_frame_level_align | 8.9770 | 1.2484 | 7.1910 |
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
Ratio < 1.0 means the target commit is faster then the baseline.
Seed used: 1234
Target [8c8ef7d] : ENH: Add array_equivalent, to address the handling of NaNs when comparing arrays for equality.
Added NDFrame.equals
Index, Float64Index, and MultiIndex's equal method now uses array_equivalent
instead of np.array_equal.
Base [5c6116c] : Merge pull request #5281 from cancan101/index_meta_data_doc
DOC: Added versionadded for "Setting index metadata"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.