unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org>
To: "W. T. Meyer" <w@wmeyer.eu>
Cc: guix-devel@gnu.org
Subject: Re: Guix / Nix Benchmarks
Date: Tue, 20 Jun 2023 16:48:52 +0200	[thread overview]
Message-ID: <87352mur3f.fsf@ngraves.fr> (raw)
In-Reply-To: <87a5wujsp6.fsf@wmeyer.eu>

On 2023-06-20 12:45, W. T. Meyer wrote:

> Hi,
>
> Nicolas Graves via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org> writes:
>
>> One of the criticism that can be read online about Guix (compared to
>> Nix) is its speed.
>
> I am using guix as well as nix, and depending on the operation you're
> performing there's not much of a noticeable difference (I usually tend
> to build packages from source, so for most of the build process it
> doesn't really matter what, as in guix or nix, calls the corresponding
> build-system; as that's not too relevant during the build process in
> terms of time relevance).
>
> However, the download speed from the official substitute servers is
> noticeable slower; but that's to be expected considering the resources^1
> NixOS is allocating towards their binary/build caching efforts.
>
>> I have never tried Nix and probably won't in a near
>> future, but I was wondering if some work has been made to compare them
>> on basic tasks (package installation, removal...) (the reason why I ask
>> is to be able to give an honest answer to someone hesitating between
>> both).
>
> I'd personally advise against over-priotizing raw performance of package
> management tasks as a feasible metric to choose a package manager by; as
> having a "good enough" (which is highly subjective) performance should
> be enough. In this context it'd be probably more helpful to have a look
> at nix vs. guix cli tooling and nix as a language vs. guile basing your
> decision upon that.

I fully agree with this statement, over-priotizing raw performance was
not my point, and I won't change myself. I agree with the fact that
having a fair comparison would first require comparing tooling, although
I also think that keeping an eye on performance is not a waste either.

Then the "best" actual comparison might be the one done by Andrew Tropin
a few years ago, right here :
https://gist.github.com/abcdw/e54807b0a25e61fe2cf1bf8991410f83

Maybe we could get in touch with some nix folks to try to update, enrich
and maintain this kind of comparison up-to-date?

(I've seen that some nice reviewing has been done on NixOS by linux
"influencers" during the last week, and would like to also see Guix
benefit from that. Although both are not in competition, a fair and
shared comparison might help Guix grow in the space of Linux
distributions.)

>
> Regards,
>
> Wilko Meyer
>
> [1]: https://discourse.nixos.org/t/the-nixos-foundations-call-to-action-s3-costs-require-community-support/28672

-- 
Best regards,
Nicolas Graves


  reply	other threads:[~2023-06-20 14:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-19 12:54 Guix / Nix Benchmarks Nicolas Graves via Development of GNU Guix and the GNU System distribution.
2023-06-19 18:55 ` kiasoc5
2023-06-20  5:24   ` Csepp
2023-06-20  9:14   ` Efraim Flashner
2023-06-20 10:45 ` W. T. Meyer
2023-06-20 14:48   ` Nicolas Graves via Development of GNU Guix and the GNU System distribution. [this message]
2023-07-02 20:30     ` Ludovic Courtès
2023-07-02 21:42   ` Ricardo Wurmus
2023-07-02 22:02     ` Wilko Meyer
2023-07-03  6:17       ` Ricardo Wurmus
2023-08-19 12:11 ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87352mur3f.fsf@ngraves.fr \
    --to=guix-devel@gnu.org \
    --cc=ngraves@ngraves.fr \
    --cc=w@wmeyer.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).