1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:38:10 +00:00
serenity/Userland/Applications/SpaceAnalyzer
Mart G f70d0f03de SpaceAnalyzer: Use fstatat instead of lstat
By using fstatat during file system analyzation instead of lstat, we
reduce the amount of work the kernel has to do for each stat call.

During profiling it came up that the kernel was spending a lot of time
resolving paths. Because each call to stat passed an absolute path the
kernel had to do the same work over and over again.

When using relative paths the kernel only has to resolve the relative
part as it can reuse the already resolved path of the base directory.
2021-05-14 23:32:10 +02:00
..
CMakeLists.txt SpaceAnalyzer: Added context menu for nodes 2021-02-21 23:47:49 +01:00
main.cpp SpaceAnalyzer: Use fstatat instead of lstat 2021-05-14 23:32:10 +02:00
SpaceAnalyzer.gml Everywhere: It's now "Foobar", not "FooBar", and not "foo bar" 2021-04-13 16:58:15 +02:00
TreeMapWidget.cpp LibGUI: Move widget registration to LibCore 2021-05-06 08:50:39 +02:00
TreeMapWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00