-
Notifications
You must be signed in to change notification settings - Fork 218
Description
Prework
- Read and agree to the code of conduct and contributing guidelines.
- If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
Description
We've got one app in test where we were seeing very slow interactive gt rendering times.
I believe the majority of this slowness came from markdown cell rendering - and when I've tried simpler reproduction projects I've generated some profvis outputs that demonstrated this:

However... in my real project, profvis is pointing to utils::packageVersion as being a significant performance issue - e.g. see:

... but I haven't yet gotten similar results in my test repro projects (yet). I'm not sure why this is - but I'll see if I can work out why "soon" - e.g. perhaps something to do with renv (used in my real project but not in my test repro one)
I'm pausing investigating this for a moment now - but thought I'd open this draft issue/PR now - is this change something gt would be interested in?
Reproducible example
- Post a minimal reproducible example so the maintainer can troubleshoot the problems you identify. A reproducible example is:
- Runnable: post enough R code and data so any onlooker can create the error on their own computer.
- Minimal: reduce runtime wherever possible and remove complicated details that are irrelevant to the issue at hand.
- Readable: format your code according to the tidyverse style guide.
Expected result
- Todo - once I get a nice repro
Session info
- Todo - once I get a nice repro