|
From: | Michael D Godfrey |
Subject: | Re: Profiler already proving useful |
Date: | Fri, 22 Jul 2011 20:07:39 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Thunderbird/3.1.11 |
On 07/22/2011 12:15 PM, Daniel Kraft wrote:
Daniel,Hi Rik, On 07/22/11 20:39, Rik wrote:https://savannah.gnu.org/bugs/?33680) where the user complained of really lengthy run times. He had narrowed it down to a call to regexp() and replacing it with strsplit seemed to improve matters. Just for fun, I decided to try the profiler and see what it thought. Even without GUIs to look over the data, it pointed the finger at an entirely different function, strtrim(). Sure enough, I replaced strtrim with a call to regexprep and got a 15X speedup.I wanted to let you know that the profiler is already proving useful. I was taking a look at this issue report ( Just want to add my congratulations. I gave profile a first try: worked perfectly! I do not know if profshow is a "GUI" but it seems it will work just fine for me. Do not worry about GUIness just keep making stuff that works. You seem to have gotten a lot done this Summer already. Google should be impressed, too. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |