r-prof / jointprof

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

Record call stack trees #34

Open krlmlr opened 6 years ago

krlmlr commented 6 years ago

to make sure that execution time is attributed correctly in case of deferred/lazy evaluation. This seems to require rewriting R's profile recording routine.

https://github.com/r-lib/lobstr#call-stack-trees

Example where this went wrong: https://github.com/patperry/r-utf8/issues/8#issuecomment-402456433.