[MacPorts] #56793: Installing a port with many files appears appears hang

MacPorts noreply at macports.org
Sun May 23 12:28:23 UTC 2021


#56793: Installing a port with many files appears appears hang
-----------------------+--------------------
  Reporter:  yan12125  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.5.3
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------

Comment (by mascguy):

 Replying to [comment:6 jmroot]:
 > I doubt the array is the performance bottleneck there; seems much more
 likely to be constructing all the file objects. An interface to set the
 property for a list of files might help. But let's not act on guesses when
 it comes to performance: profile!

 Agreed, profiling is the way to go. And port `texlive-fonts-extra` makes a
 great test case!

 As a starting point, I added `ui_debug` statements to the file
 registration loop, and this is what I'm seeing: Initially things were
 quite fast. However, things gradually started slowing. And by the time we
 hit the 35,000 to 40,000th file, things start to slow dramatically.

 The registration is currently at the 60,000th file, and the process has
 gotten quite slow.

 In any case, I'll re-run this, and calculate timings. Stay tuned...

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


More information about the macports-tickets mailing list