Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6c1908d5
Kaydet (Commit)
6c1908d5
authored
Ara 26, 2005
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #489256: remove note about Python 1.1 profiler
üst
a2764add
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
41 deletions
+41
-41
libprofile.tex
Doc/lib/libprofile.tex
+41
-41
No files found.
Doc/lib/libprofile.tex
Dosyayı görüntüle @
6c1908d5
...
...
@@ -55,47 +55,47 @@ examine the results of a profile operation.
\index
{
profiling, deterministic
}
\section
{
How Is This Profiler Different From The Old Profiler?
}
\nodename
{
Profiler Changes
}
(This section is of historical importance only; the old profiler
discussed here was last seen in Python 1.1.)
The big changes from old profiling module are that you get more
information, and you pay less CPU time. It's not a trade-off, it's a
trade-up.
To be specific:
\begin{description}
\item
[Bugs removed:]
Local stack frame is no longer molested, execution time is now charged
to correct functions.
\item
[Accuracy increased:]
Profiler execution time is no longer charged to user's code,
calibration for platform is supported, file reads are not done
\emph
{
by
}
profiler
\emph
{
during
}
profiling (and charged to user's code!).
\item
[Speed increased:]
Overhead CPU cost was reduced by more than a factor of two (perhaps a
factor of five), lightweight profiler module is all that must be
loaded, and the report generating module (
\module
{
pstats
}
) is not needed
during profiling.
\item
[Recursive functions support:]
Cumulative times in recursive functions are correctly calculated;
recursive entries are counted.
\item
[Large growth in report generating UI:]
Distinct profiles runs can be added together forming a comprehensive
report; functions that import statistics take arbitrary lists of
files; sorting criteria is now based on keywords (instead of 4 integer
options); reports shows what functions were profiled as well as what
profile file was referenced; output format has been improved.
\end{description}
%
\section{How Is This Profiler Different From The Old Profiler?}
%
\nodename{Profiler Changes}
%
%
(This section is of historical importance only; the old profiler
%
discussed here was last seen in Python 1.1.)
%
%
The big changes from old profiling module are that you get more
%
information, and you pay less CPU time. It's not a trade-off, it's a
%
trade-up.
%
%
To be specific:
%
%
\begin{description}
%
%
\item[Bugs removed:]
%
Local stack frame is no longer molested, execution time is now charged
%
to correct functions.
%
%
\item[Accuracy increased:]
%
Profiler execution time is no longer charged to user's code,
%
calibration for platform is supported, file reads are not done \emph{by}
%
profiler \emph{during} profiling (and charged to user's code!).
%
%
\item[Speed increased:]
%
Overhead CPU cost was reduced by more than a factor of two (perhaps a
%
factor of five), lightweight profiler module is all that must be
%
loaded, and the report generating module (\module{pstats}) is not needed
%
during profiling.
%
%
\item[Recursive functions support:]
%
Cumulative times in recursive functions are correctly calculated;
%
recursive entries are counted.
%
%
\item[Large growth in report generating UI:]
%
Distinct profiles runs can be added together forming a comprehensive
%
report; functions that import statistics take arbitrary lists of
%
files; sorting criteria is now based on keywords (instead of 4 integer
%
options); reports shows what functions were profiled as well as what
%
profile file was referenced; output format has been improved.
%
%
\end{description}
\section
{
Instant Users Manual
\label
{
profile-instant
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment