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
7bdc484c
Kaydet (Commit)
7bdc484c
authored
Eyl 20, 2003
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #808362: Fix typos.
üst
8f81c93b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
libtimeit.tex
Doc/lib/libtimeit.tex
+1
-1
libunittest.tex
Doc/lib/libunittest.tex
+1
-1
timeit.py
Lib/timeit.py
+1
-1
No files found.
Doc/lib/libtimeit.tex
Dosyayı görüntüle @
7bdc484c
...
...
@@ -122,7 +122,7 @@ The default timer function is platform dependent. On Windows,
\function
{
time.time()
}
's granularity is 1/60th of a second; on
\UNIX
,
\function
{
time.clock()
}
has 1/100th of a second granularity and
\function
{
time.time()
}
is much more precise. On either platform, the
default timer functions measure
s
wall clock time, not the CPU time.
default timer functions measure wall clock time, not the CPU time.
This means that other processes running on the same computer may
interfere with the timing. The best thing to do when accurate timing
is necessary is to repeat the timing a few times and use the best
...
...
Doc/lib/libunittest.tex
Dosyayı görüntüle @
7bdc484c
...
...
@@ -769,7 +769,7 @@ be of interest when inspecting the results of running a set of tests:
The following methods of the
\class
{
TestResult
}
class are used to
maintain the internal data structures, and m
m
ay be extended in
maintain the internal data structures, and may be extended in
subclasses to support additional reporting requirements. This is
particularly useful in building tools which support interactive
reporting while tests are being run.
...
...
Lib/timeit.py
Dosyayı görüntüle @
7bdc484c
...
...
@@ -33,7 +33,7 @@ The difference in default timer function is because on Windows,
clock() has microsecond granularity but time()'s granularity is 1/60th
of a second; on Unix, clock() has 1/100th of a second granularity and
time() is much more precise. On either platform, the default timer
functions measure
s
wall clock time, not the CPU time. This means that
functions measure wall clock time, not the CPU time. This means that
other processes running on the same computer may interfere with the
timing. The best thing to do when accurate timing is necessary is to
repeat the timing a few times and use the best time. The -r option is
...
...
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