Ports are faster than packages?

Ralf Mardorf ralf-mardorf at riseup.net
Mon Jun 22 15:09:53 UTC 2020


On Mon, 22 Jun 2020 14:52:25 +0100, Steve O'Hara-Smith wrote:
>On Mon, 22 Jun 2020 16:39:42 +0300
>nikitastepanov113 at yandex.ru wrote:
>
>> Ports are faster than packages?  
>
>Unless you have a very very fast build server and a slow
>connection to the world packages will generally be faster to install
>and maintain. The bigger the package the more true this is - things
>like Gnome, KDE, Firefox, LibreOffice take a lot of time and resources
>to build these days.

Even the fastest build machine would suffer from a slow Internet
connection, too ;).

Assuming the request should be related to the performance of the
software, then software build on your machine, build to fit to your
hardware, could be faster, than software provided by a package, that
needs to fit to e.g. processors with different instruction sets.

Imagine software build to apply to SSE vs software build with SSE"+".
Imagine performance must fit to hard real-time requirments. If so,
something build with an instruction set that fits to everybody's
computer, could even provide less good hard real-time results of
measurements or results in less good audio quality etc. ...

However, almost all of the times it's way faster to install a package,
than to build from source and in most cases optimisation doesn't really
matter. Even for hard real-time ability and similar corner cases, it
only sometimes might make a noticeable difference.



More information about the freebsd-questions mailing list