MCPcopy Create free account
hub / github.com/numpy/numpy / t

Function t

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

Source from the content-addressed store, hash-verified

31
32runner = perf.Runner()
33def t(name, statement):
34 runner.timeit(name, statement, globals=globals())
35
36t("np.asarray([])", "np.asarray([])")
37arrobj = np.array([])

Callers 15

test_standard_tMethod · 0.85
test_standard_tMethod · 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

Calls

no outgoing calls

Tested by 15

test_standard_tMethod · 0.68
test_standard_tMethod · 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