Skip to content

Instantly share code, notes, and snippets.

@robertodr
Created April 7, 2021 08:18
Show Gist options
  • Save robertodr/9fe552e5e00cc2d220b5b86ada149b00 to your computer and use it in GitHub Desktop.
Save robertodr/9fe552e5e00cc2d220b5b86ada149b00 to your computer and use it in GitHub Desktop.
Example profiling script for D3 gradient with JAX
import cProfile
from dftd3.dftd3 import D3Configuration, D3_derivatives
def main(order, config, charges, coordinates):
_ = D3_derivatives(order, config, charges, *coordinates)
coordinates = [
4.01376695,
-0.42094027,
0.00413283,
2.37659705,
-2.06988695,
-0.07118787,
3.23930049,
2.02346393,
0.03394893,
6.09063455,
-0.5931548,
0.05363799,
1.40721479,
2.12118734,
-0.0108338,
-4.04214497,
0.34532288,
-0.03309288,
-2.55773675,
2.13450991,
-0.01370996,
-3.05560778,
-2.01961834,
0.06482139,
-6.12485749,
0.3304205,
-0.12008265,
-1.22314224,
-1.95250094,
0.14005516,
]
charges = [6, 8, 8, 1, 1, 6, 8, 8, 1, 1]
functional = "B3LYP"
damping = "zero"
#damping = "bj"
config = D3Configuration(functional=functional, damp=damping)
order = 1
cProfile.run("main(order, config, charges, coordinates)")
@robertodr
Copy link
Author

Result of running the script:

>>> D3-dispersion correction with zero damping
    - Damping parameters (from database): s6 = 1.0; rs6 = 1.261; s8 = 1.703
    - 3-body term will not be calculated

WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
         209116280 function calls (204923527 primitive calls) in 213.708 seconds

   Ordered by: standard name

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       30    0.000    0.000    0.000    0.000 <__array_function__ internals>:2(copyto)
     3510    0.003    0.000    0.013    0.000 <__array_function__ internals>:2(ndim)
