Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a1d929

Browse files
[po] auto sync
1 parent 7919ebc commit 0a1d929

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

library/profile.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,19 +255,19 @@ msgid ""
255255
"This sorts the profile by cumulative time in a function, and then only "
256256
"prints the ten most significant lines. If you want to understand what "
257257
"algorithms are taking time, the above line is what you would use."
258-
msgstr ""
258+
msgstr "这将按一个函数中的累计时间对性能分析数据进行排序,然后只打印出最重要的十行。 如果你了解哪些算法在耗费时间,上面这一行就是你应该使用的。"
259259

260260
#: ../../library/profile.rst:168
261261
msgid ""
262262
"If you were looking to see what functions were looping a lot, and taking a "
263263
"lot of time, you would do::"
264-
msgstr ""
264+
msgstr "如果你想要看看哪些函数的循环次数多,且耗费时间长,你应当这样做::"
265265

266266
#: ../../library/profile.rst:173
267267
msgid ""
268268
"to sort according to time spent within each function, and then print the "
269269
"statistics for the top ten functions."
270-
msgstr ""
270+
msgstr "以按照每个函数耗费的时间进行排序,然后打印前十个函数的统计数据。"
271271

272272
#: ../../library/profile.rst:176
273273
msgid "You might also try::"
@@ -279,6 +279,8 @@ msgid ""
279279
"statistics for only the class init methods (since they are spelled with "
280280
"``__init__`` in them). As one final example, you could try::"
281281
msgstr ""
282+
"这将按照文件名对所有统计数据进行排序,然后只打印出类初始化方法的统计数据 (因为它们的名称中都有 ``__init__``)。 "
283+
"作为最后一个例子,你可以尝试::"
282284

283285
#: ../../library/profile.rst:186
284286
msgid ""
@@ -288,22 +290,24 @@ msgid ""
288290
"size, then only lines containing ``init`` are maintained, and that sub-sub-"
289291
"list is printed."
290292
msgstr ""
293+
"这一行以时间为主键,并以累计时间为次键进行排序,然后打印出部分统计数据。 具体来说,该列表首先被缩减至原始大小的 50% (即: "
294+
"``.5``),然后只保留包含 ``init`` 的行,并打印该子列表。"
291295

292296
#: ../../library/profile.rst:191
293297
msgid ""
294298
"If you wondered what functions called the above functions, you could now "
295299
"(``p`` is still sorted according to the last criteria) do::"
296-
msgstr ""
300+
msgstr "如果你想知道有哪些函数调用了上述函数,你现在就可以做 (``p`` 仍然会按照最后一个标准进行排序)::"
297301

298302
#: ../../library/profile.rst:196
299303
msgid "and you would get a list of callers for each of the listed functions."
300-
msgstr ""
304+
msgstr "这样你将得到每个被列出的函数的调用方列表。"
301305

302306
#: ../../library/profile.rst:198
303307
msgid ""
304308
"If you want more functionality, you're going to have to read the manual, or "
305309
"guess what the following functions do::"
306-
msgstr ""
310+
msgstr "如果你想要更多的功能,你就必须阅读手册,或者自行猜测下列函数的作用::"
307311

308312
#: ../../library/profile.rst:204
309313
msgid ""

0 commit comments

Comments
 (0)