GNU bug report logs -
#64735
29.0.92; find invocations are ~15x slower because of ignores
Previous Next
Full log
Message #62 received at 64735 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> No. It uses less excessive regexp matching Emacs is trying to do in
>> file-name-handler-alist.
>
> Where do you see regexp matching in the profiles you provided?
I did the analysis earlier for `directory-files-recursively'. See
https://yhetil.org/emacs-devel/87cz0p2xlc.fsf <at> localhost/
Just to be sure, here is perf data for
(ignore (let ((gc-cons-threshold most-positive-fixnum)) (benchmark-progn (find-lisp-find-files "/home/yantar92/.data" ""))))
54.89% emacs emacs [.] re_match_2_internal
10.19% emacs emacs [.] re_search_2
3.35% emacs emacs [.] unbind_to
3.02% emacs emacs [.] compile_pattern
3.02% emacs emacs [.] execute_charset
3.00% emacs emacs [.] process_mark_stack
1.59% emacs emacs [.] plist_get
1.26% emacs emacs [.] RE_SETUP_SYNTAX_TABLE_FOR_OBJECT
1.17% emacs emacs [.] update_syntax_table
1.02% emacs emacs [.] Fexpand_file_name
Disabling `file-name-handler-alist' cuts the time more than 2x.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
This bug report was last modified 1 year and 273 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.