octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59706] Avoid "canonicalize_file_name" on Wind


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59706] Avoid "canonicalize_file_name" on Windows
Date: Fri, 15 Jan 2021 05:10:34 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Edg/87.0.664.75

Follow-up Comment #43, bug #59706 (project octave):

Most stacks in which most of the time is spent as recorded by the Very Sleepy
profile you submitted in comment #38 look similar to this one:

ZN6octave3sys22canonicalize_file_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS6_
        liboctave-8     [unknown]       0       0x6d006f93
ZN6octave3sys22canonicalize_file_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
    liboctave-8     [unknown]       0       0x6d0078d7
ZNK6octave9load_path3addERKNS0_8dir_infoEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb
       liboctinterp-8  [unknown]       0       0x11586de
ZNK6octave9load_path6updateEv   liboctinterp-8  [unknown]       0       
0x115d2ef
ZN6octave8fcn_info12fcn_info_rep4findERKNS_12symbol_scopeERK17octave_value_list 
liboctinterp-8  [unknown]       0       0xfdcd38
ZN6octave12symbol_table14fcn_table_findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK17octave_value_listRKNS_12symbol_scopeE
 liboctinterp-8  [unknown]       0       0x129fd8f
ZN6octave12symbol_table13find_functionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK17octave_value_listRKNS_12symbol_scopeE
  liboctinterp-8  [unknown]       0       0x129fec0
ZN14octave_builtin7executeERN6octave14tree_evaluatorEiRK17octave_value_list     
liboctinterp-8  [unknown]       0       0xdabcfd
ZN15octave_function4callERN6octave14tree_evaluatorEiRK17octave_value_list       
liboctinterp-8  [unknown]       0       0xde1f9e
ZN6octave15tree_identifier10evaluate_nERNS_14tree_evaluatorEi   liboctinterp-8  
[unknown]       0       0xeaead3
ZN6octave15tree_identifier8evaluateERNS_14tree_evaluatorEi      liboctinterp-8  
[unknown]       0       0x1427f95
ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE        
liboctinterp-8  [unknown]       0       0xea9295
ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE      
liboctinterp-8  [unknown]       0       0xe9b629
ZNK6octave14tree_evaluator12at_top_levelEv      liboctinterp-8  [unknown]       
0       0xea14f4
ZN6octave14tree_evaluator4evalERSt10shared_ptrINS_19tree_statement_listEEb      
liboctinterp-8  [unknown]       0       0xe9ccad
ZN6octave11interpreter9main_loopEv      liboctinterp-8  [unknown]       0       
0x1143b02
ZN6octave11interpreter7executeEv        liboctinterp-8  [unknown]       0       
0x1147a69
ZN6octave15cli_application7executeEv    liboctinterp-8  [unknown]       0       
0x9f1857


This is a different code path than the one discussed in bug #59711.

IIUC, your proposal might work to improve the performance for the use case
described in the other bug (but less so this one).
Please, repeat it there. (If the comments are spread over different reports,
it might be difficult to retrace in the future what was done [and why] for
that specific bug.)

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59706>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]