 |
 | Exporting Profile Data |  |
 |
 | |  |
 | CSV file |  |
 | CSV output |  |
 | Profiler data |  |
 | CSV export |  |
 |
 | |  |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8351 |
|
|
 |
Posted: Wed Nov 15, 2006 6:21 am |
|
 |
 |
 |
 |
Quote: | Nor do I have the ability to just select all the data |
You have this ability and it works the same way as in Windows Explorer.
Select first, scroll down and select last while holding down Shift key. Or click on an empty white space and drag mouse across the leftmost column to get it all selected. Finally, there is Select All in the popup  .
Regarding summary, it would not be accurate. We have only min and max time and number of hits for all the lines. We can sum their average values but it would not get average of the real execution time. It's math  To get accurate summary we'd need to make some improvements in the profiler itself and accumulate necessary data.
|
_________________ The PHP IDE team
|
 | Profiler |  |
Joined: 02 Nov 2006 |
Posts: 17 |
|
|
 |
Posted: Wed Nov 15, 2006 9:20 am |
|
 |
 |
 |
 |
Let's say I run Profiler and then click the Modules button to get summary by modules. Now what I get is each module listed on the screen and a total time figure for that module. Why would a summary of the total times for all modules be invalid arithmetic?
Further, yes I can select the whole screen ... that is from the first module down to the bottom And I can copy it and I can paste it into Excel. But here is a small sample of what I get:
Quote: | mysql.php,,,"4.9 sec",,,"100% / 0%"
mysql.php(106),168,"26.01 ms","4.4 sec","0.144 ms","880.4 ms","100% / 1%"
mysql.php(54),1,"441.8 ms","441.8 ms","441.8 ms","441.8 ms","10% / 10%"
mysql.php(61),1,"25.82 ms","25.82 ms","25.82 ms","25.82 ms","1% / 1%"
mysql.php(109),168,"0.037 ms","6.180 ms","0.002 ms","5.667 ms","0% / 0%"
mysql.php(208),256,"0.019 ms","4.926 ms","0.006 ms","0.150 ms","0% / 0%"
|
That's just from the first module of about 20. In the output I am looking at I get about 2400 lines of output that way. The first line in my quoted extract is the total and I could deal with getting that but what I'd really like what's on the screen: the module name and the total time for that module. I could even deal with adding the totals in Excel although it would be way better if the total was calculated on the screen. A lot of times what I want to do is to compare different approaches to programming my system, a number of "scenarios" and quickly be able to see how they affect the overall time. Having the total time calculated would be handy, but as I said, if I can get a manageable amount of data over to excel (just the totals by module) I could do the rest myself. Dealing with 2500 lines of output for each of a dozen "scenarios" makes it much more difficult.
Thanks again.
|
|
 |
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
|
|
|
|  |