Skip to content

Instantly share code, notes, and snippets.

@gidden
Created July 16, 2014 23:27
Show Gist options
  • Save gidden/01ebdb0ba76c83222ee9 to your computer and use it in GitHub Desktop.
Save gidden/01ebdb0ba76c83222ee9 to your computer and use it in GitHub Desktop.
cProfile output
Found an entry named np that is unknown to the parser.
12 possible (not validated) samplers found from input run control
Preparing input database
Converting 12 instances
5951401 function calls (5945665 primitive calls) in 8.094 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
12 2.089 0.174 3.798 0.316 params.py:485(populate_params)
565113 0.971 0.000 0.971 0.000 {numpy.core.multiarray.array}
282060 0.609 0.000 0.609 0.000 {numpy.core.multiarray.concatenate}
36 0.413 0.011 2.667 0.074 inst_io.py:103(write_exobjs)
93600 0.404 0.000 1.925 0.000 inst_io.py:79(exarc_tpl)
282060 0.393 0.000 2.556 0.000 function_base.py:3491(append)
580620 0.268 0.000 0.313 0.000 random.py:356(uniform)
1 0.257 0.257 0.258 0.258 params.py:18(<module>)
468000 0.214 0.000 0.470 0.000 params.py:113(sample)
65 0.190 0.003 0.190 0.003 {method '_g_flush' of 'tables.hdf5extension.Leaf' objects}
282060 0.178 0.000 1.000 0.000 fromnumeric.py:1281(ravel)
12 0.177 0.015 0.347 0.029 params.py:668(_select_supply)
282065 0.149 0.000 0.554 0.000 numeric.py:462(asanyarray)
282540 0.140 0.000 0.140 0.000 {method 'ravel' of 'numpy.ndarray' objects}
282096 0.120 0.000 0.682 0.000 numeric.py:392(asarray)
112320 0.095 0.000 0.095 0.000 inst_io.py:76(exnode_tpl)
227074 0.079 0.000 0.079 0.000 {range}
225420 0.068 0.000 0.068 0.000 params.py:45(next)
1 0.057 0.057 0.321 0.321 transport.py:21(<module>)
18732 0.051 0.000 0.058 0.000 random.py:275(shuffle)
657468 0.050 0.000 0.050 0.000 {method 'random' of '_random.Random' objects}
112620 0.046 0.000 0.104 0.000 params.py:83(sample)
457387 0.045 0.000 0.045 0.000 {method 'append' of 'list' objects}
1 0.037 0.037 8.096 8.096 main.py:2(<module>)
12 0.037 0.003 0.096 0.008 params.py:432(generate_request)
334935/334605 0.035 0.000 0.036 0.000 {len}
12 0.035 0.003 0.076 0.006 inst_io.py:116(write_exprops)
1 0.035 0.035 0.035 0.035 socket.py:45(<module>)
1 0.032 0.032 0.032 0.032 {method '_g_list_group' of 'tables.hdf5extension.Group' objects}
1 0.032 0.032 7.182 7.182 main.py:137(convert)
1 0.029 0.029 0.029 0.029 number.py:27(<module>)
12 0.028 0.002 0.028 0.002 inst_io.py:122(<dictcomp>)
1 0.023 0.023 0.023 0.023 {method 'read' of '_io.TextIOWrapper' objects}
5 0.022 0.004 0.027 0.005 {method '_get_info' of 'tables.tableextension.Table' objects}
60 0.022 0.000 0.022 0.000 {method '_append_records' of 'tables.tableextension.Table' objects}
1 0.020 0.020 0.020 0.020 AES.py:45(<module>)
1 0.020 0.020 0.128 0.128 common.py:21(<module>)
1 0.018 0.018 0.019 0.019 client.py:21(<module>)
2 0.017 0.009 0.114 0.057 __init__.py:25(<module>)
2 0.017 0.008 0.017 0.008 {_ctypes.dlopen}
704 0.017 0.000 0.017 0.000 {method 'items' of 'dict' objects}
5 0.016 0.003 0.016 0.003 {method '_g_get_lchild_attr' of 'tables.hdf5extension.Group' objects}
1 0.016 0.016 0.016 0.016 channel.py:21(<module>)
1 0.015 0.015 0.037 0.037 dsskey.py:21(<module>)
93600 0.014 0.000 0.014 0.000 params.py:736(_req_def_constr)
2 0.014 0.007 0.364 0.182 __init__.py:19(<module>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment