Skip to content

Instantly share code, notes, and snippets.

@cradiator
cradiator / nba.py
Created February 11, 2025 01:32
Numba test
import time
import numba
from concurrent.futures import ThreadPoolExecutor
TOTAL_ITER = 100_000_000
def profiling(func):
start_time = time.time()
result = func(0, TOTAL_ITER)
end_time = time.time()