3630000/3007530    2.456    0.000   23.262    0.000 <__array_function__ internals>:2(result_type)
3714780/3525930    2.491    0.000   16.781    0.000 <__array_function__ internals>:2(shape)
        1    0.000    0.000  213.859  213.859 <string>:1(<module>)
   155715    0.052    0.000    0.091    0.000 <string>:1(__new__)
        1    0.000    0.000    0.000    0.000 __init__.py:1036(findCaller)
        1    0.000    0.000    0.000    0.000 __init__.py:1047(__init__)
        1    0.000    0.000    0.000    0.000 __init__.py:1058(flush)
        1    0.000    0.000    0.000    0.000 __init__.py:1069(emit)
        7    0.000    0.000    0.000    0.000 __init__.py:1112(log)
        1    0.000    0.000    0.000    0.000 __init__.py:1131(handle)
        1    0.000    0.000    0.000    0.000 __init__.py:119(getLevelName)
        7    0.000    0.000    0.000    0.000 __init__.py:1485(log)
        1    0.000    0.000    0.000    0.000 __init__.py:1538(makeRecord)
        1    0.000    0.000    0.000    0.000 __init__.py:1553(_log)
        1    0.000    0.000    0.000    0.000 __init__.py:1589(addHandler)
        1    0.000    0.000    0.000    0.000 __init__.py:1633(callHandlers)
        2    0.000    0.000    0.000    0.000 __init__.py:1663(getEffectiveLevel)
        7    0.000    0.000    0.000    0.000 __init__.py:1677(isEnabledFor)
        1    0.000    0.000    0.000    0.000 __init__.py:189(_checkLevel)
        1    0.000    0.000    0.000    0.000 __init__.py:1896(basicConfig)
        6    0.000    0.000    0.000    0.000 __init__.py:214(_acquireLock)
        6    0.000    0.000    0.000    0.000 __init__.py:223(_releaseLock)
        1    0.000    0.000    0.000    0.000 __init__.py:244(_register_at_fork_reinit_lock)
        1    0.000    0.000    0.000    0.000 __init__.py:284(__init__)
        1    0.000    0.000    0.000    0.000 __init__.py:360(getMessage)
        1    0.000    0.000    0.000    0.000 __init__.py:391(warning)
        1    0.000    0.000    0.000    0.000 __init__.py:420(__init__)
        1    0.000    0.000    0.000    0.000 __init__.py:423(usesTime)
        1    0.000    0.000    0.000    0.000 __init__.py:426(validate)
        1    0.000    0.000    0.000    0.000 __init__.py:431(_format)
        1    0.000    0.000    0.000    0.000 __init__.py:434(format)
        7    0.000    0.000    0.000    0.000 __init__.py:525(log)
        1    0.000    0.000    0.000    0.000 __init__.py:555(__init__)
        6    0.000    0.000    0.000    0.000 __init__.py:559(vlog)
        1    0.000    0.000    0.000    0.000 __init__.py:629(usesTime)
        1    0.000    0.000    0.000    0.000 __init__.py:635(formatMessage)
        1    0.000    0.000    0.000    0.000 __init__.py:651(format)
        1    0.000    0.000    0.000    0.000 __init__.py:772(__init__)
        2    0.000    0.000    0.000    0.000 __init__.py:792(filter)
        1    0.000    0.000    0.000    0.000 __init__.py:839(_addHandlerRef)
        1    0.000    0.000    0.000    0.000 __init__.py:858(__init__)
        1    0.000    0.000    0.000    0.000 __init__.py:887(createLock)
        2    0.000    0.000    0.000    0.000 __init__.py:894(acquire)
        2    0.000    0.000    0.000    0.000 __init__.py:901(release)
        1    0.000    0.000    0.000    0.000 __init__.py:914(format)
        1    0.000    0.000    0.000    0.000 __init__.py:937(handle)
        1    0.000    0.000    0.000    0.000 __init__.py:955(setFormatter)
   262800    0.145    0.000    0.754    0.000 _asarray.py:23(asarray)
        3    0.000    0.000    0.000    0.000 _collections_abc.py:657(get)
        2    0.000    0.000    0.000    0.000 _dtype.py:24(_kind_name)
        2    0.000    0.000    0.000    0.000 _dtype.py:307(_name_includes_bit_suffix)
        2    0.000    0.000    0.000    0.000 _dtype.py:321(_name_get)
        2    0.000    0.000    0.000    0.000 _dtype.py:34(__str__)
        1    0.000    0.000    0.000    0.000 _weakrefset.py:81(add)
    38460    0.128    0.000    1.305    0.000 abstract_arrays.py:37(make_shaped_array)
     3090    0.006    0.000    0.062    0.000 abstract_arrays.py:70(_make_concrete_python_scalar)
       60    0.000    0.000    0.000    0.000 ad.py:103(<genexpr>)
       30    0.000    0.000  187.769    6.259 ad.py:112(vjp)
       30    0.008    0.000   25.516    0.851 ad.py:118(unbound_vjp)
       30    0.000    0.000    0.000    0.000 ad.py:120(<listcomp>)
       30    0.000    0.000    0.000    0.000 ad.py:132(ignore_consts)
       30    1.851    0.062   25.507    0.850 ad.py:163(backward_pass)
       60    0.000    0.000    0.000    0.000 ad.py:164(<genexpr>)
   283335    0.374    0.000    6.787    0.000 ad.py:167(write_cotangent)
   155745    0.158    0.000    0.225    0.000 ad.py:182(read_cotangent)
   283305    0.274    0.000    0.359    0.000 ad.py:185(read_primal)
       60    0.000    0.000    0.000    0.000 ad.py:191(write_primal)
   194295    0.054    0.000    0.054    0.000 ad.py:240(__init__)
   263130    0.054    0.000    0.054    0.000 ad.py:245(is_undefined_primal)
   155715    0.052    0.000    0.052    0.000 ad.py:252(get_primitive_transpose)
    90690    0.262    0.000    3.842    0.000 ad.py:268(pure)
   191910    0.811    0.000   82.866    0.000 ad.py:279(process_primitive)
   523590    0.184    0.000    0.184    0.000 ad.py:280(<genexpr>)
   282630    0.172    0.000    0.172    0.000 ad.py:391(__init__)
  2115390    1.260    0.000   45.030    0.000 ad.py:398(aval)
   191910    0.080    0.000    0.081    0.000 ad.py:403(full_lower)
       30    0.000    0.000    0.000    0.000 ad.py:41(jvp)
    66675    0.068    0.000    2.699    0.000 ad.py:448(linear_transpose2)
   171720    0.926    0.000   73.147    0.000 ad.py:458(standard_jvp)
   171720    0.520    0.000   40.314    0.000 ad.py:460(<listcomp>)
    18270    0.127    0.000    7.625    0.000 ad.py:469(standard_jvp2)
    36540    0.046    0.000    4.866    0.000 ad.py:471(<genexpr>)
   277620    0.150    0.000   10.904    0.000 ad.py:476(add_tangents)
    46110    0.123    0.000   11.345    0.000 ad.py:487(<lambda>)
      810    0.002    0.000    0.179    0.000 ad.py:488(<lambda>)
       90    0.000    0.000    0.002    0.000 ad.py:49(jvpfun)
    84990    0.188    0.000   10.082    0.000 ad.py:493(bilinear_transpose)
     1920    0.006    0.000    0.330    0.000 ad.py:509(zero_jvp)
       30    0.000    0.000    0.001    0.000 ad.py:51(<listcomp>)
    38550    0.008    0.000    0.008    0.000 ad.py:515(<lambda>)
       60    0.000    0.000    0.000    0.000 ad.py:517(instantiate_zeros)
       30    0.000    0.000    0.000    0.000 ad.py:58(<listcomp>)
       90    0.001    0.000    0.001    0.000 ad.py:62(jvp_subtrace)
       30    0.000    0.000    0.000    0.000 ad.py:68(<listcomp>)
       30    0.000    0.000    0.000    0.000 ad.py:72(<listcomp>)
       30    0.001    0.000  187.768    6.259 ad.py:89(linearize)
       60    0.000    0.000    0.000    0.000 ad.py:96(<genexpr>)
       60    0.000    0.000    0.002    0.000 ad.py:97(<genexpr>)
    87630    0.193    0.000   10.754    0.000 ad_util.py:33(add_jaxvals)
    38550    0.041    0.000    4.278    0.000 ad_util.py:42(add_impl)
    49080    0.036    0.000    1.279    0.000 ad_util.py:46(add_abstract)
   438345    0.123    0.000    0.123    0.000 ad_util.py:71(__init__)
   191910    0.421    0.000    8.043    0.000 ad_util.py:75(from_value)
       60    0.000    0.000    0.002    0.000 api.py:1084(_dtype)
       30    0.000    0.000    0.001    0.000 api.py:113(_check_callable)
       30    0.000    0.000   25.517    0.851 api.py:1803(_vjp_pullback_wrapper)
       30    0.000    0.000  187.772    6.259 api.py:1890(_vjp)
       30    0.000    0.000    0.002    0.000 api.py:1903(<listcomp>)
       60    0.000    0.000    0.002    0.000 api.py:2232(_check_arg)
       60    0.000    0.000    0.002    0.000 api.py:2237(_valid_jaxtype)
       30    0.000    0.000    0.003    0.000 api.py:709(grad)
       30    0.000    0.000  213.851    7.128 api.py:757(grad_f)
       30    0.000    0.000    0.002    0.000 api.py:771(value_and_grad)
       30    0.001    0.000  213.300    7.110 api.py:810(value_and_grad_f)
       30    0.000    0.000    0.001    0.000 api.py:838(_check_scalar)
       30    0.000    0.000    0.003    0.000 api.py:851(_check_input_dtype_revderiv)
       30    0.000    0.000    0.001    0.000 api.py:866(_check_output_dtype_revderiv)
       90    0.000    0.000    0.000    0.000 api_util.py:118(_argnums_partial)
       30    0.000    0.000    0.000    0.000 api_util.py:120(<listcomp>)
      930    0.001    0.000    0.001    0.000 api_util.py:169(wrap_hashably)
       30    0.000    0.000    0.000    0.000 api_util.py:33(_ensure_index)
       30    0.000    0.000    0.000    0.000 api_util.py:40(_ensure_index_tuple)
       90    0.000    0.000    0.000    0.000 api_util.py:47(flatten_fun)
       90    0.000    0.000    0.000    0.000 api_util.py:61(flatten_fun_nokwargs)
       30    0.000    0.000    0.002    0.000 api_util.py:88(argnums_partial)
       30    0.000    0.000    0.002    0.000 api_util.py:90(<listcomp>)
       60    0.000    0.000    0.000    0.000 api_util.py:92(<genexpr>)
  6070583    3.350    0.000    5.486    0.000 config.py:158(x64_enabled)
   942737    0.552    0.000    1.665    0.000 config.py:181(__getattr__)
   942737    0.751    0.000    1.112    0.000 config.py:79(read)
   942737    0.362    0.000    0.362    0.000 config.py:92(check_exists)
   155775    0.134    0.000    0.309    0.000 contextlib.py:108(__enter__)
   155775    0.263    0.000    0.469    0.000 contextlib.py:117(__exit__)
   155775    0.114    0.000    0.483    0.000 contextlib.py:238(helper)
   155775    0.315    0.000    0.369    0.000 contextlib.py:82(__init__)
        7    0.000    0.000    0.000    0.000 converter.py:138(absl_to_standard)
  3569638    6.259    0.000   35.222    0.000 core.py:1036(__init__)
    49080    0.066    0.000    0.574    0.000 core.py:1041(update)
   677455    0.681    0.000    0.681    0.000 core.py:1060(__eq__)
   801527    1.108    0.000    1.520    0.000 core.py:1066(__hash__)
    90720    0.146    0.000    1.545    0.000 core.py:1073(at_least_vspace)
    49080    0.131    0.000    1.174    0.000 core.py:1077(join)
  2665470    8.097    0.000   49.168    0.000 core.py:1115(__init__)
    90780    0.082    0.000    0.604    0.000 core.py:1167(primal_dtype_to_tangent_dtype)
   571169    1.050    0.000    8.067    0.000 core.py:1185(raise_to_shaped)
       30    0.000    0.000    0.000    0.000 core.py:1194(<lambda>)
   571139    0.573    0.000    6.597    0.000 core.py:1198(<lambda>)
  3570988    2.692    0.000   11.628    0.000 core.py:1211(canonicalize_shape)
  3569638    3.486    0.000    6.155    0.000 core.py:1232(canonicalize_named_shape)
    49080    0.345    0.000    0.469    0.000 core.py:1235(join_named_shapes)
    49080    0.063    0.000    0.089    0.000 core.py:1236(<genexpr>)
   155715    0.100    0.000    0.191    0.000 core.py:166(new_jaxpr_eqn)
       44    0.000    0.000    0.001    0.000 core.py:1717(pp_eqn_compact)
       44    0.000    0.000    0.000    0.000 core.py:1718(<dictcomp>)
       19    0.000    0.000    0.000    0.000 core.py:1776(pp_kv_pair)
   155775    0.111    0.000    2.996    0.000 core.py:178(__init__)
       44    0.000    0.000    0.001    0.000 core.py:1783(pp_kv_pairs)
       18    0.000    0.000    0.000    0.000 core.py:1785(<listcomp>)
       30    0.000    0.000    0.000    0.000 core.py:204(gensym)
   155775    0.129    0.000    3.151    0.000 core.py:217(<lambda>)
   117060    0.450    0.000    4.093    0.000 core.py:238(__init__)
904980/393825    2.400    0.000  113.759    0.000 core.py:279(bind)
   905040    0.463    0.000    0.463    0.000 core.py:383(__init__)
  1580220    1.430    0.000    6.707    0.000 core.py:388(full_raise)
   888660    0.140    0.000    0.140    0.000 core.py:506(_assert_live)
     1650    0.004    0.000    1.290    0.001 core.py:518(__gt__)
    46620    0.101    0.000   41.998    0.001 core.py:521(__add__)
     5040    0.012    0.000    3.910    0.001 core.py:522(__radd__)
      945    0.002    0.000    0.801    0.001 core.py:523(__sub__)
    30465    0.069    0.000   25.492    0.001 core.py:524(__rsub__)
    23460    0.051    0.000   23.105    0.001 core.py:525(__mul__)
    22650    0.050    0.000   22.222    0.001 core.py:526(__rmul__)
     6000    0.014    0.000    8.560    0.001 core.py:529(__truediv__)
     2160    0.005    0.000    3.097    0.001 core.py:530(__rtruediv__)
    30870    0.063    0.000   22.167    0.001 core.py:537(__pow__)
  1490370    2.144    0.000   27.035    0.000 core.py:568(__getattr__)
   878565    0.131    0.000    0.131    0.000 core.py:618(pure)
509895/471345    0.800    0.000   46.740    0.000 core.py:621(process_primitive)
       60    0.000    0.000    0.000    0.000 core.py:642(__init__)
   904980    1.203    0.000    2.089    0.000 core.py:659(with_cur_sublevel)
       60    0.000    0.000    0.000    0.000 core.py:672(next_level)
       60    0.000    0.000    0.000    0.000 core.py:675(push)
       60    0.000    0.000    0.000    0.000 core.py:678(pop)
   905040    0.423    0.000    0.423    0.000 core.py:735(cur_sublevel)
      120    0.000    0.000    0.001    0.000 core.py:738(new_main)
906960/905040    0.643    0.000    1.239    0.000 core.py:808(full_lower)
   904980    3.562    0.000    8.707    0.000 core.py:814(find_top_trace)
  1398495    0.643    0.000    1.038    0.000 core.py:815(<genexpr>)
       30    0.001    0.000    0.001    0.000 core.py:85(__init__)
    49080    0.061    0.000    1.243    0.000 core.py:877(lattice_join)
       30    0.000    0.000    0.001    0.000 core.py:893(valid_jaxtype)
  2665470    4.916    0.000   55.328    0.000 core.py:907(concrete_aval)
