I have used profling in an attempt to overcome speed issues with a shiny app. Amongst the problems highlighted was loading of lbraries with tidyverse (presumably because it is the largest) taking more than 4 seconds
Just loading it in a fresh session - separate from the shiny app gave the following result
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)...
system.time(library(tidyverse))
-- Attaching packages --------------------------------------- tidyverse 1.2.1 --
v ggplot2 3.2.1 v purrr 0.3.3
v tibble 2.1.3 v dplyr 0.8.3
v tidyr 1.0.0 v stringr 1.4.0
v readr 1.3.1 v forcats 0.4.0
-- Conflicts ------------------------------------------ tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
user system elapsed
2.42 0.47 4.53
These results are 10x slower than was occurring when raised as a https://github.com/tidyverse/tidyverse/issues/20 github issue some years back