per page, with , order by , clip by
Results of 1 - 10 of about 24 for profile (0.005 sec.)
The Python Profilers 16180
The Python Profilers Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes how often and for how ... ia the pstats module. The Python standard library provides two different implementations of the same profiling interface: cProfile is recommended for most users; it's a C extension with reasonable overhead that makes it suitable for profiling long-runni ... ng programs. Based on lsprof , contributed by Brett Rosen and Ted Czotter. profile , a pure Python module whose interface is imitated by cProfile , but which adds significant overhead to profiled programs. ... If you're trying to extend the profiler in some way, the task might be easier with this module. Originally designed and written by Jim Roskind. 注釈 The profiler ...
https://man.mtool.work/python/3.14/library/profile.html
モジュールのコマンドラインインターフェース (CLI) 9290
モジュールのコマンドラインインターフェース (CLI) 以下のモジュールにはコマンドラインインターフェースがあります。 ast asyncio base64 calendar code compileall cProfile : see profile dis doctest encodings.rot_13 ensurepip filecmp fileinput ftpl ... ib gzip http.server idlelib inspect json mimetypes pdb pickle pickletools platform poplib profile pstats py_compile pyclbr pydoc quopri random runpy site sqlite3 symtable sysconfig tabnanny tarfile this timeit tokenize t ... ipfile Python コマンドラインインターフェース も参照してください。 他のマニュアルの関連ページ Linux JM sprof(1) PHP imagick.profileimage Linux JM profil(3) PHP gmagick.profileimage Docker docker compose Docker Compose で :ruby:`プロフィール ` を使う ...
https://man.mtool.work/python/3.14/library/cmdline.html
3. Python を構成する 8323
3. Python を構成する 3.1. ビルド要件 CPython をビルドするためには、次のものが必要です: C11 コンパイラ。 C11 オプション機能 は不要です。 Windows では、 Microsoft Visual Studio 2017 以降が必要です。 IEEE 754 浮動小数点数と 浮動小数点 Not-a-Nu ... を構成することを推奨します。 実験的な --enable-bolt フラグも、パフォーマンスの向上に使用できます。 --enable-optimizations PROFILE_TASK を使用して Profile Guided Optimization (PGO) を有効にします(デフォルトでは無効です)。 Cコンパイラの Clang では、 PGO ... の取得時にはコードの一部だけが実行されるため、この警告に問題はありません。 Clang でこの警告を無効にするには、 CFLAGS に -Wno-profile-instr-unprofiled を追加して明示的に抑制してください。 Added in version 3.6. バージョン 3.10 で変更: GCC で -fno-semantic-i ... nterposition を使用する。 PROFILE_TASK Makefile で使用する環境変数。 PGO 生成タスクに使用する Python のコマンドライン引数。 デフォルト: -m test --pgo --time ...
https://man.mtool.work/python/3.14/using/configure.html
GDB による C API 拡張と CPython 内部のデバッグ 8206
GDB による C API 拡張と CPython 内部のデバッグ このドキュメントでは、Python の GDB 拡張 python-gdb.py を GDB デバッガと組み合わせて、CPython 拡張や CPython インタープリタ自体をデバッグする方法を説明します。 クラッシュやデッドロックなどの低レ ... レームに対応する Python ソースコードがあれば、それを表示します。 現在の行には ">" が付きます。 (gdb) py-list 901 if options.profile: 902 options.profile = False 903 profile_me() 904 return 905 >906 u = UI() 907 if not u.quit: 908 try: 909 gtk.main() 910 ...
https://man.mtool.work/python/3.14/howto/gdb_helpers.html
Debugging and Profiling 8206
Debugging and Profiling ここに含まれるライブラリは Python での開発を手助けします。 デバッガを使うと、コードのステップ実行やスタックフレームの解析、ブレークポイントの設定などができます。 プロファイラはコードを実行して実行時間の詳しい内訳を示 ... ダンプする ファイル記述子の問題 使用例 pdb --- Python デバッガ コマンドライン・インターフェース デバッガコマンド The Python Profilers Introduction to the profilers Instant User's Manual profile and cProfile Module Reference The Stats Class What Is Determ ...
https://man.mtool.work/python/3.14/library/debug.html
What's New In Python 3.8 8206
What's New In Python 3.8 編集者 : Raymond Hettinger この記事では Python 3.7 と比較した Python 3.8 の新機能を解説します。 Python 3.8 は 2019 年 10 月 14 日にリリースされました。 詳しくは 変更履歴 を参照してください。 概要 -- リリースハイライ ... は、結果を OrderedDict(nt._asdict()) 型にキャストして使用することを推奨します。(Raymond Hettinger の貢献による bpo-35864 ) cProfile cProfile.Profile クラスは、コンテキストマネージャとして使用できるようになりました。このようにしてコードブロックをプロファイ ... ルします: import cProfile with cProfile . Profile () as profiler : # プロファイル対象のコード ... (Scott Sanderson の貢献による bpo-29235 ) csv csv. ... or を送出せず、 False を返します。 (Contributed by Serhiy Storchaka in bpo-33721 .) Windows の expanduser() は環境変数 USERPROFILE を優先し、通常のユーザーアカウントでは通常設定されない HOME を使わなくなりました。 (Contributed by Anthony Sottile in bpo- ...
https://man.mtool.work/python/3.14/whatsnew/3.8.html
5. macOS で Python を使う 8039
5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています ... in most cases no changes to your PATH environment variables should be needed to use python3.14t . このリリースでは、 Shell profile updater パッケージと、 /Applications/Python 3.14/ にある Update Shell Profile.command は、フリースレッドパッケージに対応し ...
https://man.mtool.work/python/3.14/using/mac.html
What's New in Python 2.5 8039
What's New in Python 2.5 著者 : A.M. Kuchling この記事では Python 2.5 の新機能を説明します。 Python 2.5 の最終リリースは 2006 年 8 月に予定されており、 PEP 356 にリリース計画が記載されています。 Python 2.5 は 2006 年 9 月 19 日にリリースされ ... ' with ' ステートメントで使えるヘルパ関数が含まれています。詳細は contextlib モジュール をみてください。 New module: The cProfile module is a C implementation of the existing profile module that has much lower overhead. The module's interface is the sa ... me as profile : you run cProfile.run('main()') to profile a function, can save profile data to a file, etc. It's not yet known if the Ho ... tshot profiler, which is also written in C but doesn't match the profile module's interface, will continue to be maintained in future ve ...
https://man.mtool.work/python/3.14/whatsnew/2.5.html
16. 付録 7989
16. 付録 16.1. 対話モード 対話型の REPL には 2 種類あります。 従来の基本インタープリタはすべてのプラットフォームで使え、入力行を操作するための最小限の機能を備えています。 Python 3.13 からは、新しい対話型シェルがデフォルトで使われます。 これ ... RTUP と呼ばれる環境変数を、インタプリタ起動時に実行されるコマンドが入ったファイル名に設定します。この機能は Unix シェルの .profile に似ています。 このファイルが読み込まれるのは対話セッションだけです。 Python がスクリプトからコマンドを読み込む場合や、 /d ...
https://man.mtool.work/python/3.14/tutorial/appendix.html
プロファイリングとトレース 7923
プロファイリングとトレース Python インタプリタは、プロファイル: 分析 (profile) や実行のトレース: 追跡 (trace) といった機能を組み込むために低水準のサポートを提供しています。このサポートは、プロファイルやデバッグ、適用範囲分析 (coverage analy ... と同じです。 typedef int ( * Py_tracefunc ) ( PyObject * obj , PyFrameObject * frame , int what , PyObject * arg ) PyEval_SetProfile() と PyEval_SetTrace() で登録するトレース関数の型です。 第 1 引数は登録関数に obj として渡したオブジェクト、 frame はイベン ... ントはデフォルトでは発生しません。 フレームの f_trace_opcodes を 1 に設定して明示的に要求する必要があります。 void PyEval_SetProfile ( Py_tracefunc func , PyObject * obj ) プロファイラ関数を func に設定します。 obj はその関数の第 1 引数として渡され、任意の ... イラ関数は PyTrace_LINE 、 PyTrace_OPCODE 、 PyTrace_EXCEPTION を除くすべての監視対象イベントについて呼び出されます。 sys.setprofile() 関数も参照してください。 呼び出し元には アタッチされたスレッド状態 が必要です。 void PyEval_SetProfileAllThreads ( Py_tr ...
https://man.mtool.work/python/3.14/c-api/profiling.html
PREV 1 2 3 NEXT