2717550/2714520    1.713    0.000   57.835    0.000 core.py:917(get_aval)
    40920    0.032    0.000    0.053    0.000 core.py:954(concrete_or_error)
  3569638    3.988    0.000   11.185    0.000 core.py:970(__init__)
        1    0.000    0.000  213.859  213.859 dftd3-gradient-profile.py:6(main)
        1    0.002    0.002  213.859  213.859 dftd3.py:310(D3_derivatives)
       30    0.000    0.000    0.000    0.000 dftd3.py:330(<lambda>)
       30    0.382    0.013  180.668    6.022 dftd3.py:74(d3)
       30    0.000    0.000    0.000    0.000 dftd3.py:97(<listcomp>)
  1266931    0.428    0.000    0.679    0.000 dtypes.py:167(_issubclass)
  1266931    1.734    0.000    6.326    0.000 dtypes.py:178(issubdtype)
   940830    1.990    0.000   26.417    0.000 dtypes.py:227(_jax_type)
  3763320    0.666    0.000    0.666    0.000 dtypes.py:230(<genexpr>)
        8    0.000    0.000    0.000    0.000 dtypes.py:267(_least_upper_bound)
       22    0.000    0.000    0.000    0.000 dtypes.py:288(<genexpr>)
  1298850    1.508    0.000   13.943    0.000 dtypes.py:311(is_weakly_typed)
   145320    0.189    0.000    0.190    0.000 dtypes.py:317(is_python_scalar)
  1293480    1.160    0.000   18.858    0.000 dtypes.py:323(dtype)
   776220    0.982    0.000   27.814    0.000 dtypes.py:328(_result_type_raw)
   164610    0.332    0.000   11.684    0.000 dtypes.py:331(<setcomp>)
   587130    0.802    0.000   16.674    0.000 dtypes.py:333(result_type)
        6    0.000    0.000    0.000    0.000 dtypes.py:73(canonicalize_dtype)
      270    0.001    0.000    0.005    0.000 dtypes.py:97(scalar_type_of)
  3714780    0.606    0.000    0.606    0.000 fromnumeric.py:1922(_shape_dispatcher)
3714780/3525930    2.507    0.000    8.714    0.000 fromnumeric.py:1926(shape)
     3510    0.001    0.000    0.001    0.000 fromnumeric.py:3102(_ndim_dispatcher)
     3510    0.002    0.000    0.004    0.000 fromnumeric.py:3106(ndim)
       30    0.000    0.000    0.000    0.000 functools.py:429(_unwrap_partial)
        1    0.000    0.000    0.000    0.000 genericpath.py:121(_splitext)
       30    0.000    0.000    0.000    0.000 inspect.py:158(isfunction)
       30    0.000    0.000    0.000    0.000 inspect.py:171(_has_code_flag)
       30    0.000    0.000    0.000    0.000 inspect.py:182(isgeneratorfunction)
       30    0.000    0.000    0.000    0.000 inspect.py:80(ismethod)
       30    0.000    0.000  213.857    7.129 jax_diff.py:15(derv)
       30    0.000    0.000    0.000    0.000 jax_diff.py:29(distribute)
       30    0.000    0.000    0.000    0.000 jax_diff.py:30(<listcomp>)
       30    0.000    0.000    0.000    0.000 jax_diff.py:7(_derv_sequence)
    36759    0.007    0.000    0.007    0.000 lax.py:101(_identity)
    64860    0.083    0.000    6.398    0.000 lax.py:105(neg)
     1350    0.003    0.000    0.161    0.000 lax.py:109(sign)
     1080    0.005    0.000    0.092    0.000 lax.py:1460(full)
   111720    0.573    0.000    9.857    0.000 lax.py:1478(_device_put_raw)
     1080    0.005    0.000    0.252    0.000 lax.py:1726(full_like)
    17730    0.030    0.000    6.318    0.000 lax.py:188(exp)
   116803    0.100    0.000    0.263    0.000 lax.py:1967(<lambda>)
        3    0.000    0.000    0.000    0.000 lax.py:1968(<lambda>)
        2    0.000    0.000    0.000    0.000 lax.py:1969(<lambda>)
      542    0.000    0.000    0.000    0.000 lax.py:1973(<genexpr>)
      271    0.001    0.000    0.001    0.000 lax.py:1973(<lambda>)
   153839    1.110    0.000    9.382    0.000 lax.py:1984(standard_abstract_eval)
   425026    0.133    0.000    0.178    0.000 lax.py:1985(<genexpr>)
       24    0.000    0.000    0.001    0.000 lax.py:2025(standard_translate)
       48    0.000    0.000    0.000    0.000 lax.py:2026(<genexpr>)
    36761    0.080    0.000    0.587    0.000 lax.py:2030(unop_dtype_rule)
   110283    0.074    0.000    0.471    0.000 lax.py:2031(<genexpr>)
    36761    0.019    0.000    0.029    0.000 lax.py:2048(<lambda>)
   116806    0.799    0.000    4.516    0.000 lax.py:2051(naryop_dtype_rule)
   116806    0.053    0.000    0.053    0.000 lax.py:2052(<listcomp>)
   700836    0.350    0.000    2.241    0.000 lax.py:2054(<genexpr>)
   116806    0.094    0.000    0.165    0.000 lax.py:2074(_broadcasting_shape_rule)
   116806    0.070    0.000    0.070    0.000 lax.py:2075(<listcomp>)
       17    0.000    0.000    0.000    0.000 lax.py:2087(_standard_weak_type_rule)
       34    0.000    0.000    0.000    0.000 lax.py:2088(<genexpr>)
   153550    0.257    0.000    0.673    0.000 lax.py:2090(_naryop_weak_type_rule)
   423906    0.141    0.000    0.141    0.000 lax.py:2091(<genexpr>)
   307406    0.086    0.000    0.086    0.000 lax.py:2101(<genexpr>)
   187200    0.796    0.000    3.783    0.000 lax.py:2140(_brcast)
    28125    0.023    0.000    2.622    0.000 lax.py:2177(<lambda>)
        2    0.000    0.000    0.000    0.000 lax.py:2179(_sign_translation_rule)
    15570    0.014    0.000    3.263    0.000 lax.py:2231(<lambda>)
      270    0.003    0.000    0.212    0.001 lax.py:2441(_abs_jvp_rule)
     2160    0.006    0.000    0.925    0.000 lax.py:2452(<lambda>)
      270    0.007    0.000    0.420    0.002 lax.py:2461(_pow_jvp_lhs)
       17    0.000    0.000    0.000    0.000 lax.py:2471(_integer_pow_dtype_rule)
       17    0.000    0.000    0.001    0.000 lax.py:2478(_integer_pow_translation_rule)
    33870    0.147    0.000   17.262    0.001 lax.py:2495(_integer_pow_jvp)
    44940    0.031    0.000    0.696    0.000 lax.py:2528(<lambda>)
      945    0.001    0.000    0.024    0.000 lax.py:2550(<lambda>)
    30465    0.049    0.000    3.875    0.000 lax.py:2551(<lambda>)
     4050    0.009    0.000    0.487    0.000 lax.py:2562(_div_transpose_rule)
     6000    0.010    0.000    1.425    0.000 lax.py:2568(<lambda>)
     6000    0.020    0.000    3.788    0.001 lax.py:2569(<lambda>)
        1    0.000    0.000    0.000    0.000 lax.py:2644(_convert_element_type_shape_rule)
        1    0.000    0.000    0.000    0.000 lax.py:2647(_convert_element_type_dtype_rule)
        1    0.000    0.000    0.000    0.000 lax.py:2650(_convert_element_type_weak_type_rule)
        1    0.000    0.000    0.000    0.000 lax.py:2653(_convert_element_type_translation_rule)
     1350    0.002    0.000    0.364    0.000 lax.py:299(abs)
