Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

yappi - any thoughts?

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


sumerc at gmail

Oct 30, 2009, 12:07 AM

Post #1 of 2 (265 views)
Permalink
yappi - any thoughts?

Hi there,

yappi(Yet Another Python Profiler) is a multithreaded profiler for 2.x
series(do not know if it will work on 3k, not tested yet). I have done my
best to make it efficient as possible.(details are under the technical
bullet in the website). It is aimed for long-running programs, to
attach/detach profiler and retrieve stats on the fly. The current cProfile
module needs substantial amount of work to accomplish this task and also
have some problems with recursive functions, basically that is why I have
written a profiler from scratch.

yappi is currently(v0.2) modifying the profilefunc variable fo the
ThreadState object to profile an exsiting thread. The newly created threads
are catched via threading.setprofile() call(from VM to our extension). And
for the deleted threads, we rely on the recycling of the ThreadState
objects.(Please see the website for details.)

I have tested it under a game server (100k players per-day) for about a
month for any issues and now releasing it.

Please see:

http://code.google.com/p/yappi/

Any thoughts/comments/ideas, anything?:)

--
Sumer Cip


martin at v

Oct 30, 2009, 2:02 AM

Post #2 of 2 (233 views)
Permalink
Re: yappi - any thoughts? [In reply to]

> Any thoughts/comments/ideas, anything?:)

Announce it to comp.lang.python.announce if you haven't done so, yet.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.