Rahul> I need to profile a slow-running code. The problem is I cannot
Rahul> seem to find cProfile.py.
You want cProfile.c (compiled to cProfile.so).
Rahul> I am using Python 2.4.4 (#3, Feb 17 2008, 15:06:10).
cProfile was new in 2.5, but the code backports with no problem to 2.4.
John Machin wrote in news:0a8400dc-b14b-4bb9-a608-
7327fe88a...@j18g2000prm.googlegroups.com:
> Read the fantastic manual:
>
> http://docs.python.org/library/profile.html
[snip]
> cProfile is recommended for most users; it's a C extension with
> reasonable overhead that makes it suitable
John Machin wrote in news:4c8ee09e-71e2-464a-a3c0-
b630b4707...@c18g2000prh.googlegroups.com:
> Looks like our definitions of "read" differ :-)
>
Sorry. I ought to have said "skimmed" :)
I guess I am one of those guilty lazy-bums that the manual refers to under
<<>>
--
Rahul
--
http://mail
On Apr 5, 9:41 am, Rahul wrote:
> John Machin wrote in news:0a8400dc-b14b-4bb9-a608-
> 7327fe88a...@j18g2000prm.googlegroups.com:
>
>
>
> > Read the fantastic manual:
>
> >http://docs.python.org/library/profile.html
> [snip]
> > cProfile is recommended for most users; it's a C extension wi
John Yeung wrote in news:c0752f32-b0cf-4fde-
87a8-eb665252e...@k41g2000yqh.googlegroups.com:
> I believe cProfile was added in 2.5. Your best bet on 2.4 is probably
> the profile module. That is what the docs recommend.
>
Thanks John. That works. I'll use "profile" instead.
--
Rahul
--
http
On Apr 5, 8:46 am, Rahul wrote:
> I need to profile a slow-running code. The problem is I cannot seem to find
> cProfile.py.
>
> Where can I get it? Is it not included in the normal distro? I tried
> googling it up and theres tons of info on how to use it but no links for
> where to download it
On 2009-04-04 18:08, John Yeung wrote:
I believe cProfile was added in 2.5. Your best bet on 2.4 is probably
the profile module. That is what the docs recommend.
Oops, I missed that piece of information. Alternately, the OP can install
lsprof, which was cProfile's third-party incarnation bef
Robert Kern wrote in
news:mailman.3312.1238885852.11746.python-l...@python.org:
> What system are you on? Some Linux distributions put it into a
> separate package, like python-profile. The python.org Windows and Mac
> binaries should have it, though.
>
>
THanks Robert. I'm on RHEL.
Tried
I believe cProfile was added in 2.5. Your best bet on 2.4 is probably
the profile module. That is what the docs recommend.
John
--
http://mail.python.org/mailman/listinfo/python-list
On 2009-04-04 17:46, Rahul wrote:
I need to profile a slow-running code. The problem is I cannot seem to find
cProfile.py.
Where can I get it? Is it not included in the normal distro? I tried
googling it up and theres tons of info on how to use it but no links for
where to download it from.
I a
I need to profile a slow-running code. The problem is I cannot seem to find
cProfile.py.
Where can I get it? Is it not included in the normal distro? I tried
googling it up and theres tons of info on how to use it but no links for
where to download it from.
I am using Python 2.4.4 (#3, Feb 1
11 matches
Mail list logo