Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Poor man's profiler
(
poormansprofiler.org
)
35 points
by
emilis_info
on Dec 28, 2009
|
hide
|
past
|
favorite
|
2 comments
petewarden
on Dec 28, 2009
|
next
[–]
Summary: Run gdb on your program, hit control-c and run 'thread apply all bt' a few times, to understand where your program is spending time.
I've actually used this a lot in the past, it's surprisingly useful!
lallysingh
on Dec 28, 2009
|
prev
[–]
If you can run your app on Linux, it'll probably run with little trouble on OpenSolaris or FreeBSD (even if it's just a VM). For profiling, dtrace is definitely worth the effort.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I've actually used this a lot in the past, it's surprisingly useful!