Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Devel::Dprof is your friend

by lestrrat (Deacon)
on Aug 03, 2001 at 07:24 UTC ( [id://101876]=note: print w/replies, xml ) Need Help??


in reply to Devel::Dprof is your friend

When we moved from DB_File type data storage to SQL backend, I was so sure that the sudden performance hit was because of a slow connection and the way I was fetching the data from the backend...

Then I was suggested to use Devel::Dprof and boy, turns out it was something totally different -- it was the fact that I was converting database time into epoch time

I ended up changing the entries in the database to epoch time, and the execution time was cut down to about 1/3 of what it used to be

Yes, Devel::Dprof rocks.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://101876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-03-29 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found