Open benkates opened 4 years ago
profmem()
returns raw results as a data.frame. There are no visualization tools and so on, if that's what you're asking for.
I'm looking for an example of running profmem()
on the server()
function for a Shiny app and if that would even work. Doesn't matter if the result is a visual.
stats <- profmem::profmem({ expr })
will benchmark whatever R expression expr
you pass to it. I don't know how to get the Shiny server()
code to do do. Maybe this is a question for the Shiny folks? I'd expect the solution to be very similar to how it's done for profvis::profvis()
.
Hi there, I'm interested in applying this to Shiny apps - is that possible? Or would you recommend just using
profvis
?