From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ivan Yonchovski Newsgroups: gmane.emacs.bugs Subject: bug#42190: 27.0.91; flex matching is slow Date: Sat, 04 Jul 2020 20:06:43 +0300 Message-ID: <87sge743bw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3882"; mail-complaints-to="usenet@ciao.gmane.io" To: 42190@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 04 19:07:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jrld9-0000wY-7a for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jul 2020 19:07:11 +0200 Original-Received: from localhost ([::1]:33478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrld8-0002Vg-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jul 2020 13:07:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrld0-0002VF-P0 for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 13:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrld0-0002ct-Ez for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 13:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrld0-0000M3-9T for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 13:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Yonchovski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jul 2020 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42190 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15938824141346 (code B ref -1); Sat, 04 Jul 2020 17:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jul 2020 17:06:54 +0000 Original-Received: from localhost ([127.0.0.1]:59492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrlcs-0000Le-0r for submit@debbugs.gnu.org; Sat, 04 Jul 2020 13:06:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrlcn-0000LT-7a for submit@debbugs.gnu.org; Sat, 04 Jul 2020 13:06:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrlcn-0002Ud-2y for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 13:06:49 -0400 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:41546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrlcl-0002X7-Lp for bug-gnu-emacs@gnu.org; Sat, 04 Jul 2020 13:06:48 -0400 Original-Received: by mail-ej1-x632.google.com with SMTP id dp18so37636256ejc.8 for ; Sat, 04 Jul 2020 10:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=QNg1aGYyDQ7/bx7VWIwnNGwnSXhSGFr2uevAF3/9AeQ=; b=glh9PgegBDkxwzpCHBJfNg2WkHpt0BOTzwJCadKU6FMsHlkxgOeTa85fGZ9e0KMDFz oxY3sV247SEKW17y5dKx3eqQVMCIYXmiU3xmr9xBnqWPRbB2Y1xdvg/LazkiWtYt72C7 wy0cTWgV8xoTpNVNvr+VAQCTEp1OafhSOTWr72mGv9tY/7lQPBWGX1vL1Gwlah1zmwMj qIt/QjK7jfUT1/iZYqAhdtKgmQ4QfisjN1ZRpeUijShYrJD5x4GAAOurUWGp4g7F9kVl xzHM+9Kehh49yp40rsIuhI6On0UDFjyL24QGp4dEpQO7vepssgiPIHQDtU7FhXJOpSNK QndA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=QNg1aGYyDQ7/bx7VWIwnNGwnSXhSGFr2uevAF3/9AeQ=; b=hrDNnObMuoG/+vjtLzxg6DEpXpAsT0R/eBRtB8Ndvc4Lj/ZGYrDORl5V2P1Wc6SukD V3XRnsVPNS2XoHtku4QL5TmNQ/J7vMAw94pDCfE6lM8jp1JahwqVbeLYYkZHREAz2Pd4 8NBVQnd7s8pMtpGHwqkB+YAmbrDW5yHY6g78TKbQUe+ymr1eLXv7gBDrUpSsNHqxdzff 5w7vRtq0l1+EBFHpADjXNptmuwnvItyX6imwkxFKm6rBqLc9aCMdb6iVd1Vh5wMIQWqn oyQIXjmMGTvdYNKL2kdH71N/0jilf8Z1cV5M3wNvN5aIfHFBglQAAgVcYu3TYF0L569U pW6g== X-Gm-Message-State: AOAM532S471qZTGWRWWSQRhBRdesg/uDKmIuTGGRRXRBKvyp0c53NP9g HpRW/QVwlp4MvRumwryo5XuSg4y+ X-Google-Smtp-Source: ABdhPJxN2EGY+qEW3xEnCAE19g0rPQNhgkkiELD8w0hqAJIBO7AJEnJ3vNDVSLg0y0ygyF0iUDJLug== X-Received: by 2002:a17:906:f49:: with SMTP id h9mr39250697ejj.155.1593882405287; Sat, 04 Jul 2020 10:06:45 -0700 (PDT) Original-Received: from kyoncho-H87-D3H ([2a00:4802:28d:9e00:9587:b9d6:f37c:474]) by smtp.gmail.com with ESMTPSA id fi29sm12142016ejb.83.2020.07.04.10.06.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jul 2020 10:06:44 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=yyoncho@gmail.com; helo=mail-ej1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182704 Archived-At: To reproduce the issue, install company-mode, go scratch buffer execute the code: (company-mode 1) (setq completion-styles '(basic flex) company-idle-delay 0) type (rrrrrr) and then start deleting from the last r to the first one. Observerd behaviour: the completion lags/feels slugish even in the emacs -q setup(it gets slower if you load several packages). The main offenders are: completion-flex-all-completions + GC - on CPU profiler completion-pcm--hilit-commonality - on Memory profiler Thanks, Ivan