[MacPorts] #56793: macports base: installing a port with many files appears to hang; file registration loop slows dramatically for file counts > 10,000

MacPorts noreply at macports.org
Sun May 23 21:42:10 UTC 2021


#56793: macports base: installing a port with many files appears to hang; file
registration loop slows dramatically for file counts > 10,000
-----------------------+----------------------
  Reporter:  yan12125  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.7.0
Resolution:            |   Keywords:
      Port:            |
-----------------------+----------------------

Comment (by mascguy):

 The full port install log, containing timings, is attached; filename:
 port-install-texlive-fonts-extra-install-timing-log.txt.gz

 Comparing the runtime of line `set fileref [registry::file open [$regref
 id] $f]` from the first two files, to the last:

 {{{
 :msg:install Registering files - START
 :debug:install Registering file: /opt/local/share/texmf-
 texlive/fonts/vf/rozynski/comicneue/ComicNeueAngular-tlf-t1.vf
 :debug:install File Time: open: 231, binary: 55
 :debug:install Registering file: /opt/local/share/texmf-
 texlive/fonts/type1/public/hfbright/hfbrmi8.pfb
 :debug:install File Time: open: 57, binary: 30
 [...]
 :debug:install Registering file: /opt/local/share/texmf-
 texlive/fonts/tfm/google/roboto/RobotoCondensed-BoldItalic-tlf-sc-ly1.tfm
 :debug:install File Time: open: 38728, binary: 153
 :debug:install Registering file: /opt/local/share/texmf-
 texlive/fonts/tfm/public/ebgaramond/EBGaramond-Bold-osf-sc-lgr.tfm
 :debug:install File Time: open: 38677, binary: 144
 :msg:install Registering files - END
 :msg:install Total Time: open: 1669120474, binary: 11160268
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56793#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list