1620/1350    0.003    0.000    0.617    0.000 lax.py:303(pow)
79440/45570    0.153    0.000   24.539    0.001 lax.py:307(integer_pow)
     5400    0.010    0.000    1.683    0.000 lax.py:311(sqrt)
     1080    0.009    0.000    0.017    0.000 lax.py:3323(_broadcast_in_dim_shape_rule)
     1080    0.000    0.000    0.000    0.000 lax.py:3340(<genexpr>)
    95850    0.138    0.000   22.020    0.000 lax.py:339(add)
    33840    0.065    0.000   12.016    0.000 lax.py:343(sub)
   236940    0.353    0.000   53.150    0.000 lax.py:347(mul)
29010/23010    0.048    0.000    9.337    0.000 lax.py:351(div)
      271    0.000    0.000    0.000    0.000 lax.py:3783(_select_shape_rule)
      271    0.001    0.000    0.005    0.000 lax.py:3793(_select_dtype_rule)
      270    0.001    0.000    0.037    0.000 lax.py:385(eq)
      270    0.001    0.000    0.038    0.000 lax.py:393(ge)
     1650    0.005    0.000    0.413    0.000 lax.py:397(gt)
   355860    1.931    0.000   39.451    0.000 lax.py:409(convert_element_type)
   117077    0.282    0.000    1.010    0.000 lax.py:6142(_check_same_dtypes)
   117077    0.213    0.000    0.706    0.000 lax.py:6152(<setcomp>)
     2160    0.002    0.000    0.003    0.000 lax.py:6227(_check_shapelike)
    36030    0.078    0.000    0.817    0.000 lax.py:6272(_const)
      270    0.001    0.000    0.008    0.000 lax.py:6287(_iscomplex)
     1080    0.005    0.000    0.038    0.000 lax.py:678(broadcast)
     1080    0.004    0.000    0.025    0.000 lax.py:696(broadcast_in_dim)
      540    0.001    0.000    0.102    0.000 lax.py:765(select)
   353700    0.529    0.000    5.381    0.000 lax_numpy.py:111(__instancecheck__)
   187740    0.344    0.000    6.260    0.000 lax_numpy.py:239(_promote_shapes)
   164610    0.262    0.000    5.812    0.000 lax_numpy.py:244(<listcomp>)
   164610    0.067    0.000    0.067    0.000 lax_numpy.py:245(<listcomp>)
   147810    0.587    0.000   45.769    0.000 lax_numpy.py:269(_promote_dtypes)
   147810    0.342    0.000   33.710    0.000 lax_numpy.py:278(<listcomp>)
    41280    0.188    0.000    8.603    0.000 lax_numpy.py:280(_promote_dtypes_inexact)
    41280    0.078    0.000    6.000    0.000 lax_numpy.py:289(<listcomp>)
    41280    0.028    0.000    0.322    0.000 lax_numpy.py:291(_to_inexact_dtype)
   353700    0.175    0.000    6.115    0.000 lax_numpy.py:305(_arraylike)
   189090    0.256    0.000    6.906    0.000 lax_numpy.py:308(_check_arraylike)
   542790    0.256    0.000    6.371    0.000 lax_numpy.py:311(<genexpr>)
   187740    0.158    0.000    6.847    0.000 lax_numpy.py:317(_check_no_float0s)
   540090    0.322    0.000    6.482    0.000 lax_numpy.py:319(<genexpr>)
   147810    0.644    0.000   63.768    0.000 lax_numpy.py:329(_promote_args)
    39930    0.169    0.000   11.296    0.000 lax_numpy.py:335(_promote_args_inexact)
     1350    0.002    0.000    0.046    0.000 lax_numpy.py:343(_constant_like)
    44280    0.033    0.000    0.314    0.000 lax_numpy.py:356(issubdtype)
   109290    0.124    0.000    0.317    0.000 lax_numpy.py:360(isscalar)
    23130    0.060    0.000   13.333    0.001 lax_numpy.py:374(<lambda>)
    33570    0.189    0.000   26.089    0.001 lax_numpy.py:387(<lambda>)
   111240    0.537    0.000   93.098    0.001 lax_numpy.py:395(fn)
     1650    0.007    0.000    1.232    0.001 lax_numpy.py:457(fn)
   194130    0.430    0.000  156.868    0.001 lax_numpy.py:5253(deferring_binary_op)
    41265    0.060    0.000   30.763    0.001 lax_numpy.py:5260(<lambda>)
    16800    0.033    0.000   14.529    0.001 lax_numpy.py:536(true_divide)
    40920    0.088    0.000   25.140    0.001 lax_numpy.py:588(power)
     1350    0.024    0.000    2.436    0.002 lax_numpy.py:864(cbrt)
   880875    0.197    0.000    0.197    0.000 lazy.py:80(is_trivial)
       60    0.000    0.000    0.000    0.000 linear_util.py:103(val)
       60    0.000    0.000    0.000    0.000 linear_util.py:109(__nonzero__)
      210    0.000    0.000    0.000    0.000 linear_util.py:131(__init__)
      180    0.000    0.000    0.000    0.000 linear_util.py:141(wrap)
       30    0.063    0.002  187.646    6.255 linear_util.py:152(call_wrapped)
      120    0.000    0.000    0.000    0.000 linear_util.py:200(transformation)
       60    0.000    0.000    0.000    0.000 linear_util.py:210(transformation_with_aux)
       60    0.000    0.000    0.000    0.000 linear_util.py:214(<lambda>)
       30    0.000    0.000    0.000    0.000 linear_util.py:223(wrap_init)
       60    0.000    0.000    0.000    0.000 linear_util.py:91(__init__)
       60    0.000    0.000    0.000    0.000 linear_util.py:94(store)
       30    0.000    0.000    0.000    0.000 multiarray.py:1054(copyto)
  3630000    0.536    0.000    0.536    0.000 multiarray.py:644(result_type)
       30    0.000    0.000    0.001    0.000 numeric.py:148(ones)
  2535486    1.521    0.000    2.329    0.000 numerictypes.py:285(issubclass_)
  1267743    1.413    0.000    3.916    0.000 numerictypes.py:359(issubdtype)
        3    0.000    0.000    0.000    0.000 os.py:670(__getitem__)
        3    0.000    0.000    0.000    0.000 os.py:748(encode)
        3    0.000    0.000    0.000    0.000 os.py:766(getenv)
   117420    0.304    0.000    0.907    0.000 partial_eval.py:100(new_const)
   117060    0.350    0.000    8.153    0.000 partial_eval.py:105(new_instantiated_literal)
       60    0.000    0.000    0.000    0.000 partial_eval.py:111(new_arg)
   369285    0.434    0.000    9.151    0.000 partial_eval.py:118(instantiate_const)
   203175    0.290    0.000   27.494    0.000 partial_eval.py:136(process_primitive)
   203175    1.854    0.000   27.204    0.000 partial_eval.py:142(default_process_primitive)
   203175    0.229    0.000    0.320    0.000 partial_eval.py:145(<listcomp>)
   407730    0.166    0.000    0.166    0.000 partial_eval.py:146(<genexpr>)
   202875    0.219    0.000    0.628    0.000 partial_eval.py:149(<listcomp>)
   437385    0.563    0.000    0.760    0.000 partial_eval.py:423(__init__)
   795825    0.442    0.000    1.064    0.000 partial_eval.py:437(aval)
   734445    0.268    0.000    0.350    0.000 partial_eval.py:441(parents)
   202905    0.137    0.000    0.190    0.000 partial_eval.py:448(full_lower)
       30    0.117    0.004  187.764    6.259 partial_eval.py:459(trace_to_jaxpr)
   437415    0.326    0.000    0.623    0.000 partial_eval.py:50(__new__)
       90    0.011    0.000    6.911    0.077 partial_eval.py:513(trace_to_subjaxpr)
       30    0.000    0.000    0.000    0.000 partial_eval.py:516(<listcomp>)
       90    0.000    0.000    0.001    0.000 partial_eval.py:522(<genexpr>)
       30    0.000    0.000    0.000    0.000 partial_eval.py:528(<listcomp>)
       60    0.000    0.000    0.000    0.000 partial_eval.py:532(instantiate_const_at)
   202875    0.483    0.000    1.713    0.000 partial_eval.py:550(new_eqn_recipe)
   155715    0.323    0.000    4.725    0.000 partial_eval.py:576(recipe_to_eqn)
   155715    0.062    0.000    0.062    0.000 partial_eval.py:579(<listcomp>)
   155715    0.097    0.000    0.340    0.000 partial_eval.py:580(<listcomp>)
   155715    0.143    0.000    3.809    0.000 partial_eval.py:581(<listcomp>)
       30    0.367    0.012    6.898    0.230 partial_eval.py:585(tracers_to_jaxpr)
   439140    0.451    0.000    3.887    0.000 partial_eval.py:602(getvar)
   117450    0.108    0.000    0.369    0.000 partial_eval.py:61(known)
       90    0.000    0.000    0.000    0.000 partial_eval.py:627(<genexpr>)
   319965    0.316    0.000    0.677    0.000 partial_eval.py:65(unknown)
   155805    0.033    0.000    0.033    0.000 partial_eval.py:69(is_known)
  1893705    0.412    0.000    0.412    0.000 partial_eval.py:72(get_known)
   951570    0.442    0.000    0.709    0.000 partial_eval.py:76(get_aval)
   117390    0.072    0.000    0.979    0.000 partial_eval.py:91(pure)
        1    0.000    0.000    0.000    0.000 posixpath.py:117(splitext)
        1    0.000    0.000    0.000    0.000 posixpath.py:140(basename)
        1    0.000    0.000    0.000    0.000 posixpath.py:41(_get_sep)
      327    0.000    0.000    0.000    0.000 pprint_util.py:25(__init__)
       73    0.000    0.000    0.000    0.000 pprint_util.py:28(indent)
       73    0.000    0.000    0.000    0.000 pprint_util.py:29(<listcomp>)
       19    0.000    0.000    0.000    0.000 pprint_util.py:36(__add__)
       99    0.000    0.000    0.000    0.000 pprint_util.py:39(__rshift__)
       44    0.000    0.000    0.000    0.000 pprint_util.py:52(__str__)
       89    0.000    0.000    0.000    0.000 pprint_util.py:53(<genexpr>)
      162    0.000    0.000    0.000    0.000 pprint_util.py:56(pp)
      162    0.000    0.000    0.000    0.000 pprint_util.py:57(<listcomp>)
       18    0.000    0.000    0.000    0.000 pprint_util.py:62(vcat)
   202875    0.267    0.000    1.013    0.000 source_info_util.py:64(current)
   311430    0.226    0.000    0.226    0.000 source_info_util.py:67(user_context)
        1    0.000    0.000    0.000    0.000 threading.py:1031(name)
        1    0.000    0.000    0.000    0.000 threading.py:1306(current_thread)
        1    0.000    0.000    0.000    0.000 threading.py:81(RLock)
       90    0.000    0.000    0.000    0.000 traceback_util.py:107(filtered_tracebacks_supported)
       90    0.000    0.000    0.001    0.000 traceback_util.py:110(api_boundary)
    60/30    0.553    0.009  213.853    7.128 traceback_util.py:136(reraise_with_filtered_traceback)
       60    0.000    0.000    0.005    0.000 tree_util.py:168(tree_map)
      210    0.000    0.000    0.001    0.000 tree_util.py:54(tree_flatten)
      150    0.001    0.000    0.001    0.000 tree_util.py:71(tree_unflatten)
   155715    0.023    0.000    0.023    0.000 typing.py:1149(cast)
       30    0.560    0.019    1.657    0.055 util.py:122(toposort)
       30    0.000    0.000    0.000    0.000 util.py:139(<listcomp>)
       30    0.247    0.008    0.658    0.022 util.py:153(check_toposort)
   528120    0.111    0.000    0.139    0.000 util.py:156(<genexpr>)
       30    0.000    0.000    0.000    0.000 util.py:159(_remove_duplicates)
    88/44    0.000    0.000    0.223    0.005 util.py:189(cached)
