Closed
Description
Is this consistent with expectations? It looks like it's doing a lot of string parsing in Python (JSON?) and SSL connections, even though we're only using it for offline use?
Thanks for the wonderful library!
#%prun import plotly
2046924 function calls (1057455 primitive calls) in 1.615 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
1142268/196040 0.476 0.000 0.566 0.000 encoder.py:341(_iterencode_dict)
10 0.136 0.014 0.136 0.014 {method 'read' of '_ssl._SSLSocket' objects}
196040 0.076 0.000 0.642 0.000 encoder.py:417(_iterencode)
214729/214727 0.068 0.000 0.070 0.000 {isinstance}
12 0.041 0.003 0.689 0.057 encoder.py:186(encode)
44754/6522 0.037 0.000 0.050 0.000 utils.py:355(node_generator)
260 0.030 0.000 0.088 0.000 doccer.py:12(docformat)
74312 0.025 0.000 0.025 0.000 {_json.encode_basestring_ascii}
2622/1 0.025 0.000 0.039 0.039 utils.py:301(decode_unicode)
15 0.023 0.002 0.023 0.002 decoder.py:370(raw_decode)
62 0.021 0.000 0.028 0.000 collections.py:293(namedtuple)
1 0.017 0.017 0.017 0.017 index.py:3590(_add_accessors)
16488 0.016 0.000 0.024 0.000 encoder.py:288(_iterencode_list)
6823 0.014 0.000 0.014 0.000 {method 'expandtabs' of 'str' objects}
3769 0.014 0.000 0.014 0.000 {method 'reduce' of 'numpy.ufunc' objects}
260 0.013 0.000 0.022 0.000 doccer.py:128(indentcount_lines)
1 0.012 0.012 0.031 0.031 graph_reference.py:379(_get_objects)
1 0.012 0.012 0.030 0.030 graph_reference.py:458(_get_arrays)
27 0.012 0.000 0.113 0.004 __init__.py:1(<module>)
62830 0.012 0.000 0.012 0.000 {method 'append' of 'list' objects}
1 0.011 0.011 0.028 0.028 graph_reference.py:430(_patch_objects)
3 0.011 0.004 0.045 0.015 machar.py:116(_do_init)
7729/7712 0.010 0.000 0.014 0.000 {method 'join' of 'str' objects}
Metadata
Metadata
Assignees
Labels
No labels