MCPcopy Create free account
hub / github.com/covscript/covscript / runtime_time

Function runtime_time

tests/benchmark.py:12–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11# Utility: get current time in microseconds
12def runtime_time():
13 return time.time_ns() // 1000000 # microseconds
14
15
16# ---------------------- Sequential Execution ----------------------

Callers 9

test_sequential_execFunction · 0.85
test_sequential_fcallFunction · 0.85
test_recursionFunction · 0.85
test_math_opsFunction · 0.85
test_string_opsFunction · 0.85
test_array_indexFunction · 0.85
test_hash_indexFunction · 0.85
test_quicksortFunction · 0.85

Calls

no outgoing calls

Tested by 9

test_sequential_execFunction · 0.68
test_sequential_fcallFunction · 0.68
test_recursionFunction · 0.68
test_math_opsFunction · 0.68
test_string_opsFunction · 0.68
test_array_indexFunction · 0.68
test_hash_indexFunction · 0.68
test_quicksortFunction · 0.68