https://bugs.kde.org/show_bug.cgi?id=422306

--- Comment #4 from MountainX <davestechs...@gmail.com> ---
> the problem should be obvious using a flamegraph tool such as 
> https://github.com/KDAB/hotspot

This looks interesting. A lot of it is over my head, but I am willing to give
it a try.

>  pay attention to its caveat (super user rights)

I don't understand the steps at
https://github.com/KDAB/hotspot#recording-with-perf-without-super-user-rights

Here are some questions I have:

>>  This is achieved by applying these steps, bundled into a script that is run 
>> via kdesudo or kdesu. 

Do I run `kdesudo elevate_perf_privileges.sh` before launching the HotSpot
tool?

> Using Hotspot: First of all, record some data with perf. To get backtraces, 
> you will need to enable the dwarf callgraph mode: 
>> perf record --call-graph dwarf <your application>

What are the exact steps I would need to do? Is this correct?
1. kdesudo elevate_perf_privileges.sh
2. perf record --call-graph dwarf dolphin
3. open the HotSpot GUI?

> It would need the debug symbols still to be useful

I don't think I will be able to compile packages from source. Is it still worth
doing any of this? 

I will proceed even without debug symbols if this will allow me to see if
Dolphin is being slowed by a configuration in my user profile (such as some *rc
file) or by something like a large list of recently used files, etc. If the
information will be granular enough to allow me to learn something, I will
proceed to investigate even without being able to compile the executable with
debug symbols. On the other hand, if it is a complete waste of my time, let me
know and we'll have to hope somebody with more skills can provide the debug
info.

> How many files or folders does your home folder contain?
183 at level 1 using 'wc -l'
Setting Dolphin to open at another location doesn't affect the issue.

> Does this happen when dolphin or the kde file dialog open any directory at 
> launch ?

Yes.

> Do you have many symlinks in your home ?

No.

> Do you have network drives ? If yes how many ?

Yes. Around 10 NFS mounts.

> Is it reproducible under Wayland ?

I can't answer that.

> Do you use Arch as well ? With same version ?

Yes, I am running Arch. My current Dolphin version is 20.04.1.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to