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
85477afc
Kaydet (Commit)
85477afc
authored
Eyl 04, 2009
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove backwards compatibility stuff from profile/cProfile.
üst
395ed245
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
cProfile.py
Lib/cProfile.py
+0
-5
profile.py
Lib/profile.py
+0
-7
No files found.
Lib/cProfile.py
Dosyayı görüntüle @
85477afc
...
...
@@ -56,11 +56,6 @@ def runctx(statement, globals, locals, filename=None):
result
=
prof
.
print_stats
()
return
result
# Backwards compatibility.
def
help
():
print
(
"Documentation for the profile/cProfile modules can be found "
)
print
(
"in the Python Library Reference, section 'The Python Profiler'."
)
# ____________________________________________________________
class
Profile
(
_lsprof
.
Profiler
):
...
...
Lib/profile.py
Dosyayı görüntüle @
85477afc
...
...
@@ -92,11 +92,6 @@ def runctx(statement, globals, locals, filename=None):
else
:
return
prof
.
print_stats
()
# Backwards compatibility.
def
help
():
print
(
"Documentation for the profile module can be found "
)
print
(
"in the Python Library Reference, section 'The Python Profiler'."
)
if
os
.
name
==
"mac"
:
import
MacOS
def
_get_time_mac
(
timer
=
MacOS
.
GetTicks
):
...
...
@@ -588,8 +583,6 @@ class Profile:
return
mean
#****************************************************************************
def
Stats
(
*
args
):
print
(
'Report generating functions are in the "pstats" module
\a
'
)
def
main
():
usage
=
"profile.py [-o output_file_path] [-s sort] scriptfile [arg] ..."
...
...
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