Results of 1 - 5 of about 5 for trampoline (0.006 sec.)
- Python support for the Linux perf profiler 12354
- Python support for the Linux perf profiler author : Pablo Galindo The Linux perf profiler is a very powerful tool that allows you to profile and obtain information about the performance of your application. perf also has a very vibrant ecos
...ct architectures. Check the output of the configure build step or check the output of python -m sysconfig | grep HAVE_PERF_TRAMPOLINE to see if your system is supported. 例えば、次のスクリプトを考えます: def foo ( n ): result = 0 for _ in range ( n ): resu...ファイリングサポートは、環境変数 PYTHONPERFSUPPORT または -X perf オプションで起動時から有効にできます。 sys.activate_stack_trampoline() と sys.deactivate_stack_trampoline() で動的に切り替えることもできます。 sys の関数は -X オプションより優先され、 -X オプ...hon -X perf my_script.py $ perf report -g -i perf.data example.py で sys API を使う例です: import sys sys . activate_stack_trampoline ( "perf" ) do_profiled_stuff () sys . deactivate_stack_trampoline () non_profiled_stuff () 続いて次を実行します。 $ perf r... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- perf map のサポート 9982
- perf map のサポート On supported platforms (as of this writing, only Linux), the runtime can take advantage of perf map files to make Python functions visible to an external profiling tool (such as perf ). A running process may create a fil
...t support perf maps (currently only Linux). On other platforms, it does nothing. Added in version 3.13. int PyUnstable_PerfTrampoline_CompileCode ( PyCodeObject * code ) これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 現在の...perf トランポリンを使って、指定されたコードオブジェクトをコンパイルします。 The "current" trampoline is the one set by the runtime or the most recent PyUnstable_PerfTrampoline_SetPersistAfterFork() call. If no trampoline is...code -- コンパイルするコードオブジェクト。 戻り値 : 0 on success, -1 on failure. Added in version 3.13. int PyUnstable_PerfTrampoline_SetPersistAfterFork ( int enable ) これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 fork 後も... - https://man.mtool.work/python/3.14/c-api/perfmaps.html
- What's New In Python 3.12 8567
- What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ
...で貢献しました。) 新しい環境変数 PYTHONPERFSUPPORT とコマンドラインオプション -X perf 、および新しい関数 sys.activate_stack_trampoline() 、 sys.deactivate_stack_trampoline() 、 sys.is_stack_trampoline_active() により、 perf プロファイラーへの対応 を追加しま...た。 (Mark Shannon が gh-103082 で貢献しました。) スタックプロファイラーのトランポリンを有効・無効にする sys.activate_stack_trampoline() と sys.deactivate_stack_trampoline() 、および有効かどうかを調べる sys.is_stack_trampoline_active() を追加しました。 (Pab... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- sys --- システム固有のパラメーターと関数 7868
- sys --- システム固有のパラメーターと関数 このモジュールは、インタープリタが使用または管理する変数と、インタープリタに密接に関わる関数を提供します。 常に利用できます。 特に明記されていない限り、すべての変数は読み出し専用です。 sys. abiflags
.... 注釈 この関数は暫定的に追加されました (詳しくは PEP 411 を参照)。 デバッグ目的でのみ使ってください。 sys. activate_stack_trampoline ( backend , / ) スタックプロファイラのトランポリンの backend を有効にします。 サポートするバックエンドは "perf" だけです。...Added in version 3.12. 参考 Python support for the Linux perf profiler https://perf.wiki.kernel.org sys. deactivate_stack_trampoline ( ) 現在のスタックプロファイラのトランポリンのバックエンドを無効にします。 スタックプロファイラが有効でなければ、この関数は...何もしません。 利用可能な環境 : Linux. Added in version 3.12. sys. is_stack_trampoline_active ( ) スタックプロファイラのトランポリンが有効なら True を返します。 利用可能な環境 : Linux. Added in version 3.12. s... - https://man.mtool.work/python/3.14/library/sys.html
- 変更履歴 7151
- 変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T
...ry large. Patch by Bénédikt Tran. ビルド gh-128883 : Fix crashes with -X perf and -X perf_jit in BOLT builds. The ELF perf trampoline templates now use read-only data sections. gh-160004 : Fix the paths in the PEP 739 build-details.json file generated by T... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV
1
NEXT