File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 436436
437437epub_author = 'Python Documentation Authors'
438438epub_publisher = 'Python Software Foundation'
439- epub_exclude_files = ('index.xhtml' , 'download.xhtml' )
439+ epub_exclude_files = (
440+ 'index.xhtml' ,
441+ 'download.xhtml' ,
442+ '_static/tachyon-example-flamegraph.html' ,
443+ '_static/tachyon-example-heatmap.html' ,
444+ )
440445
441446# index pages are not valid xhtml
442447# https://github.com/sphinx-doc/sphinx/issues/12359
Original file line number Diff line number Diff line change @@ -796,7 +796,10 @@ an interactive flame graph visualization::
796796 The flame graph visualization shows call stacks as nested rectangles, with
797797 width proportional to time spent. The sidebar displays runtime statistics,
798798 GIL metrics, and hotspot functions.
799- :download: `Try the interactive example </_static/tachyon-example-flamegraph.html>`.
799+
800+ .. only :: html
801+
802+ `Try the interactive example <../_static/tachyon-example-flamegraph.html >`__.
800803
801804If no output file is specified, the profiler generates a filename based on
802805the process ID (for example, ``flamegraph.12345.html ``).
@@ -952,7 +955,10 @@ can be expanded to show which bytecode instructions consumed time:
952955 Expanding a hot line reveals the bytecode instructions executed, including
953956 specialized variants. The panel shows sample counts per instruction and the
954957 overall specialization percentage for the line.
955- :download: `Try the interactive example </_static/tachyon-example-heatmap.html>`.
958+
959+ .. only :: html
960+
961+ `Try the interactive example <../_static/tachyon-example-heatmap.html >`__.
956962
957963Heatmaps are especially useful when you know which file contains a performance
958964issue but need to identify the specific lines. Many developers prefer this
You can’t perform that action at this time.
0 commit comments