Comments (4)
This happens when SnakeViz is unable to load and render the visualization within 20 seconds, which happens with complicated profiles. What I generally do is look at the stats table to identify a specific slow function to profile and then use the IPython magics %prun
or %snakeviz
to look at just that function.
from snakeviz.
Got it, thanks. Very nice tool, btw.
from snakeviz.
I'm getting this error, and the code is not terribly complex. Below is the profile. Is there any way to extend the time limit, to alter the maximum depth we're looking down, or anything like that?
3505 function calls (3497 primitive calls) in 0.008 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
631 0.000 0.000 0.000 0.000 {built-in method isinstance}
76 0.000 0.000 0.000 0.000 {built-in method array}
14 0.000 0.000 0.000 0.000 {method 'reduce' of 'numpy.ufunc' objects}
1 0.000 0.000 0.000 0.000 {method 'take' of 'numpy.ndarray' objects}
12 0.000 0.000 0.000 0.000 {pandas.lib.infer_dtype}
2 0.000 0.000 0.001 0.000 {pandas.lib.scalar_compare}
25 0.000 0.000 0.001 0.000 internals.py:1804(make_block)
17 0.000 0.000 0.001 0.000 series.py:134(__init__)
4 0.000 0.000 0.000 0.000 internals.py:2656(set)
6 0.000 0.000 0.000 0.000 common.py:620(take_nd)
2 0.000 0.000 0.002 0.001 indexing.py:194(_setitem_with_indexer)
2 0.000 0.000 0.000 0.000 {pandas.lib.isnullobj}
8 0.000 0.000 0.001 0.000 internals.py:2129(apply)
116/114 0.000 0.000 0.000 0.000 {built-in method getattr}
1 0.000 0.000 0.008 0.008 <ipython-input-346-91dc3233550d>:3(swap_with_restriction)
279/277 0.000 0.000 0.000 0.000 {built-in method len}
25 0.000 0.000 0.000 0.000 internals.py:59(__init__)
21 0.000 0.000 0.000 0.000 internals.py:3035(__init__)
2 0.000 0.000 0.000 0.000 internals.py:2503(fast_xs)
2 0.000 0.000 0.000 0.000 common.py:202(_isnull_ndarraylike)
10 0.000 0.000 0.000 0.000 common.py:2165(_asarray_tuplesafe)
1 0.000 0.000 0.008 0.008 {built-in method exec}
18 0.000 0.000 0.000 0.000 generic.py:87(__init__)
33 0.000 0.000 0.000 0.000 {method 'view' of 'numpy.ndarray' objects}
6 0.000 0.000 0.000 0.000 index.py:114(__new__)
2 0.000 0.000 0.000 0.000 {built-in method stat}
152 0.000 0.000 0.000 0.000 {built-in method issubclass}
7 0.000 0.000 0.000 0.000 series.py:2397(_sanitize_array)
4 0.000 0.000 0.000 0.000 indexing.py:982(_convert_to_indexer)
62 0.000 0.000 0.000 0.000 {built-in method hasattr}
1 0.000 0.000 0.000 0.000 internals.py:2004(_rebuild_blknos_and_blklocs)
12 0.000 0.000 0.000 0.000 {built-in method empty}
4 0.000 0.000 0.000 0.000 internals.py:460(setitem)
9 0.000 0.000 0.000 0.000 index.py:709(__getitem__)
46 0.000 0.000 0.000 0.000 numeric.py:394(asarray)
6 0.000 0.000 0.000 0.000 common.py:1862(_possibly_infer_to_datetimelike)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2016(find_spec)
2 0.000 0.000 0.001 0.000 generic.py:1244(xs)
8 0.000 0.000 0.000 0.000 {method 'copy' of 'numpy.ndarray' objects}
29 0.000 0.000 0.000 0.000 numeric.py:1910(isscalar)
2 0.000 0.000 0.000 0.000 internals.py:211(set)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2147(_find_spec)
2 0.000 0.000 0.000 0.000 internals.py:3417(_interleaved_dtype)
2 0.000 0.000 0.001 0.001 ops.py:547(wrapper)
4 0.000 0.000 0.002 0.001 indexing.py:372(setter)
18 0.000 0.000 0.000 0.000 {method 'get_loc' of 'pandas.index.IndexEngine' objects}
8 0.000 0.000 0.000 0.000 internals.py:3565(_get_blkno_placements)
30 0.000 0.000 0.000 0.000 generic.py:297(_get_axis_name)
4 0.000 0.000 0.000 0.000 frame.py:2113(_sanitize_column)
10 0.000 0.000 0.000 0.000 generic.py:1047(_get_item_cache)
4 0.000 0.000 0.000 0.000 index.py:1244(get_indexer)
1 0.000 0.000 0.000 0.000 indexing.py:1616(_maybe_convert_indices)
4 0.000 0.000 0.000 0.000 {method 'get_indexer' of 'pandas.index.IndexEngine' objects}
11 0.000 0.000 0.000 0.000 internals.py:1238(__init__)
21 0.000 0.000 0.000 0.000 index.py:698(__contains__)
20 0.000 0.000 0.000 0.000 {pandas.lib.values_from_object}
10 0.000 0.000 0.000 0.000 internals.py:1950(shape)
21 0.000 0.000 0.000 0.000 generic.py:1845(__setattr__)
6 0.000 0.000 0.000 0.000 internals.py:742(take_nd)
2 0.000 0.000 0.002 0.001 indexing.py:754(_getitem_lowerdim)
17 0.000 0.000 0.000 0.000 series.py:263(_set_axis)
25 0.000 0.000 0.000 0.000 internals.py:108(mgr_locs)
8 0.000 0.000 0.000 0.000 generic.py:1829(__getattr__)
4 0.000 0.000 0.000 0.000 internals.py:2586(iget)
1 0.000 0.000 0.001 0.001 internals.py:2961(take)
7 0.000 0.000 0.002 0.000 frame.py:1655(__getitem__)
33 0.000 0.000 0.000 0.000 index.py:3936(_ensure_index)
2 0.000 0.000 0.001 0.000 generic.py:1594(reindex)
18 0.000 0.000 0.000 0.000 index.py:1173(get_loc)
11 0.000 0.000 0.000 0.000 common.py:1933(_is_bool_indexer)
2 0.000 0.000 0.001 0.000 indexing.py:884(_getitem_iterable)
28 0.000 0.000 0.000 0.000 common.py:58(_check)
4 0.000 0.000 0.002 0.000 indexing.py:856(_getitem_axis)
3 0.000 0.000 0.001 0.000 internals.py:2828(reindex_indexer)
30 0.000 0.000 0.000 0.000 generic.py:310(_get_axis)
6 0.000 0.000 0.000 0.000 common.py:942(_maybe_promote)
4 0.000 0.000 0.000 0.000 generic.py:1138(_set_item)
13 0.000 0.000 0.000 0.000 index.py:256(__array_finalize__)
2 0.000 0.000 0.000 0.000 generic.py:1709(_reindex_with_indexers)
4 0.000 0.000 0.000 0.000 shape_base.py:60(atleast_2d)
26 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2264(_handle_fromlist)
2 0.000 0.000 0.000 0.000 internals.py:1291(set)
1 0.000 0.000 0.000 0.000 ops.py:469(wrapper)
16 0.000 0.000 0.000 0.000 indexing.py:1676(_is_list_like)
2 0.000 0.000 0.003 0.001 indexing.py:95(__setitem__)
19 0.000 0.000 0.000 0.000 internals.py:3165(values)
7 0.000 0.000 0.000 0.000 common.py:1753(_possibly_castable)
6/4 0.000 0.000 0.002 0.001 indexing.py:60(__getitem__)
1 0.000 0.000 0.000 0.000 {pandas.algos.take_2d_axis1_bool_bool}
4 0.000 0.000 0.001 0.000 frame.py:2072(_set_item)
9 0.000 0.000 0.000 0.000 generic.py:1812(__finalize__)
2 0.000 0.000 0.000 0.000 index.py:460(is_unique)
1 0.000 0.000 0.000 0.000 {pandas.algos.take_2d_axis1_object_object}
6 0.000 0.000 0.000 0.000 common.py:589(_get_take_nd_function)
6 0.000 0.000 0.000 0.000 common.py:132(_isnull_new)
4 0.000 0.000 0.000 0.000 fromnumeric.py:2251(prod)
2 0.000 0.000 0.000 0.000 {method 'get_value' of 'pandas.index.IndexEngine' objects}
6 0.000 0.000 0.000 0.000 indexing.py:154(_convert_scalar_indexer)
4 0.000 0.000 0.001 0.000 frame.py:1994(__setitem__)
1 0.000 0.000 0.000 0.000 index.py:783(take)
5 0.000 0.000 0.000 0.000 indexing.py:1520(_convert_to_index_sliceable)
1 0.000 0.000 0.000 0.000 {method 'nonzero' of 'numpy.ndarray' objects}
53 0.000 0.000 0.000 0.000 internals.py:91(mgr_locs)
4 0.000 0.000 0.000 0.000 {pandas.lib.get_blkno_indexers}
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2234(_find_and_load)
16 0.000 0.000 0.000 0.000 function_base.py:47(iterable)
4 0.000 0.000 0.000 0.000 internals.py:2395(copy)
1 0.000 0.000 0.000 0.000 {pandas.algos.take_2d_axis1_int64_int64}
1 0.000 0.000 0.001 0.001 generic.py:1217(take)
1 0.000 0.000 0.008 0.008 <string>:2(<module>)
71 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
4 0.000 0.000 0.000 0.000 frame.py:1521(get_value)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2207(_find_and_load_unlocked)
13 0.000 0.000 0.000 0.000 index.py:218(_reset_identity)
7 0.000 0.000 0.000 0.000 series.py:2410(_try_cast)
4 0.000 0.000 0.000 0.000 generic.py:2101(copy)
17 0.000 0.000 0.000 0.000 series.py:285(_set_subtyp)
4 0.000 0.000 0.000 0.000 internals.py:2558(get)
1 0.000 0.000 0.000 0.000 ops.py:449(na_op)
4 0.000 0.000 0.000 0.000 internals.py:371(_try_cast_result)
8 0.000 0.000 0.000 0.000 generic.py:1014(_indexer)
5 0.000 0.000 0.000 0.000 index.py:222(view)
27 0.000 0.000 0.000 0.000 internals.py:3082(_block)
1 0.000 0.000 0.000 0.000 {built-in method mul}
2 0.000 0.000 0.000 0.000 indexing.py:139(_convert_tuple)
4 0.000 0.000 0.000 0.000 frame.py:1982(_box_item_values)
10 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:50(_path_join)
7 0.000 0.000 0.000 0.000 generic.py:284(_get_axis_number)
4 0.000 0.000 0.000 0.000 generic.py:1099(_maybe_update_cacher)
19 0.000 0.000 0.000 0.000 series.py:984(values)
2 0.000 0.000 0.001 0.000 generic.py:1626(_reindex_axes)
22 0.000 0.000 0.000 0.000 internals.py:208(iget)
4 0.000 0.000 0.000 0.000 internals.py:435(copy)
2 0.000 0.000 0.000 0.000 generic.py:238(_construct_axes_from_arguments)
15 0.000 0.000 0.000 0.000 index.py:443(values)
14 0.000 0.000 0.000 0.000 common.py:2248(_get_dtype_type)
4 0.000 0.000 0.000 0.000 index.py:1327(_possibly_promote)
8 0.000 0.000 0.000 0.000 {method 'clear' of 'dict' objects}
10 0.000 0.000 0.000 0.000 _methods.py:37(_any)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:1902(_get_spec)
13 0.000 0.000 0.000 0.000 {method 'format' of 'str' objects}
22/20 0.000 0.000 0.000 0.000 {built-in method iter}
10 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:52(<listcomp>)
1 0.000 0.000 0.000 0.000 {method 'choice' of 'mtrand.RandomState' objects}
27 0.000 0.000 0.000 0.000 internals.py:3086(_values)
4 0.000 0.000 0.000 0.000 common.py:1778(_possibly_cast_to_datetime)
1 0.000 0.000 0.000 0.000 internals.py:1909(__init__)
4 0.000 0.000 0.000 0.000 indexing.py:1120(_has_valid_type)
4 0.000 0.000 0.000 0.000 {built-in method arange}
4 0.000 0.000 0.000 0.000 series.py:238(from_array)
4 0.000 0.000 0.000 0.000 series.py:956(__iter__)
12 0.000 0.000 0.000 0.000 common.py:2345(is_list_like)
28 0.000 0.000 0.000 0.000 internals.py:1952(<genexpr>)
6 0.000 0.000 0.000 0.000 generic.py:1931(_protect_consolidate)
8 0.000 0.000 0.000 0.000 {method 'any' of 'numpy.ndarray' objects}
12 0.000 0.000 0.000 0.000 index.py:199(is_)
2 0.000 0.000 0.000 0.000 internals.py:2874(_slice_take_blocks_ax0)
4 0.000 0.000 0.000 0.000 common.py:884(_infer_dtype_from_scalar)
1 0.000 0.000 0.000 0.000 internals.py:2865(<listcomp>)
1 0.000 0.000 0.000 0.000 {pandas.algos.take_2d_axis1_float64_float64}
1 0.000 0.000 0.001 0.001 frame.py:1697(_getitem_array)
10 0.000 0.000 0.000 0.000 internals.py:95(make_block_same_class)
2 0.000 0.000 0.000 0.000 series.py:74(f)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:274(_get_module_lock)
2 0.000 0.000 0.000 0.000 common.py:1110(_possibly_downcast_to_dtype)
2 0.000 0.000 0.000 0.000 generic.py:104(_validate_dtype)
2 0.000 0.000 0.000 0.000 indexing.py:134(_is_nested_tuple_indexer)
8 0.000 0.000 0.000 0.000 generic.py:1122(_clear_item_cache)
3 0.000 0.000 0.000 0.000 generic.py:1142(_set_is_copy)
2 0.000 0.000 0.001 0.000 series.py:2031(reindex)
1 0.000 0.000 0.000 0.000 internals.py:2117(_verify_integrity)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:192(acquire)
1 0.000 0.000 0.000 0.000 expressions.py:174(_bool_arith_check)
4 0.000 0.000 0.000 0.000 generic.py:1870(_consolidate_inplace)
2 0.000 0.000 0.000 0.000 {pandas.lib.is_bool_array}
6 0.000 0.000 0.000 0.000 frame.py:1680(_getitem_column)
4 0.000 0.000 0.000 0.000 generic.py:1061(_set_as_cached)
4 0.000 0.000 0.000 0.000 index.py:844(equals)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:172(__init__)
2 0.000 0.000 0.000 0.000 {pandas.algos.take_1d_object_object}
4 0.000 0.000 0.000 0.000 internals.py:2215(setitem)
2 0.000 0.000 0.000 0.000 index.py:1369(reindex)
12 0.000 0.000 0.000 0.000 {built-in method min}
1 0.000 0.000 0.000 0.000 frame.py:189(__init__)
4 0.000 0.000 0.000 0.000 numerictypes.py:736(issubdtype)
8 0.000 0.000 0.000 0.000 index.py:1915(equals)
3 0.000 0.000 0.000 0.000 common.py:300(array_equivalent)
4 0.000 0.000 0.000 0.000 frame.py:1989(_box_col_values)
8 0.000 0.000 0.000 0.000 series.py:311(dtype)
2 0.000 0.000 0.001 0.000 indexing.py:73(_get_label)
20 0.000 0.000 0.000 0.000 internals.py:2025(_get_items)
4 0.000 0.000 0.000 0.000 internals.py:181(ftype)
2 0.000 0.000 0.000 0.000 internals.py:1247(is_bool)
24 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
2 0.000 0.000 0.001 0.000 ops.py:524(na_op)
1 0.000 0.000 0.000 0.000 {built-in method warn}
6 0.000 0.000 0.000 0.000 index.py:479(_convert_scalar_indexer)
2 0.000 0.000 0.000 0.000 {pandas.lib.is_datetime_array}
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:261(__enter__)
8 0.000 0.000 0.000 0.000 internals.py:3145(dtype)
6 0.000 0.000 0.000 0.000 index.py:365(_set_names)
14 0.000 0.000 0.000 0.000 internals.py:177(dtype)
2 0.000 0.000 0.001 0.000 indexing.py:887(_reindex)
2 0.000 0.000 0.000 0.000 {built-in method sorted}
4 0.000 0.000 0.000 0.000 internals.py:2409(<listcomp>)
2 0.000 0.000 0.000 0.000 internals.py:1037(_can_hold_element)
13 0.000 0.000 0.000 0.000 internals.py:1954(ndim)
4 0.000 0.000 0.000 0.000 index.py:611(_convert_list_indexer_for_mixed)
2 0.000 0.000 0.000 0.000 internals.py:4079(_preprocess_slice_or_indexer)
2 0.000 0.000 0.000 0.000 index.py:672(is_all_dates)
6 0.000 0.000 0.000 0.000 {pandas.lib.isscalar}
5 0.000 0.000 0.000 0.000 internals.py:2119(<genexpr>)
7 0.000 0.000 0.000 0.000 numeric.py:464(asanyarray)
14 0.000 0.000 0.000 0.000 {pandas.lib.is_float}
4 0.000 0.000 0.000 0.000 index.py:352(dtype)
21 0.000 0.000 0.000 0.000 {built-in method hash}
2 0.000 0.000 0.000 0.000 indexing.py:1492(_length_of_indexer)
4 0.000 0.000 0.000 0.000 internals.py:415(_try_coerce_and_cast_result)
20 0.000 0.000 0.000 0.000 {method 'rstrip' of 'str' objects}
4 0.000 0.000 0.000 0.000 _methods.py:34(_prod)
2 0.000 0.000 0.000 0.000 internals.py:1068(should_store)
2 0.000 0.000 0.000 0.000 index.py:652(_engine)
4 0.000 0.000 0.000 0.000 generic.py:378(ndim)
2 0.000 0.000 0.001 0.000 series.py:2035(reindex_axis)
1 0.000 0.000 0.000 0.000 indexing.py:1556(_check_bool_indexer)
2 0.000 0.000 0.000 0.000 generic.py:1609(<listcomp>)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:217(release)
10 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:518(_verbose_message)
1 0.000 0.000 0.000 0.000 internals.py:2297(_consolidate_check)
6 0.000 0.000 0.000 0.000 internals.py:771(get_values)
4 0.000 0.000 0.000 0.000 index.py:1359(_get_method)
1 0.000 0.000 0.000 0.000 common.py:421(wrapper)
6 0.000 0.000 0.000 0.000 index.py:464(is_integer)
8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2124(__exit__)
4 0.000 0.000 0.000 0.000 {method 'ravel' of 'numpy.ndarray' objects}
6 0.000 0.000 0.000 0.000 internals.py:2289(is_consolidated)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:790(__init__)
2 0.000 0.000 0.000 0.000 internals.py:2320(is_view)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:68(_path_stat)
3 0.000 0.000 0.000 0.000 generic.py:314(_get_block_manager_axis)
4 0.000 0.000 0.000 0.000 generic.py:1871(<lambda>)
2 0.000 0.000 0.000 0.000 {built-in method charmap_encode}
6 0.000 0.000 0.000 0.000 internals.py:3136(index)
8 0.000 0.000 0.000 0.000 generic.py:1151(_check_setitem_copy)
13 0.000 0.000 0.000 0.000 index.py:1908(is_all_dates)
4 0.000 0.000 0.000 0.000 internals.py:2677(value_getitem)
10 0.000 0.000 0.000 0.000 {built-in method release_lock}
8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2120(__enter__)
2 0.000 0.000 0.000 0.000 indexing.py:1671(_is_label_like)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:1336(find_spec)
10 0.000 0.000 0.000 0.000 {method 'join' of 'str' objects}
1 0.000 0.000 0.000 0.000 generic.py:117(_init_mgr)
6 0.000 0.000 0.000 0.000 frame.py:369(axes)
8 0.000 0.000 0.000 0.000 internals.py:2175(<genexpr>)
4 0.000 0.000 0.000 0.000 common.py:2261(is_integer_dtype)
2 0.000 0.000 0.000 0.000 generic.py:270(<listcomp>)
4 0.000 0.000 0.000 0.000 internals.py:2535(consolidate)
1 0.000 0.000 0.000 0.000 internals.py:2298(<listcomp>)
2 0.000 0.000 0.000 0.000 {built-in method setattr}
2 0.000 0.000 0.000 0.000 iso8859_15.py:11(encode)
2 0.000 0.000 0.000 0.000 internals.py:1338(should_store)
1 0.000 0.000 0.000 0.000 expressions.py:61(_evaluate_standard)
4 0.000 0.000 0.000 0.000 {method 'rpartition' of 'str' objects}
2 0.000 0.000 0.000 0.000 index.py:467(is_floating)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:1934(find_spec)
2 0.000 0.000 0.000 0.000 {built-in method convert_scalar}
6 0.000 0.000 0.000 0.000 common.py:111(isnull)
2 0.000 0.000 0.000 0.000 indexing.py:42(__init__)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:2138(_find_spec_legacy)
2 0.000 0.000 0.000 0.000 common.py:2307(is_float_dtype)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:268(__exit__)
2 0.000 0.000 0.000 0.000 internals.py:2302(is_mixed_type)
2 0.000 0.000 0.000 0.000 {method 'reshape' of 'numpy.ndarray' objects}
5 0.000 0.000 0.000 0.000 common.py:2273(is_datetime64_dtype)
2 0.000 0.000 0.000 0.000 generic.py:1898(_is_mixed_type)
4 0.000 0.000 0.000 0.000 {built-in method get_ident}
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:257(__init__)
2 0.000 0.000 0.000 0.000 generic.py:1094(_is_view)
8 0.000 0.000 0.000 0.000 internals.py:477(<lambda>)
10 0.000 0.000 0.000 0.000 internals.py:3183(_consolidate_inplace)
17 0.000 0.000 0.000 0.000 {pandas.lib.is_integer}
4 0.000 0.000 0.000 0.000 frame.py:2044(_ensure_valid_index)
5 0.000 0.000 0.000 0.000 {built-in method ensure_platform_int}
1 0.000 0.000 0.000 0.000 ops.py:420(maybe_convert_for_time_op)
2 0.000 0.000 0.000 0.000 indexing.py:312(<listcomp>)
2 0.000 0.000 0.000 0.000 {method 'fill' of 'numpy.ndarray' objects}
4 0.000 0.000 0.000 0.000 internals.py:87(fill_value)
4 0.000 0.000 0.000 0.000 numerictypes.py:668(issubclass_)
1 0.000 0.000 0.000 0.000 expressions.py:193(evaluate)
22 0.000 0.000 0.000 0.000 internals.py:411(_try_coerce_result)
1 0.000 0.000 0.000 0.000 generic.py:639(__hash__)
4 0.000 0.000 0.000 0.000 {built-in method checknull}
2 0.000 0.000 0.000 0.000 generic.py:358(_info_axis)
4 0.000 0.000 0.000 0.000 internals.py:169(shape)
7 0.000 0.000 0.000 0.000 series.py:248(_constructor)
2 0.000 0.000 0.000 0.000 internals.py:1992(_is_single_block)
8 0.000 0.000 0.000 0.000 {built-in method acquire_lock}
2 0.000 0.000 0.000 0.000 index.py:676(__iter__)
2 0.000 0.000 0.000 0.000 series.py:2021(_needs_reindex_multi)
2 0.000 0.000 0.000 0.000 {pandas.lib.is_bool}
4 0.000 0.000 0.000 0.000 {built-in method any}
4 0.000 0.000 0.000 0.000 internals.py:407(_try_coerce_args)
2 0.000 0.000 0.000 0.000 expressions.py:164(_has_bool_dtype)
2 0.000 0.000 0.000 0.000 indexing.py:1652(_is_nested_tuple)
2 0.000 0.000 0.000 0.000 indexing.py:391(can_do_equal_len)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:1870(_path_importer_cache)
2 0.000 0.000 0.000 0.000 {built-in method is_frozen}
4 0.000 0.000 0.000 0.000 internals.py:2550(_consolidate_inplace)
2 0.000 0.000 0.000 0.000 index.py:859(identical)
1 0.000 0.000 0.000 0.000 internals.py:2102(__len__)
2 0.000 0.000 0.000 0.000 six.py:175(find_module)
2 0.000 0.000 0.000 0.000 generic.py:1900(<lambda>)
12 0.000 0.000 0.000 0.000 {built-in method ensure_int64}
1 0.000 0.000 0.000 0.000 internals.py:1910(<listcomp>)
2 0.000 0.000 0.000 0.000 indexing.py:135(<listcomp>)
3 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
2 0.000 0.000 0.000 0.000 common.py:2421(_clean_fill_method)
2 0.000 0.000 0.000 0.000 index.py:655(<lambda>)
1 0.000 0.000 0.000 0.000 series.py:368(__array__)
2 0.000 0.000 0.002 0.001 indexing.py:653(_getitem_tuple)
2 0.000 0.000 0.000 0.000 indexing.py:165(_has_valid_setitem_indexer)
16 0.000 0.000 0.000 0.000 internals.py:3421(<lambda>)
6 0.000 0.000 0.000 0.000 index.py:1899(inferred_type)
2 0.000 0.000 0.000 0.000 {method 'keys' of 'dict' objects}
3 0.000 0.000 0.000 0.000 common.py:2283(is_timedelta64_dtype)
4 0.000 0.000 0.000 0.000 {built-in method allocate_lock}
1 0.000 0.000 0.000 0.000 common.py:2926(_maybe_match_name)
1 0.000 0.000 0.000 0.000 frame.py:183(_constructor)
4 0.000 0.000 0.000 0.000 series.py:333(ndim)
1 0.000 0.000 0.000 0.000 {built-in method sum}
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:34(_relax_case)
1 0.000 0.000 0.000 0.000 index.py:193(_simple_new)
2 0.000 0.000 0.000 0.000 internals.py:1332(_can_hold_element)
4 0.000 0.000 0.000 0.000 {method 'extend' of 'list' objects}
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:288(cb)
2 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:1266(find_spec)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 ops.py:479(<lambda>)
1 0.000 0.000 0.000 0.000 common.py:1223(_fill_zeros)
2 0.000 0.000 0.000 0.000 {built-in method all}
2 0.000 0.000 0.000 0.000 internals.py:3177(is_consolidated)
1 0.000 0.000 0.000 0.000 series.py:361(__len__)
from snakeviz.
@jeffalstott That's probably plenty big to bog down the current release of SnakeViz. I'm working as we speak on a new release that should be out in the next couple weeks that will improve performance. It's still rough, but you're welcome to give it a try if you're feeling adventurous. The branch I'm working on is at https://github.com/jiffyclub/snakeviz/tree/v2.
from snakeviz.
Related Issues (20)
- charts not adding up HOT 1
- requested an insecure frame HOT 1
- Can I use SnakeViz in Google Colab? HOT 1
- %snakeviz magic lumps everything under builtins.exec HOT 2
- Snakeviz over an ssh-forwarded Jupyter-lab server connection?
- TypeError: 'int' object is not iterable
- How reset sorting? HOT 1
- Profile accuracy HOT 1
- Chart load error
- add info for trending
- chart time problem HOT 1
- Error "not a valid profile" on python 3.8.9 HOT 1
- a question about show message info HOT 2
- Option to write output to html file HOT 1
- An error occurred processing your profile. You can try a lower depth, a larger cutoff, or try profiling a smaller portion of your code. If you continue to have problems you can contact us on GitHub. HOT 1
- Drop support for EOL Pythons HOT 9
- Snakeviz not showing visualization via online jupyterLab HOT 4
- subprocesses HOT 2
- miniconda3 python3.12.1 on Win10 , snakeviz fails to start HOT 2
- Threading breaks SnakeViz Visualisation (Python 3.12.3) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snakeviz.