471389/471345    1.821    0.000    4.805    0.000 util.py:193(wrapper)
        6    0.000    0.000    0.000    0.000 util.py:206(memoized)
  5599188    5.715    0.000   10.641    0.000 util.py:210(wrapper)
       60    0.000    0.000    0.000    0.000 util.py:227(__init__)
      870    0.000    0.000    0.000    0.000 util.py:239(__init__)
   190154    0.665    0.000    0.734    0.000 util.py:30(safe_zip)
      180    0.001    0.000    0.002    0.000 util.py:301(wraps)
5349253/4935133   14.188    0.000   37.191    0.000 util.py:36(safe_map)
   192074    0.488    0.000    0.769    0.000 util.py:43(unzip2)
     1920    0.005    0.000    0.005    0.000 util.py:99(__get__)
     1350    0.004    0.000    0.006    0.000 utils.py:120(lin)
     1650    0.724    0.000  130.796    0.079 utils.py:130(getc6)
       30    0.000    0.000    0.000    0.000 utils.py:172(check_inputs)
       30    0.122    0.004   12.750    0.425 utils.py:78(ncoord)
       30    0.000    0.000    0.109    0.004 utils.py:95(<listcomp>)
     1920    0.003    0.000    0.032    0.000 xla.py:1019(_forward_method)
   583065    0.691    0.000    1.985    0.000 xla.py:1033(make_device_array)
  1345200    2.633    0.000    2.633    0.000 xla.py:1075(__init__)
       44    0.000    0.000    0.001    0.000 xla.py:108(aval_to_result_handler)
   118770    0.041    0.000    0.041    0.000 xla.py:1101(_check_if_deleted)
   118770    1.292    0.000    1.452    0.000 xla.py:1118(_value)
  2998260    0.919    0.000    0.919    0.000 xla.py:1126(shape)
  3065160    0.784    0.000    0.784    0.000 xla.py:1130(dtype)
     3510    0.002    0.000    0.002    0.000 xla.py:1138(ndim)
   111764    0.163    0.000    1.414    0.000 xla.py:114(array_result_handler)
   117060    0.404    0.000    3.346    0.000 xla.py:1192(item)
       30    0.000    0.000    0.000    0.000 xla.py:1239(__array__)
   116820    0.178    0.000    1.602    0.000 xla.py:1247(<lambda>)
   913185    1.354    0.000   14.181    0.000 xla.py:126(device_put)
   117060    0.089    0.000    0.089    0.000 xla.py:1265(__hash__)
   762135    0.669    0.000    7.071    0.000 xla.py:1296(_device_put_device_array)
   762135    3.169    0.000    5.740    0.000 xla.py:1302(_copy_device_array_to_device)
   880875    0.584    0.000    0.781    0.000 xla.py:1323(_force)
   151050    1.862    0.000    2.022    0.000 xla.py:133(_device_put_array)
   913185    0.804    0.000    3.734    0.000 xla.py:149(canonicalize_dtype)
   150180    0.305    0.000    2.634    0.000 xla.py:160(_canonicalize_ndarray_dtype)
      870    0.002    0.000    0.007    0.000 xla.py:163(_canonicalize_python_scalar_dtype)
   801525    0.609    0.000    2.063    0.000 xla.py:173(abstractify)
      930    0.002    0.000    0.013    0.000 xla.py:184(_make_abstract_python_scalar)
       19    0.000    0.000    0.000    0.000 xla.py:210(_param_uses_outfeed)
       44    0.000    0.000    0.000    0.000 xla.py:219(primitive_uses_outfeed)
   801465    0.536    0.000    2.597    0.000 xla.py:232(arg_spec)
   471345    1.911    0.000   45.355    0.000 xla.py:239(apply_primitive)
       44    0.001    0.000    0.223    0.005 xla.py:253(xla_primitive_callable)
       44    0.000    0.000    0.000    0.000 xla.py:297(_device_from_arg_devices)
       44    0.000    0.000    0.000    0.000 xla.py:308(<setcomp>)
       44    0.002    0.000    0.008    0.000 xla.py:314(primitive_computation)
       44    0.209    0.005    0.209    0.005 xla.py:352(backend_compile)
   471345   19.647    0.000   36.042    0.000 xla.py:357(_execute_compiled_primitive)
  1272810    0.658    0.000   11.171    0.000 xla.py:359(<genexpr>)
   471345    1.883    0.000    3.547    0.000 xla.py:375(check_special)
   762135    0.126    0.000    0.126    0.000 xla.py:75(identity)
       44    0.000    0.000    0.003    0.000 xla.py:788(_xla_callable_args)
       44    0.000    0.000    0.002    0.000 xla.py:806(<listcomp>)
       62    0.000    0.000    0.001    0.000 xla.py:834(_xla_param)
       62    0.000    0.000    0.001    0.000 xla.py:86(_make_array_shape)
       62    0.000    0.000    0.001    0.000 xla.py:96(aval_to_xla_shapes)
        2    0.000    0.000    0.015    0.008 xla_bridge.py:126(_get_local_backend)
        3    0.000    0.000    0.015    0.005 xla_bridge.py:166(get_backend)
   913229    1.376    0.000    1.392    0.000 xla_bridge.py:181(get_device_backend)
       44    0.000    0.000    0.000    0.000 xla_bridge.py:187(device_count)
       62    0.000    0.000    0.001    0.000 xla_bridge.py:316(parameter)
       44    0.001    0.000    0.001    0.000 xla_bridge.py:407(make_computation_builder)
       44    0.001    0.000    0.001    0.000 xla_bridge.py:66(get_compile_options)
        2    0.000    0.000    0.015    0.008 xla_client.py:116(_get_local_backends)
        2    0.000    0.000    0.015    0.008 xla_client.py:140(get_local_backend)
       44    0.000    0.000    0.000    0.000 xla_client.py:166(__init__)
        1    0.000    0.000    0.000    0.000 xla_client.py:216(dtype_to_etype)
        1    0.000    0.000    0.001    0.001 xla_client.py:61(_interpreter_backend_factory)
        1    0.000    0.000    0.014    0.014 xla_client.py:65(_cpu_backend_factory)
        1    0.000    0.000    0.000    0.000 xla_client.py:69(_gpu_backend_factory)
        1    0.000    0.000    0.000    0.000 xla_client.py:96(_tpu_backend_factory)
   796079    0.404    0.000    0.404    0.000 {built-in method __new__ of type object at 0x7f734cd2c5c0}
   189990    0.200    0.000    4.690    0.000 {built-in method _functools.reduce}
    40980    0.010    0.000    0.010    0.000 {built-in method _operator.index}
        2    0.000    0.000    0.000    0.000 {built-in method _thread.get_ident}
   755787    0.409    0.000    0.813    0.000 {built-in method builtins.all}
  1742693    1.699    0.000   18.014    0.000 {built-in method builtins.any}
       30    0.000    0.000    0.000    0.000 {built-in method builtins.callable}
        1    0.000    0.000  213.859  213.859 {built-in method builtins.exec}
  2145379    0.793    0.000    0.820    0.000 {built-in method builtins.getattr}
   465152    0.468    0.000    5.496    0.000 {built-in method builtins.hasattr}
  1036577    0.450    0.000    0.539    0.000 {built-in method builtins.hash}
  2100930    0.242    0.000    0.242    0.000 {built-in method builtins.id}
