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 ms0.migadu.com with LMTPS id lZYpKmehNWLFHgAAgWs5BA (envelope-from ) for ; Sat, 19 Mar 2022 10:24:55 +0100 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 aG36JWehNWJPQQAAauVa8A (envelope-from ) for ; Sat, 19 Mar 2022 10:24:55 +0100 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 5B4E0A06E for ; Sat, 19 Mar 2022 10:24:55 +0100 (CET) Received: from localhost ([::1]:41876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVVKQ-0007ZP-FS for larch@yhetil.org; Sat, 19 Mar 2022 05:24:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVVIs-0007Z9-KF for emacs-orgmode@gnu.org; Sat, 19 Mar 2022 05:23:19 -0400 Received: from [2607:f8b0:4864:20::1030] (port=40837 helo=mail-pj1-x1030.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVVIm-0005yF-Ql for emacs-orgmode@gnu.org; Sat, 19 Mar 2022 05:23:18 -0400 Received: by mail-pj1-x1030.google.com with SMTP id mp6-20020a17090b190600b001c6841b8a52so6351250pjb.5 for ; Sat, 19 Mar 2022 02:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=eIGAmaBbZXrW7k86qePxlIpcC/sYc5mBkoFZF6URONo=; b=qpyj/gwHpVSZvyiiRlk6zS2PT0bMldR4VDRf8iAfTGju5k5EfFgtf2GmlQsDg/6FRG GykQfqScyddUrm2BM9T5o26kCZki5VXq7xYpqefGxksF8++6zVSNnPIdLPlLhhhoYzzd 0jpOy+TNG078Va3/0dFOLO5AGMtNq2ym12ieiIV5UDlA03fdBAKfVJt4ftPH9YmznNwM noyraur9ULQLlXzYkZrQ1PluWrrTKU/5M++WJiSoxTXgg7rOYp9m2yfeylk9b4c6Nphy dX5/yF++s4HFMzXey66+8eTAAEpSmPXlggUBtyIKss02q45P0bwXBazt2Ou41TxeKWDw HDGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=eIGAmaBbZXrW7k86qePxlIpcC/sYc5mBkoFZF6URONo=; b=ZGqxW6YrX4zoeLXD+J9meLziMKDIh+bfpEfigasvcAPwqPoSgoaw2/8ZCN7mZriHi0 y3HWfQomTW8G8wJkbO4MmWAJyWoREGiCVyEzHvQvTnKPWyKv3kkiHbwBZZm+CnDqgcpy oQ6qNCRy5xnQQXxdf5lkE1FYDZ4lnpmEaZ0utleJEP3i4lONqxRn4SvujkjISqiRdaAn HS/1Sy0AuxnP1Vh3BGGqlYXl7ZFSPXntkgOJpbzPeqV3GxqpBWXQGHPPBiE8vg3QpTC2 gESjntn2Gg1TaXpkdQiwXJJjHBJPkXVsHEyLy7pLCmWg7SaBIMbg/2hHBlrEQ+bPRhbN VI7Q== X-Gm-Message-State: AOAM533RJrVM62NsyfvsL2GKSOZzLCZhihx0fZCley8panlric1IAQsE 8R9k5XTNrHtwG+VBWEBQhwo= X-Google-Smtp-Source: ABdhPJyvNdres1AQiOKH4tpaDMzaQmZgHNQ7O+s92epmLJ157lq5Jb9GEjkXnW0EmD3ju5o12DD0Xg== X-Received: by 2002:a17:903:1210:b0:151:fa59:95ef with SMTP id l16-20020a170903121000b00151fa5995efmr3535752plh.57.1647681784709; Sat, 19 Mar 2022 02:23:04 -0700 (PDT) Received: from localhost ([45.128.72.3]) by smtp.gmail.com with ESMTPSA id 67-20020a630846000000b00372782a65d0sm10013456pgi.60.2022.03.19.02.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Mar 2022 02:23:04 -0700 (PDT) From: Ihor Radchenko To: Jamie Matthews Subject: Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)] In-Reply-To: References: <87pmmifirh.fsf@localhost> Date: Sat, 19 Mar 2022 17:23:32 +0800 Message-ID: <87fsnefg8b.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1030 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647681895; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eIGAmaBbZXrW7k86qePxlIpcC/sYc5mBkoFZF6URONo=; b=aq9cVP/b3KCxC5st+5tc5d5mczS2qt5us0p3DmzNeE7FHmYG2k9d9Sf8/mpcfSF076gKMC Mu07VMIkMO+4xqcwefGA3nIdj/9duiwB/156PKFsKRgClgowFIIoSpCXHZWWPVi6jQ2WC0 NFZLCqt1iVpG0zLbs8R392JZpZ+xLQYf7y67+L6lSMGBu0H2VTlezvJJ8pOo6ph7PeHd9w eSkGmkxqu4P74NnXRDpWO3i8J0CVXV4VsFV9cf5I+kMNrVZdrkc99RRJgwsNh/ngWSPHog TJSLEkrUof1UIoDREyDtr81kNnKc+p6OXSn2xVrUKEj/DnJIv6zQcJXp0rBKyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647681895; a=rsa-sha256; cv=none; b=L00rZNGNV4eSFTGftOscVKjVJ3fzZlRSagxi/gJHcwwDYoZYM4Y+Cyi1ISGeyepSHG0IEW 9lku/+gq4vJvl0UE/MVwfKDiWFi7ivyx92fYTKDMgmTwwFlKT1iFSizErcbtcdDqFrkqF3 kueh0eNmIg2eYioKnCNU1YsouXlN1MawmcaNIb2AjlA5p8vq5p/TGRjHWeddFxmBMWvDtX nDRX7fh/Z6xTi8mjLnMrHVWdazeIYuWAlgMhFRjsu1JwXb3U0yEEXHzSL3Y1VkTDEwwAJg 1LHBazuEQTtElO+5+Q9p4DyHPW8a3BuQkb6iQ5zzkgPy44yWpkX3CpmRnaoPkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="qpyj/gwH"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="qpyj/gwH"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5B4E0A06E X-Spam-Score: -3.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: d4DrQdLDriKi Jamie Matthews writes: > Hi Ihor, > > I tried to run that code but get errors for the elp-instrument-function= =E2=80=8B calls (both with my config and emacs -Q=E2=80=8B): > > ``` > Debugger entered--Lisp error: (error "ELP cannot profile the function: or= g-cite-basic--g...") Then also add (require 'oc-basic) before the code I provided. I seems that org-cite has not been loaded yet when you tried to execute the code. Best, Ihor