If you want to benchmark your code while testing with pytest, try pytest-benchmark. The code above shows what pytest-benchmark does.
確定! 回上一頁