11065028/10504178    3.016    0.000    8.073    0.000 {built-in method builtins.isinstance}
  5070164    1.233    0.000    1.233    0.000 {built-in method builtins.issubclass}
  7717426    1.251    0.000    1.251    0.000 {built-in method builtins.len}
  1060169    2.223    0.000    3.261    0.000 {built-in method builtins.max}
     1350    0.001    0.000    0.001    0.000 {built-in method builtins.min}
467567/467537    0.179    0.000    0.409    0.000 {built-in method builtins.next}
  3619872    2.033    0.000    2.033    0.000 {built-in method builtins.sorted}
       18    0.000    0.000    0.000    0.000 {built-in method builtins.sum}
   471345    0.122    0.000    0.122    0.000 {built-in method from_iterable}
       62    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.array_shape}
        1    0.014    0.014    0.014    0.014 {built-in method jaxlib.xla_extension.get_cpu_client}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.get_gpu_client}
        1    0.001    0.001    0.001    0.001 {built-in method jaxlib.xla_extension.get_interpreter_client}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.get_tpu_client}
   202875    0.746    0.000    0.746    0.000 {built-in method jaxlib.xla_extension.get_traceback}
  6070583    2.135    0.000    2.135    0.000 {built-in method jaxlib.xla_extension.jax_jit.get_enable_x64}
        2    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Abs}
        3    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Add}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.ConvertElementType}
        2    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Div}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Eq}
        2    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Exp}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Ge}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Gt}
       54    0.001    0.000    0.001    0.000 {built-in method jaxlib.xla_extension.ops.Mul}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Neg}
       62    0.001    0.000    0.001    0.000 {built-in method jaxlib.xla_extension.ops.Parameter}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Pow}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Reciprocal}
        1    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Select}
        2    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Sign}
        2    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Sqrt}
        4    0.000    0.000    0.000    0.000 {built-in method jaxlib.xla_extension.ops.Sub}
      210    0.001    0.000    0.001    0.000 {built-in method jaxlib.xla_extension.pytree.flatten}
303001/302971    0.717    0.000    0.717    0.000 {built-in method numpy.array}
7348320/5725680   12.064    0.000   32.937    0.000 {built-in method numpy.core._multiarray_umath.implement_array_function}
       30    0.000    0.000    0.000    0.000 {built-in method numpy.empty}
        2    0.000    0.000    0.000    0.000 {built-in method numpy.zeros}
        2    0.000    0.000    0.000    0.000 {built-in method posix.fspath}
        1    0.000    0.000    0.000    0.000 {built-in method posix.getpid}
        1    0.000    0.000    0.000    0.000 {built-in method sys._getframe}
        1    0.000    0.000    0.000    0.000 {built-in method time.time}
        8    0.000    0.000    0.000    0.000 {method 'acquire' of '_thread.RLock' objects}
   400591    0.061    0.000    0.061    0.000 {method 'add' of 'set' objects}
  1468086    0.166    0.000    0.166    0.000 {method 'append' of 'list' objects}
       24    0.000    0.000    0.000    0.000 {method 'capitalize' of 'str' objects}
     2700    0.001    0.000    0.001    0.000 {method 'casefold' of 'str' objects}
        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
        3    0.000    0.000    0.000    0.000 {method 'encode' of 'str' objects}
   244815    0.031    0.000    0.031    0.000 {method 'extend' of 'list' objects}
        1    0.000    0.000    0.000    0.000 {method 'find' of 'str' objects}
        1    0.000    0.000    0.000    0.000 {method 'flush' of '_io.TextIOWrapper' objects}
      362    0.001    0.000    0.001    0.000 {method 'format' of 'str' objects}
  6236043    1.106    0.000    1.106    0.000 {method 'get' of 'dict' objects}
        8    0.000    0.000    0.000    0.000 {method 'intersection' of 'set' objects}
     1080    0.000    0.000    0.000    0.000 {method 'issubset' of 'set' objects}
   291060    0.556    0.000    0.556    0.000 {method 'item' of 'numpy.generic' objects}
        1    0.000    0.000    0.000    0.000 {method 'items' of 'collections.OrderedDict' objects}
  4469503    0.836    0.000    0.836    0.000 {method 'items' of 'dict' objects}
       68    0.000    0.000    0.000    0.000 {method 'join' of 'str' objects}
        1    0.000    0.000    0.000    0.000 {method 'lower' of 'str' objects}
  3236639    0.934    0.000    0.934    0.000 {method 'mro' of 'type' objects}
   155754    0.052    0.000    0.052    0.000 {method 'pop' of 'dict' objects}
   528420    0.047    0.000    0.047    0.000 {method 'pop' of 'list' objects}
        8    0.000    0.000    0.000    0.000 {method 'pop' of 'set' objects}
        8    0.000    0.000    0.000    0.000 {method 'release' of '_thread.RLock' objects}
        1    0.000    0.000    0.000    0.000 {method 'reshape' of 'numpy.ndarray' objects}
        3    0.000    0.000    0.000    0.000 {method 'rfind' of 'str' objects}
        1    0.000    0.000    0.000    0.000 {method 'search' of 're.Pattern' objects}
      180    0.000    0.000    6.912    0.038 {method 'send' of 'generator' objects}
       24    0.000    0.000    0.000    0.000 {method 'split' of 'str' objects}
      162    0.000    0.000    0.000    0.000 {method 'splitlines' of 'str' objects}
      180    0.000    0.000    0.000    0.000 {method 'update' of 'dict' objects}
        1    0.000    0.000    0.000    0.000 {method 'values' of 'collections.OrderedDict' objects}
       44    0.000    0.000    0.000    0.000 {method 'values' of 'dict' objects}
        1    0.000    0.000    0.000    0.000 {method 'write' of '_io.TextIOWrapper' objects}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment