Skip to content

Data view fails to display leaf nodes #84

@wch

Description

@wch

(This is related to #83.) For example, see http://rpubs.com/wch/294546

In the flame graph, you can see that there are seven time samples. All of the samples have runif on top of the call stack, as can be seen in the flame graph. In the data viewer, however, there are no entries for runif.

Here's the code. If you run it and there happens to be a <GC> above a runif in the flame graph, then the runif will show up in the data viewer (but the <GC> won't).

profvis({
  fa <- function() {
    fb()
  }
  
  fb <- function() {
    runif(1e6)
  }

  fa()
  
  fb()
})

@javierluraschi Was this behavior intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions