hadley / profr
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
aa10542
profr / ANNOUNCE
| 5a390437 » | hadley | 2008-05-02 | 1 | profr 0.1 ---------------------------- | |
| 2 | |||||
| 3 | profr provides an alternative data structure and display for profiling data. It still uses Rprof() to collect the data, but outputs a data.frame which should be easier to manipulate. It also implements a novel visualisation which allows you to see the length of each call, as well as the context in which it was called. | ||||
| 4 | |||||
| 5 | To get started, try: | ||||
| 6 | |||||
| 7 | install.packages("profr") | ||||
| 8 | library(profr) | ||||
| 9 | p <- profr(my.slow.function()) | ||||
| 10 | plot(p) | ||||
| 11 | |||||
| 12 | Two built in examples are: | ||||
| 13 | |||||
| 14 | plot(nesting_prof) | ||||
| 15 | plot(reshape_prof) | ||||
| 16 | |||||
| 17 | (and the second has helped me to considerably speed up (5-20x) the development version of reshape) | ||||
| 18 | |||||
| 19 | Regards, | ||||
| 20 | |||||
| 21 | Hadley | ||||
| 22 | |||||
| 23 | -- | ||||
| 24 | http://had.co.nz/ | ||||

