Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

oo7ml

macrumors 6502
Original poster
Jan 20, 2010
259
0
Hi,

I want to test how long certain database queries and processes are taking on my app. Can anyone recommend a good packet sniffer that would allow me to find out this information, thanks in advance.
 
Hi,

I want to test how long certain database queries and processes are taking on my app. Can anyone recommend a good packet sniffer that would allow me to find out this information, thanks in advance.

I don't think you really want a packet sniffer from what you have said. It sounds like you want to use Instruments to profile your application. This will give you detailed information on how long each process takes and other useful information such as if you have memory leaks. It can also profile networking data and I/O information as well.

Database query profiling should really be done on the database server itself. What database are you using? MySQL? PostgreSQL? Each database has its own tools for profiling queries.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.