[MacPorts] #34561: port list is slow
#34561: port list is slow ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: base | Version: 2.1.1 Keywords: | Port: ------------------------------------------+--------------------------------- The port list command is amazingly slow. It seems like too much processing is occurring. I'd supply a patch but I don't know Tcl and I don't have time to learn it. Here's an example: {{{ port list py24* }}} -- Ticket URL: <https://trac.macports.org/ticket/34561> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34561: port list is slow --------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: base | Version: 2.1.1 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by egall@…): Doing the example in the OP with `time`: {{{ real 2m4.779s user 1m39.087s sys 0m4.648s }}} -- Ticket URL: <https://trac.macports.org/ticket/34561#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#34561: port list is slow --------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Low | Milestone: Component: base | Version: 2.1.1 Resolution: wontfix | Keywords: Port: | --------------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => wontfix Comment: That's because `port list` runs Portfiles. If you just want the names, you can use `port echo` instead. See wiki:FAQ#portlist. Unfortunately, there is no magic switch to flip to make executing Portfiles much faster :( -- Ticket URL: <https://trac.macports.org/ticket/34561#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts