python:timeit

差分

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

この比較画面へのリンク

次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python:timeit [2020/03/27 10:05] – 作成 ともやんpython:timeit [2020/09/11 17:03] ともやん
行 1: 行 1:
-<html> 
-  <style> 
-    #mincode pre { 
-      /*height: 300px;*/ 
-      overflow: scroll; 
-      overflow-x: hidden; 
-      font-size: 10px; 
-    } 
-    #mincode_long pre { 
-      height: 400px; 
-      overflow: scroll; 
-      overflow-x: hidden; 
-      font-size: 10px; 
-    } 
-    #mintbl table { 
-      font-size: 12px; 
-    } 
-    .dokuwiki .plugin_wrap table { 
-      width: auto; 
-    } 
-    #result pre { 
-      /*height: 300px;*/ 
-      overflow: scroll; 
-      overflow-x: hidden; 
-      font-size: 10px; 
-    } 
-  </style> 
-</html> 
 ====== timeit ====== ====== timeit ======
 +timeit モジュールは処理の実行時間を計測する。\\
 +
 <WRAP prewrap 100% #mincode> <WRAP prewrap 100% #mincode>
 <code python dir_walk.py> <code python dir_walk.py>
行 96: 行 70:
 <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 ともやん