# SOME DESCRIPTIVE TITLE. # Copyright (C) 1990-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 2.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-30 10:44+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/hotshot.rst:3 msgid ":mod:`hotshot` --- High performance logging profiler" msgstr "" #: ../Doc/library/hotshot.rst:13 msgid "" "This module provides a nicer interface to the :mod:`_hotshot` C module. " "Hotshot is a replacement for the existing :mod:`profile` module. As it's " "written mostly in C, it should result in a much smaller performance impact " "than the existing :mod:`profile` module." msgstr "" #: ../Doc/library/hotshot.rst:20 msgid "" "The :mod:`hotshot` module focuses on minimizing the overhead while " "profiling, at the expense of long data post-processing times. For common " "usage it is recommended to use :mod:`cProfile` instead. :mod:`hotshot` is " "not maintained and might be removed from the standard library in the future." msgstr "" #: ../Doc/library/hotshot.rst:25 msgid "" "The results should be more meaningful than in the past: the timing core " "contained a critical bug." msgstr "" #: ../Doc/library/hotshot.rst:31 msgid "" "The :mod:`hotshot` profiler does not yet work well with threads. It is " "useful to use an unthreaded script to run the profiler over the code you're " "interested in measuring if at all possible." msgstr "" #: ../Doc/library/hotshot.rst:38 msgid "" "The profiler object. The argument *logfile* is the name of a log file to use " "for logged profile data. The argument *lineevents* specifies whether to " "generate events for every source line, or just on function call/return. It " "defaults to ``0`` (only log function call/return). The argument " "*linetimings* specifies whether to record timing information. It defaults to " "``1`` (store timing information)." msgstr "" #: ../Doc/library/hotshot.rst:49 msgid "Profile Objects" msgstr "" #: ../Doc/library/hotshot.rst:51 msgid "Profile objects have the following methods:" msgstr "" #: ../Doc/library/hotshot.rst:56 msgid "Add an arbitrary labelled value to the profile output." msgstr "" #: ../Doc/library/hotshot.rst:61 msgid "Close the logfile and terminate the profiler." msgstr "" #: ../Doc/library/hotshot.rst:66 msgid "Return the file descriptor of the profiler's log file." msgstr "" #: ../Doc/library/hotshot.rst:71 msgid "" "Profile an :keyword:`exec`\\ -compatible string in the script environment. " "The globals from the :mod:`__main__` module are used as both the globals and " "locals for the script." msgstr "" #: ../Doc/library/hotshot.rst:78 msgid "" "Profile a single call of a callable. Additional positional and keyword " "arguments may be passed along; the result of the call is returned, and " "exceptions are allowed to propagate cleanly, while ensuring that profiling " "is disabled on the way out." msgstr "" #: ../Doc/library/hotshot.rst:86 msgid "" "Evaluate an :keyword:`exec`\\ -compatible string in a specific environment. " "The string is compiled before profiling begins." msgstr "" #: ../Doc/library/hotshot.rst:92 msgid "Start the profiler." msgstr "" #: ../Doc/library/hotshot.rst:97 msgid "Stop the profiler." msgstr "" #: ../Doc/library/hotshot.rst:101 msgid "Using hotshot data" msgstr "" #: ../Doc/library/hotshot.rst:109 msgid "" "This module loads hotshot profiling data into the standard :mod:`pstats` " "Stats objects." msgstr "" #: ../Doc/library/hotshot.rst:115 msgid "" "Load hotshot data from *filename*. Returns an instance of the :class:`pstats." "Stats` class." msgstr "" #: ../Doc/library/hotshot.rst:121 msgid "Module :mod:`profile`" msgstr "" #: ../Doc/library/hotshot.rst:122 msgid "The :mod:`profile` module's :class:`Stats` class" msgstr "" #: ../Doc/library/hotshot.rst:128 msgid "Example Usage" msgstr "" #: ../Doc/library/hotshot.rst:130 msgid "" "Note that this example runs the Python \"benchmark\" pystones. It can take " "some time to run, and will produce large output files. ::" msgstr ""