On Wed, May 08, 2002 at 09:07:09AM -0400, Lovelace, Dafina wrote: > Greetings All! > > I am using the Benchmark module in my code, trying to time a specific sub > function. Does anyone know how to get milli/micro seconds (or anything > smaller than a second) to show up when I print to the log file using the > timestr command? > > If you know of another module or command that I should be using to get > smaller time frames than a second please let me know.
What you are doing sounds more like profiling than benchmarking. Head over to search.cpan.org and search for "prof". You'll probably want to consider Devel::DProf and Devel::SmallProf as a minimum. You've probably already got Devel::DProf. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]