Comments (16)
So... I turned off all of the shell extensions that were third party and it didn't improve the load times at all. Indexing did improve the load times on me. I do wish there was a better way to load anything that isn't indexed. Especially since the hard drive (in my current laptop) is connected to the SATA slot that was the DVD drive before. True, HDDs aren't as demanding as SSDs in bandwidth but combined with the power settings (since the hard drive can also go to sleep mode or turn itself off) the delay may fluctuate.
from windows-dev-performance.
It's a feature that analyzes the folder and try to find out which view mode is best to view the current folder. You can't disable it from what I could google. So I installed another explorer called explorer++. And it works very well since it's very very fast and it looks like the normal windows explorer, so there isn't much of a learning curve. It's also open source so you can feel safe that there isn't any malicious code inside it. You can download it on explorerplusplus.com
from windows-dev-performance.
I'm having a similar issue with a ~400-file folder (it's the folder where I dump my gameplay recordings). It's a mix of H.264 media files, H.265 media files, and a couple of PNGs (the last from accidentally hitting ReLive's screenshot hotkey while playing games). It's about 65gb of media files in total.
Loading it takes a long time (around 2 minutes), which is very impractical if I want to quickly share something from here.
This is a video of the folder loading: https://yiff.forsale/GiganticBowedEmboar.mp4
The folder where I store my Steam screenshots has this problem, but less pronounced: https://imgur.com/tlQaEmI
The only third party shell extensions I have are IconViewer, TC4Shell and the Radeon Software shell extension, none of which should have anything to do with media previews:
I installed no third party codecs.
from windows-dev-performance.
How is this still an issue three years later? Microsoft! What is going on?
from windows-dev-performance.
I found the solution for the problem here: https://www.youtube.com/watch?v=t2eN3kq2Dm8
Can confirm this works. In the folder, Right Click -> Properties -> Customize -> Optimize this folder for: "General Items".
The youtube video comments that his video folder takes ages to open "because it's trying to calculate the lengths of all the videos". If that is the true cause, seems like that should be something that can be sped up or cached at least.
from windows-dev-performance.
@acemod Normally, file explorer will only try to gather information about the items that are currently visible and pre-fetch some more in case you want to scroll in either direction, so having a large number of files shouldn't affect performance too much. However, the shell is extensible by 3rd parties, and one often finds that these extensions can end up slowing down the UI. It would be good to know what kind of shell extensions you have installed in order to narrow down the culprit. My guess is that one of the codecs you might have installed is trying to extract information from a file on the UI thread and is taking a long time. There are 3rd party apps such as shellexview that you could use to try to narrow down what might be causing this issue.
from windows-dev-performance.
Well... the only codec I had installed is Xiph.org's Codecs installed (not counting the codecs that are on the Microsoft Store). I removed and it didn't do anything. I'm going to check the other extensions I have installed. Looking at the list in Shellxview, I don't see anything that could affect media files in File Explorer. I'll attach the list of extensions I have, just in case.
3rdpartyextensions.txt
Side-note: I wonder if it's possible to move the fetching data to a background thread. Granted, it could break some extensions, but that could alleviate the issue by a lot. I didn't make any shell extensions myself, but it could be a good idea.
from windows-dev-performance.
@sylveon shell extensions can negatively affect performance for files other than the ones they purport to add functionality to, so one thing would be to disable all those temporarily and see if load times improve. The main thing though is I noticed those folders are not the usual user videos/pictures folders, so they aren't indexed by default. Can you turn on Indexing for these folders and let things run for a bit until they get indexed and report back? you should see improved load times that way.
from windows-dev-performance.
Adding them to the system index did not help unfortunately.
from windows-dev-performance.
I am experiencing this as well with my folders full of recorded video. No shell extensions that I am aware of.
from windows-dev-performance.
Thanks for the tip!
It's a feature that analyzes the folder and try to find out which view mode is best to view the current folder.
Perhaps the display mode could be cached instead of re-analyzing every single time the folder is opened? (And why does it take 2+ minutes to see that 100/100 files in the folder are .MP4 or whatever? That should be instantaneous.)
from windows-dev-performance.
I agree. The caching of the view would be ideal! But I don't think it's on the top of the list of todo's in Microsoft list of fixes. Especially that they are now throwing all their resources at AI development. So until then we might need to find another solution.
from windows-dev-performance.
I found the solution for the problem here:
https://www.youtube.com/watch?v=t2eN3kq2Dm8
from windows-dev-performance.
I found the solution for the problem here: https://www.youtube.com/watch?v=t2eN3kq2Dm8
Can confirm this works. In the folder, Right Click -> Properties -> Customize -> Optimize this folder for: "General Items".
Sorry: this is a workaround, not the proper solution.
from windows-dev-performance.
UPDATE: See my next comment
I noticed the same thing, it takes a while even with just about a hundred files. One useful distinction though: I noticed it on my Captures folder where I was recording video using the xbox game bar, but only after conversion to HEVC. My script keeps the originals in a different folder in case I need them, so:
Originals folder: >80 files, all H.264, on open and refresh listing displays instantly and timestamps appear asynchronously on visible items only.
Captures folder: ~115 files, all HEVC (H.265), on open and refresh listing remains blank for about 10-15 seconds (with only the "Working on it..." message), then files shows up with all their timestamps pre-loaded.
There is clearly an issue where Explorer processes HEVC files differently, in a non-asynchronous way. This is a work computer and I keep a thigh control on installed 3rd party software, and avoid in particular anything that adds 3rd party shell extensions.
from windows-dev-performance.
Actually scratch my last comment. I renamed the Captures
folder to Captures-old
, still inside Videos
,and file info started loading asynchronously and it was back to being very fast. It's the same for subdirectories created inside Captures
.
Then I recreated a new Captures
folder and moved the videos back there, the old behavior returned.
IT appears to be tied to the path, not even the folder settings,and I could not see any different settings between the two folders in Explorer settings... I'm looking into the registry now but my hopes are slim.
from windows-dev-performance.
Related Issues (20)
- PROCESSOR_POWER_INFORMATION.CurrentMhz no longer shows CurrentMhz HOT 7
- Throttling detection needed in Windows HOT 5
- Symbol server PE files are being overwritten with different versions HOT 13
- WinDbg's `dU` command is painfully slow HOT 4
- Merge module validation in Orca fails on well-formed merge module
- NT heap scales horrendously in some cases HOT 2
- Set up your dev environment on Windows for Rust HOT 2
- PrefetchVirtualMemory does not prefetch virtual memory (windows api bug) HOT 1
- Explorer leaks resources over a long time HOT 2
- Configuring RDP with MSA is impossible using the RDP Developer Menu HOT 1
- Argon containers use only weak cores on systems with heterogeneous CPUs HOT 4
- Extremely slow Context Menu launch in Windows Explorer HOT 2
- Unexpected Sleep(1) Precision with Different Clock Interrupt Frequencies (Timer Resolution) HOT 3
- Dev drive has vanished HOT 3
- Windows incorrectly schedules utility QoS threads exclusively to E-cores when running on AC power
- Alt + Tab Sometimes Skips over the Last Window
- Alt+tab issue when in full-screen app HOT 2
- Can't Pinpoint What to do with Error PR175 with Visual Studio HOT 2
- "Must define a target architecture" issue from winnt.h when included by `.rc` files HOT 7
- Consistent CPU performance for benchmarking HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-dev-performance.