-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stacks sometimes show profvis
#130
Comments
Updated link: https://r-lib.github.io/profvis/examples.html#example-2 I still see the problem when running locally, which surprises me because I thought the callstack simplification would have fixed this problem. This will need a bit more exploration profvis::profvis({
data <- data.frame(value = runif(5e4))
data$sum[1] <- data$value[1]
for (i in seq(2, nrow(data))) {
data$sum[i] <- data$sum[i-1] + data$value[i]
}
}) |
Actually probably related to |
The problem is that Looking at the call stack inside
|
I wonder if we could record the call stacks just once, rather than having to do it every time. The only downside would be if folks are nesting profvis inside other calls, but that's probably rare? |
Radically simpler approach to stripping irrelevant stack. Fixes #130
I just rebuild the docs, and noticed that
profvis
and thetryCatch
stuff shows up in many of the stacks.https://rstudio.github.io/profvis/examples.html#example-2
The text was updated successfully, but these errors were encountered: