From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IP1JKnrkiWTi+wAASxT56A (envelope-from ) for ; Wed, 14 Jun 2023 18:02:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IB6DKnrkiWS6TwAAauVa8A (envelope-from ) for ; Wed, 14 Jun 2023 18:02:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 510C710285 for ; Wed, 14 Jun 2023 18:02:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9Svi-0004O2-9y; Wed, 14 Jun 2023 12:01:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9Sve-0004Ms-Qb for bug-guix@gnu.org; Wed, 14 Jun 2023 12:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9Sve-0004lI-Ha for bug-guix@gnu.org; Wed, 14 Jun 2023 12:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9Sve-0002Vt-DF for bug-guix@gnu.org; Wed, 14 Jun 2023 12:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63986: Julia is very slow Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 14 Jun 2023 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63986 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cayetano Santos Cc: 63986@debbugs.gnu.org, Nicolas Graves , Efraim Flashner , Simon Tournier Received: via spool by 63986-submit@debbugs.gnu.org id=B63986.16867584254925 (code B ref 63986); Wed, 14 Jun 2023 16:01:02 +0000 Received: (at 63986) by debbugs.gnu.org; 14 Jun 2023 16:00:25 +0000 Received: from localhost ([127.0.0.1]:45212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9Sv3-0001Fz-38 for submit@debbugs.gnu.org; Wed, 14 Jun 2023 12:00:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9Sv1-0000v5-0J for 63986@debbugs.gnu.org; Wed, 14 Jun 2023 12:00:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9Sut-0004c8-EG; Wed, 14 Jun 2023 12:00:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=w4scQW22TYPgAXDlnfE5s4yeo5djIfRebO1KcToSuMk=; b=Heab+TdQHx6L3yCvuVFl Sy3t9wZ/366YOBf2rYywIoDaGwdJEsxXLhBITa5t3DfPXsRlqmmMfNmoCytJVTY5EKQwUKpq/NwvO aBDw5c806pdrAxN94oQLiSiiWCEQRKNvCa/cBUhvBuXU8UnXoRHhk41hjeKgQf7Dov9CfFiLfDY6J HTJAUjAtNwBlO4Yn5RgR/dKGFnvbpv+7shijbQYMN8xX+iZ1TLS7GXKc2BmW48ThxFuYfGKSgR+Vt v/vQHbhYijnDjE6P2sm1+kdaLOy/nPNd2gUf3A/hy67n3LDcKNpwltfRKWJpsREf9Iyor74+BkmKa fiEF2sM7Fww5WA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9Sun-0003fY-OU; Wed, 14 Jun 2023 12:00:14 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87legsl3cm.fsf@inventati.org> Date: Wed, 14 Jun 2023 18:00:07 +0200 In-Reply-To: <87legsl3cm.fsf@inventati.org> (Cayetano Santos's message of "Fri, 09 Jun 2023 23:42:00 +0200") Message-ID: <87jzw6rq48.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686758522; a=rsa-sha256; cv=none; b=DuvJtZUXewdeTIMwBS9JdsC+NAalnkdOztdvjzqGPvG4mu2cvahToCvRGdu+i9yThs4Hjs mNPgbb9m7y5E4PZ2ko5lsYmG3pC14kO+sWgNGih6dH1hwvQ2vMegsbDCma6IpAqhnodSAA YmCHN3RSL5tspOyXe3CekUwtL5oNHiJ7zqiw+CUfFkZNyyLK5X6fdmVClZ1d8x2/HK2hZV e7pxHC1jzXL0yDcKAQaQvDaDFB1LApg/GwcbFeCYzkVwDHOPz6qmKiM//B/N+d2Bd+9xCx Uwy2DYCuCMIMFe5fBgHUfeS3Xdu0XrXrybBHyAulI+TVzH1QakLrSkaVUxoldA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Heab+TdQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686758522; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=w4scQW22TYPgAXDlnfE5s4yeo5djIfRebO1KcToSuMk=; b=rszyj9MPRcMP1mMHShRoZzRTCwGqMe9h6pVlFZniK72ipa1pPxbW1qq9CcsnFPqfxgVPtE 0r+BSH+kCnGFDbjWhGU9QAJdFikjf2ptI1CEFk89b1eSouqxCJIcJHmr0SMJm8FnxOfaUc QJtNRa1UATv25e0AQ9qt+Pb9PcvcncPGiYm5Vf/GyM+qrPYLa0SL4ZVC4ZlzAznCARBeCG TPMiTBQ5ZWp6nxSl78Kx/CPckL82pPjmYCfEUaLFlWHzkX0VWDpopyVR0MvCAwEEjpNhuT kmnzbvd+euFEDxzgZ7famNeaib+WCPT7Iux0sQfA4GSwDkUGTMpZ5YrWuzsFkg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Heab+TdQ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.73 X-Spam-Score: -3.73 X-Migadu-Queue-Id: 510C710285 X-TUID: 1PBG2BwPLEuD Hi Cayetano, Cc=E2=80=99in Efraim, Simon, and Nicolas who=E2=80=99ve looked into Julia p= ackaging in the past. Hopefully we can get inspiration from Arch=E2=80=99s build recip= e! Thanks, Ludo=E2=80=99. Cayetano Santos skribis: > Hi guix, > > I just noticed that the following line > > julia -e 'using Pkg; Pkg.add("BenchmarkTools"); using BenchmarkTools;= N =3D 1000; A =3D rand(N, N); B =3D rand(N, N); @btime $A*$B' > > gives around 530 ms in my laptop when using guix provided julia. Same > behavior when running within a guix container. > > This very same code, using the binary one may download from the julia > site gives 15 ms. > > I=E2=80=99m using here an up to date guix. As a reference, julia binary > provided by archlinux takes also 15 ms. > > Thanks, > > Cayetano Santos