NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Profile within project only


Joined: 21 Oct 2004
Posts: 81
Location: UK
Reply with quote
When profiling a complex script, is there any way to only get results that are in the currently selected project? When I profile, most of the top 30 lines are Smarty things. I don't mind Smarty function calls in my project (the Smarty require() is the single slowest line), but it shouldn't profile within libraries unless they are part of the project or workspace.

(I don't know if this is an IDE or a debugger issue, sorry if it's the wrong place.)
View user's profileFind all posts by QuboidSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
Profiler should profile script execition, therefore it should count time spent in php engine, php extensions, libraries and any other scripts involved in the execution.
If for any reason you need a particular line in the results to be excluded, just press [-] button. You can also select multiple lines, press [-], and exclude them all at once. Not a big deal.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 21 Oct 2004
Posts: 81
Location: UK
Reply with quote
It should certainly count the time, but the results shouldn't tell me about some little private method deep in Smarty unless I specifically ask to see those results. They can be removed but it's very fiddly to find and remove rogue entries every time.
View user's profileFind all posts by QuboidSend private message
Profile within project only
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic