MCPcopy Index your code
hub / github.com/numpy/numpy / t

Function t

doc/neps/nep-0016-benchmark.py:37–38  ·  view source on GitHub ↗
(name, statement)

Source from the content-addressed store, hash-verified

35
36runner = perf.Runner()
37def t(name, statement):
38 runner.timeit(name, statement, globals=globals())
39
40
41t("np.asarray([])", "np.asarray([])")

Callers 15

test_complex_errorsMethod · 0.85
test_small_typesMethod · 0.85
test_large_typesMethod · 0.85
test_modular_powerMethod · 0.85
test_zero_divisionMethod · 0.85
test_signed_zerosMethod · 0.85
test_branchesMethod · 0.85
_test_type_reprMethod · 0.85
test_floatsMethod · 0.85

Calls

no outgoing calls

Tested by 15

test_complex_errorsMethod · 0.68
test_small_typesMethod · 0.68
test_large_typesMethod · 0.68
test_modular_powerMethod · 0.68
test_zero_divisionMethod · 0.68
test_signed_zerosMethod · 0.68
test_branchesMethod · 0.68
_test_type_reprMethod · 0.68
test_floatsMethod · 0.68
test_complexMethod · 0.68