r-prof / jointprof

Joint profiling of native and R code
https://r-prof.github.io/jointprof/
Other
55 stars 6 forks source link

Improve profiling of recursive functions #15

Closed krlmlr closed 6 years ago

krlmlr commented 7 years ago

Example call tree:

a
  b
    c
      a
        d
        b
          c
            a
              b

Simplify to three call trees:

a
  b
    c
a
  d
  b
    c
a
  b
krlmlr commented 7 years ago

Need to weight the new sub-trees.

krlmlr commented 6 years ago

This is a non-issue when call graphs are used.