X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 614E1DC0485 for ; Mon, 4 May 2015 12:24:59 +0000 (UTC) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id EAA52DC01C2 for ; Mon, 4 May 2015 12:24:53 +0000 (UTC) Received: by lagv1 with SMTP id v1so102646328lag.3 for ; Mon, 04 May 2015 05:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=7q+d0dN+fb2WMvDYzkRx2pglkkjAblF7/7MOZsfRye8=; b=zLDmImd+g6k5zr1HPQcgrYzw26BrkDgeYSjTt+S3c52vjSADPdqYjfA2gNRyTRozom phXhB9p0IGwwwwI++0kmdC3puFuU3JJNfwTO/w0URKMuPZbX2W87i+uQ05LKeqwinuLI cHvv2HzbTTu8XCF6OZZs0K2jhFmtmQXB5BYvdrFy+LCHdEqSkIkC9BZbRKeqOypuE6ke 4xKd5IMPdMlq0NljQJxIFVsyBuVhMeocao6JOaXuPaB9sSfhq8XIIykFzCbWBJqpcCGa L06YJ5x11X4nOv14pDz12Ce1MDpVmZSEs6hIXKsX/pwxdWpFv+41iInQvX7uuhfubl0W tfPQ== X-Received: by 10.152.29.138 with SMTP id k10mr19175387lah.114.1430742291239; Mon, 04 May 2015 05:24:51 -0700 (PDT) Received: from vostro ([2001:1bc8:101:f402:21a:9fff:fe0c:4022]) by mx.google.com with ESMTPSA id uf11sm3332890lac.11.2015.05.04.05.24.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2015 05:24:51 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Mon, 4 May 2015 15:23:43 +0300 From: Timo Teras To: Ramon Soares Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/ca-certificates: change update-ca-certificates lua script to a shell script Message-ID: <20150504152343.16db675f@vostro> In-Reply-To: References: <1430652096-4857-1-git-send-email-ramon@codecraft63.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 4 May 2015 08:48:26 -0300 Ramon Soares wrote: > Is really necessary to have performance in this script? > > To a script that should have little use, I believe the dependency of > other packages to be unnecessary. It directly affects the boottime of tmpfs installs, as well as upgrading packages. See: http://bugs.alpinelinux.org/issues/2846 The shell script can run 3-20 seconds on ARM, where as the lua version is 0.25 seconds. Having to wait extra 20 seconds on boot, or "apk upgrade" is unacceptable if it's fixed with lua dependency. Especially since lua is the preferred scripting/interpreted language in alpine. The total installed size for lua and the posix module is roughly 300 kB. It is still less than bash (700+ kB). Also; the patch is also incorrect, since the orignal update-ca-certificates is in the tarball, it should not be copied to aports. See the original commit introducing the lua script: http://git.alpinelinux.org/cgit/aports/commit/?id=af18a975d8494f923d0ff3754dd250ffc641b6ef But that said, we are not going to go back to something that is slower; just because someone else is doing it. If you find the lua dependency unacceptable, please rewrite the code in C, or some other compiled language. Thanks, Timo --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---