I often find myself working with QGIS projects that load too many layers. I'm talking about a mix of raster and vector layers, some with small file size, some very large file size. Most of them are stored and read from a central server in my office, and a few of them are read from my local PC or other PCs within the office network.
Some of the PCs where the data is stored respond fast, some take longer time to deliver the data.
Over time, as more layers are added, the loading time of the projects gets slower and slower. Removing layers from the project sounds easy, but it's not that easy in real life - it feels like I need them all at hand.
I wish I could find if there are any particular offenders that take a long time to load in QGIS. It could be because the file is large, or because they are stored in a slow PC. The chances are that there's just a few layers that take a long time to load, and removing those ones could greatly improve the loading time of the project.
That could be easily accomplished if there was a way to record the loading time of each layer when a QGIS project is opened - has anyone found a way to do that? Ideally, a script or plugin that writes a *.txt or *.csv file with the name of each layer loaded and the time in seconds it took to load it.