Skip to content

Commit f6981c9

Browse files
committed
Hide GIFs from PDF builds
1 parent 273d2aa commit f6981c9

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

Doc/library/profiling.sampling.rst

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,10 +1194,12 @@ data, similar to the ``top`` command for system processes::
11941194
python -m profiling.sampling run --live script.py
11951195
python -m profiling.sampling attach --live 12345
11961196

1197-
.. figure:: tachyon-live-mode-2.gif
1198-
:alt: Tachyon live mode showing all threads
1199-
:align: center
1200-
:width: 100%
1197+
.. only:: not latex
1198+
1199+
.. figure:: tachyon-live-mode-2.gif
1200+
:alt: Tachyon live mode showing all threads
1201+
:align: center
1202+
:width: 100%
12011203

12021204
Live mode displays real-time profiling statistics, showing combined
12031205
data from multiple threads in a multi-threaded application.
@@ -1217,10 +1219,12 @@ main table, showing instruction-level statistics for the currently selected
12171219
function. This panel displays which bytecode instructions are executing most
12181220
frequently, including specialized variants and their base opcodes.
12191221

1220-
.. figure:: tachyon-live-mode-1.gif
1221-
:alt: Tachyon live mode with opcode panel
1222-
:align: center
1223-
:width: 100%
1222+
.. only:: not latex
1223+
1224+
.. figure:: tachyon-live-mode-1.gif
1225+
:alt: Tachyon live mode with opcode panel
1226+
:align: center
1227+
:width: 100%
12241228

12251229
Live mode with ``--opcodes`` enabled shows an opcode panel with a bytecode
12261230
instruction breakdown for the selected function.

0 commit comments

Comments
 (0)