Skip to content

Commit 44bb6fc

Browse files
committed
remove section
1 parent e176176 commit 44bb6fc

File tree

3 files changed

+2
-61
lines changed

3 files changed

+2
-61
lines changed

README.Rmd

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -209,31 +209,3 @@ Profilers identify bottlenecks, but the do not offer solutions. It helps to lear
209209
- <https://www.r-bloggers.com/2016/01/strategies-to-speedup-r-code/>
210210
- <https://www.r-bloggers.com/2013/04/faster-higher-stonger-a-guide-to-speeding-up-r-code-for-busy-people/>
211211
- <https://cran.r-project.org/package=data.table/vignettes/datatable-intro.html>
212-
213-
## Similar work
214-
215-
### profvis
216-
217-
The [`profvis`](https://github.com/r-lib/profvis) package is easier to install than `proffer` and easy to invoke.
218-
219-
```{r, eval = FALSE}
220-
library(profvis)
221-
profvis({
222-
n <- 1e5
223-
x <- data.frame(x = rnorm(n), y = rnorm(n))
224-
for (i in seq_len(n)) {
225-
x[i, ] <- x[i, ] + 1
226-
}
227-
x
228-
})
229-
```
230-
231-
However, `profvis`-generated flame graphs can be [difficult to read](https://github.com/r-lib/profvis/issues/115) and [slow to respond to mouse clicks](https://github.com/r-lib/profvis/issues/104).
232-
233-
<center>
234-
<a href="https://r-prof.github.io/proffer/reference/figures/profvis.png">
235-
<img src="https://r-prof.github.io/proffer/reference/figures/profvis.png" alt="top" align="center" style = "border: none; float: center;">
236-
</a>
237-
</center>
238-
239-
`proffer` uses [`pprof`](https://github.com/google/pprof) to create friendlier, faster visualizations.

README.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ system.time({
7474
x <- data.frame(x = x, y = y)
7575
})
7676
#> user system elapsed
77-
#> 0.019 0.001 0.020
77+
#> 0.020 0.001 0.021
7878
```
7979

8080
Moral of the story: before you optimize, throw away your assumptions and
@@ -248,38 +248,6 @@ alternatives to try.
248248
- <https://www.r-bloggers.com/2013/04/faster-higher-stonger-a-guide-to-speeding-up-r-code-for-busy-people/>
249249
- <https://cran.r-project.org/package=data.table/vignettes/datatable-intro.html>
250250

251-
## Similar work
252-
253-
### profvis
254-
255-
The [`profvis`](https://github.com/r-lib/profvis) package is easier to
256-
install than `proffer` and easy to invoke.
257-
258-
``` r
259-
library(profvis)
260-
profvis({
261-
n <- 1e5
262-
x <- data.frame(x = rnorm(n), y = rnorm(n))
263-
for (i in seq_len(n)) {
264-
x[i, ] <- x[i, ] + 1
265-
}
266-
x
267-
})
268-
```
269-
270-
However, `profvis`-generated flame graphs can be [difficult to
271-
read](https://github.com/r-lib/profvis/issues/115) and [slow to respond
272-
to mouse clicks](https://github.com/r-lib/profvis/issues/104).
273-
274-
<center>
275-
<a href="https://r-prof.github.io/proffer/reference/figures/profvis.png">
276-
<img src="https://r-prof.github.io/proffer/reference/figures/profvis.png" alt="top" align="center" style = "border: none; float: center;">
277-
</a>
278-
</center>
279-
280-
`proffer` uses [`pprof`](https://github.com/google/pprof) to create
281-
friendlier, faster visualizations.
282-
283251
[^1]: One of the graph visualizations requires Graphviz, which you
284252
<https://www.graphviz.org/download>, but this visualization is
285253
arguably not as useful as the flame graph.

proffer.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 051f7b7f-3901-4c3c-93ae-21d7e6adf8f5
23

34
RestoreWorkspace: Default
45
SaveWorkspace: Default

0 commit comments

Comments
 (0)