MCPcopy Create free account
hub / github.com/pydata/numexpr / bench.py

File bench.py

bench/bench.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Setup number of cores and associated environment variables
2n_cores = 8
3import os
4os.environ['NUMBA_NUM_THREADS'] = str(n_cores)

Callers

nothing calls this directly

Calls 3

CaseClass · 0.85
print_resultsMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected