Skip to content

Commit 7fcb769

Browse files
sync with cpython 1059b0cc
1 parent 8e8f0d3 commit 7fcb769

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

howto/perf_profiling.po

+9-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2025-03-29 00:14+0000\n"
1111
"PO-Revision-Date: 2023-12-09 17:39+0800\n"
1212
"Last-Translator: Matt Wang <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -402,8 +402,10 @@ msgid "Example, using the environment variable::"
402402
msgstr "例如,使用環境變數: ::"
403403

404404
#: ../../howto/perf_profiling.rst:165
405+
#, fuzzy
405406
msgid ""
406-
"$ PYTHONPERFSUPPORT=1 perf record -F 9999 -g -o perf.data python script.py\n"
407+
"$ PYTHONPERFSUPPORT=1 perf record -F 9999 -g -o perf.data python my_script."
408+
"py\n"
407409
"$ perf report -g -i perf.data"
408410
msgstr ""
409411
"$ PYTHONPERFSUPPORT=1 perf record -F 9999 -g -o perf.data python script.py\n"
@@ -414,8 +416,9 @@ msgid "Example, using the :option:`!-X` option::"
414416
msgstr "例如,使用 :option:`!-X` 選項: ::"
415417

416418
#: ../../howto/perf_profiling.rst:170
419+
#, fuzzy
417420
msgid ""
418-
"$ perf record -F 9999 -g -o perf.data python -X perf script.py\n"
421+
"$ perf record -F 9999 -g -o perf.data python -X perf my_script.py\n"
419422
"$ perf report -g -i perf.data"
420423
msgstr ""
421424
"$ perf record -F 9999 -g -o perf.data python -X perf script.py\n"
@@ -535,9 +538,10 @@ msgid ""
535538
msgstr ""
536539

537540
#: ../../howto/perf_profiling.rst:239
541+
#, fuzzy
538542
msgid ""
539-
"$ perf record -F 9999 -g --call-graph dwarf -o perf.data python -Xperf_jit "
540-
"my_script.py\n"
543+
"$ perf record -F 9999 -g -k 1 --call-graph dwarf -o perf.data python -"
544+
"Xperf_jit my_script.py\n"
541545
"$ perf inject -i perf.data --jit --output perf.jit.data\n"
542546
"$ perf report -g -i perf.jit.data"
543547
msgstr ""

0 commit comments

Comments
 (0)