python:timeit

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python:timeit [2020/03/27 10:05] – 作成 ともやんpython:timeit [2020/03/27 10:08] – [timeit モンキーパッチ] ともやん
行 28: 行 28:
 </html> </html>
 ====== timeit ====== ====== timeit ======
 +timeit モジュールは処理の実行時間を計測する。\\
 +
 <WRAP prewrap 100% #mincode> <WRAP prewrap 100% #mincode>
 <code python dir_walk.py> <code python dir_walk.py>
行 96: 行 98:
 <WRAP prewrap 100% #mincode> <WRAP prewrap 100% #mincode>
 <code python> <code python>
-template = """+timeit.template = """
 def inner(_it, _timer{init}): def inner(_it, _timer{init}):
     {setup}     {setup}
  • python/timeit.txt
  • 最終更新: 2021/07/05 02:38
  • by ともやん