[Bug 236815] devel/glib20: loops over all possible file descriptors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 20 00:03:05 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236815

Peter Niitenberg <peter.niitenberg at pontech.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter.niitenberg at pontech.eu

--- Comment #6 from Peter Niitenberg <peter.niitenberg at pontech.eu> ---
Created attachment 205914
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205914&action=edit
patch against glib20 in ports.

Hi,

while trying to understand why the performance of xfce4 (especially
xfce4-appfinder) was poor on my system I discovered the same bug as the
reporter of thuis bug. I created the attached patch to test whether I could get
any significant performance gains by using the sysctl api to enumerate file
descriptors. 

Before patch:
  - start time of xfce4-appfinder >3s.

After patch:
  - start time of xfce4-appfinder <1s (instant).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list