From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yP6KDcDW5F4sJAAA0tVLHw (envelope-from ) for ; Sat, 13 Jun 2020 13:38:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SKBUCcDW5F7iagAA1q6Kng (envelope-from ) for ; Sat, 13 Jun 2020 13:38:08 +0000 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 722539402D6 for ; Sat, 13 Jun 2020 13:38:07 +0000 (UTC) Received: from localhost ([::1]:54624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk6MH-0005nE-3A for larch@yhetil.org; Sat, 13 Jun 2020 09:38:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jk6MD-0005mb-Tc for guix-patches@gnu.org; Sat, 13 Jun 2020 09:38:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jk6MD-0001Gu-Ke for guix-patches@gnu.org; Sat, 13 Jun 2020 09:38:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jk6MD-0001BX-IQ for guix-patches@gnu.org; Sat, 13 Jun 2020 09:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39258] [PATCH 2/4] ui: Use string matching with literal search strings. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Jun 2020 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39258@debbugs.gnu.org Received: via spool by 39258-submit@debbugs.gnu.org id=B39258.15920554294493 (code B ref 39258); Sat, 13 Jun 2020 13:38:01 +0000 Received: (at 39258) by debbugs.gnu.org; 13 Jun 2020 13:37:09 +0000 Received: from localhost ([127.0.0.1]:41089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk6LN-0001AP-Cd for submit@debbugs.gnu.org; Sat, 13 Jun 2020 09:37:09 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:37874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jk6LK-0001A2-R5 for 39258@debbugs.gnu.org; Sat, 13 Jun 2020 09:37:07 -0400 Received: by mail-wr1-f47.google.com with SMTP id x13so12626397wrv.4 for <39258@debbugs.gnu.org>; Sat, 13 Jun 2020 06:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=7ttlD2/BQV3EpWrj8Few+mcd6bPps0SOY3FUt9eU1Eo=; b=Hk9cOQRbGefb8YrDE/hIacU5dT6B8kwuM1yDhr4+ZQc64B9O92GBqY9atMKy+UwSm3 z4G+E+AXfUqXAehW1oZVgpzwXZZ+Yac07gz3rmM1KZJBD0vqS+gYarOH1w/wg1yEZiwh MEf17Ezy+648yDSzJDvJhyL9s8KOfZcnKZ2GHXQ1d/v4nCzX38shEP6a8wYd4lqw4qSc usIBtx4NgHW6nfku/2nJmCvpI+arVX0L5K1/TiAM38bya80HTfocDu3ogd1EL7APp6oj b4/OrZX1QSOM54jvIqXQOOMAZDAfLCWSE7JQOf2whOr0Sm4rQh04fM8KL/uol7f59r6E /A5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=7ttlD2/BQV3EpWrj8Few+mcd6bPps0SOY3FUt9eU1Eo=; b=ISg+qUKhQpCqtQTZOl96lpF/dmYSyZpxrFYnMCNQg46BMdKI7KWdowE4WH3J57qlEF ubUF05vB1G9jepnW8dVd4zjFzyheWlHZQ+PEbjeUXqtT7aoILb+IR55LHI5KjQD5PHON fKP+7t28IyV64l51Fvs7zg2ZlGvGjPO9YYgKr7DCUAUrAs4T7/2prls3BPBR+QFfNPLa 5p1wnidDq7GjY7EvYHxs12O3K0G799YU7GbkluYckIzhxrZzMrfSbTlwI6oWD4VFwasI HCcDhaSnklF/E3E5U37bHzw6bUehoqWezsZBJKDqwRZHs7KlplGubbtaVdaYQDfDSVm5 1zKA== X-Gm-Message-State: AOAM532zI7oEacrIfD96NhKBwdfxMQZX+JBT0EJ44JwdGp97pUUvC9yL 2cOXxf14tKg/ox8aR7Qk1jrchCCqHGs= X-Google-Smtp-Source: ABdhPJyeJHrqzvEbN13ejwjU7a7sKCNu+LvKn44uypRZ07WQDXKBG641zixI8PT0MGKm+yTn1Ns1Ng== X-Received: by 2002:adf:e883:: with SMTP id d3mr19646300wrm.274.1592055420700; Sat, 13 Jun 2020 06:37:00 -0700 (PDT) Received: from lili (57.246.195.77.rev.sfr.net. [77.195.246.57]) by smtp.gmail.com with ESMTPSA id h27sm17416598wrb.18.2020.06.13.06.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jun 2020 06:37:00 -0700 (PDT) From: zimoun In-Reply-To: References: <20200601000030.7443-1-arunisaac@systemreboot.net> <20200601000030.7443-3-arunisaac@systemreboot.net> <87y2owmyf3.fsf@gnu.org> Date: Sat, 13 Jun 2020 15:36:57 +0200 Message-ID: <865zbvjddy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Hk9cOQRb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 02wz758IVNlp Dear Arun, On Sat, 13 Jun 2020 at 18:07, Arun Isaac wrote: >> How does this affect performance? > > See my results from earlier. > > --8<---------------cut here---------------start------------->8--- > time ./pre-inst-env guix search game > > real 0m2.261s > user 0m2.351s > sys 0m0.104s > --8<---------------cut here---------------end--------------->8--- > > --8<---------------cut here---------------start------------->8--- > time guix search game > > real 0m2.661s > user 0m2.843s > sys 0m0.080s > --8<---------------cut here---------------end--------------->8--- I confirm that it changes nothing. See [1]. 1: http://issues.guix.gnu.org/39258#112 On the other hand, on my machine I do not see any timing improvement with this patch set. Could you check that you are comparing apple to apple? All the best, simon