From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: igc, macOS avoiding signals Date: Sat, 04 Jan 2025 15:15:04 +0100 Message-ID: References: <799DDBC5-2C14-4476-B1E0-7BA2FE9E7901@toadstyle.org> <87msgdkt29.fsf@gmail.com> <86h66lnjrt.fsf@gnu.org> <868qrxnfrw.fsf@gnu.org> <87a5ccl2zx.fsf@gmail.com> <875xn0p3l1.fsf@protonmail.com> <86ldvwm190.fsf@gnu.org> <87cyh8nczh.fsf@protonmail.com> <867c7fncom.fsf@gnu.org> <87pll3ivzs.fsf@gmail.com> <87wmfaof1l.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="16039"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Pip Cet , spd@toadstyle.org, emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 04 15:15:56 2025 Return-path: Envelope-to: ged-emacs-devel@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 1tU4wW-00045b-N0 for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jan 2025 15:15:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU4vn-0003vK-6X; Sat, 04 Jan 2025 09:15:11 -0500 Original-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 1tU4vl-0003uV-OV for emacs-devel@gnu.org; Sat, 04 Jan 2025 09:15:09 -0500 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tU4vk-00011q-76; Sat, 04 Jan 2025 09:15:09 -0500 Original-Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4362f61757fso129314065e9.2; Sat, 04 Jan 2025 06:15:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736000106; x=1736604906; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=qVKU5gLs5460R2JE8rv5UhT+j/Tv09fdrlmNZYsH28c=; b=K/KSQHxDYjAM+BVQH208totUZQC8SR9kplUluwFo9bvbznSIaL2iCa+GTYMKSKLa4g o8V+nMjksoGF2/IhvAfSdbR3BLE35KimshYpr86kk9r1FQyPzdbZZs3bKvduo51hXr8S hd0s5Rr26U6UE+JmvHZuRxbS2g0L2FENyF3BZLWmx89Tmleo5u8dBb2RebG3l4EVXEsE h0xCJahE94Jg961ZkCLLCwdXvdrrWr118HNuzxUjS28+D4ori90SSE74wi3+mBbdmw1P XyWJ9kMy8tkkyxfX1OnCaq/liJzXrNbgzGaZchM5+ImqzeXL3vgyl79RH80LZlRIzZQD ECjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736000106; x=1736604906; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qVKU5gLs5460R2JE8rv5UhT+j/Tv09fdrlmNZYsH28c=; b=grQwdQ13ODsmpswQs0pKHZXoKAZIoXK+Brt5TwITM7KzAcQtWszNXeVMpRohl14ZS1 +tARn6cI0PbIRIpaai/YMWRuAngQXA9iddOKvt7IZwzOHVWXjafoQ3NCAA6LY0M2QPuE KyhdYAySNHu/IRsOpK9Qxs1NPwzr9SIvlXqnBlohUfLySwkNEaz8jayEMPMmfZmRFwFI wrYBfgx1qOfUV49LtmA/VJclJFNjCmlCfrfX6Xtk72kg00ml6n+D9La4dYpwoCYjAKIa Ufflx/OGu4Qak2waqKtrqZiDAWnB4X4+3eD9vdw026KWteJwME7oa1vaINVlHNbcxRD3 7D8g== X-Forwarded-Encrypted: i=1; AJvYcCViFF7gVvSJSVRBE8mZHgx7jYYaYCr/yu9ODWEbIMCCLMVxg3siDWACvGIVRPmu+7tnT+oU2LiZywP2XA==@gnu.org X-Gm-Message-State: AOJu0YwEpFT6HhVKaLF5ZVpR9qi5GdDOglyZWAI8GvR33Kku0srkkvCD MmYfDWfgDjVyGrVhg3qSPS/4KNDwht0kfCESj59RmetNdpTkGMTbBbixvg== X-Gm-Gg: ASbGncsdlLRRU5NnpObkf1GyQSGbbjdl4La4h0oJcuZEAcG5/F5VXOH8fqB4riwwjbJ 5QRx0hVeq+xGrBWk1/02NsaLmQAgnHWF1JsqNfOn79QtX6OuBwoWPWbiTlhcD+xpr+ABq/NGaVe qHwlvZTZmIVYVzamnY18xkdiZH7c/nR5w+tcdXZi49cMQvHJV+NRtEVJ3PAGbA2tK07l1TZJ0mb P8I3uaCMGUKlg8KSG/ninW1jazT5TUnDv06uyDdlenKEjGRBYqcPyFJXvg9HVY1o0/ZmC+yGBEO kQrXFaFzTCSriXjNwFZ7EK4YDKCD/sK/uSGCNvpHE1ZZehIV5zn1gxYKfPEmLpXl/A== X-Google-Smtp-Source: AGHT+IG75xp1/bzKNtRsQOBPSgJyHNVaCEHxxybhwjByxfZYwQMw4eAPD27rPf68VSxgY+CAn6+eAw== X-Received: by 2002:a05:600c:4f09:b0:431:12a8:7f1a with SMTP id 5b1f17b1804b1-43668645d57mr467492375e9.16.1736000105697; Sat, 04 Jan 2025 06:15:05 -0800 (PST) Original-Received: from pro2 (p200300e0b73c9f00c50ae305bf989514.dip0.t-ipconnect.de. [2003:e0:b73c:9f00:c50a:e305:bf98:9514]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43661219611sm518769435e9.23.2025.01.04.06.15.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jan 2025 06:15:05 -0800 (PST) In-Reply-To: <87wmfaof1l.fsf@gmail.com> (Helmut Eller's message of "Sat, 04 Jan 2025 14:59:50 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x330.google.com 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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327666 Archived-At: Helmut Eller writes: > On Fri, Jan 03 2025, Helmut Eller wrote: > [...] >> I'm not sure if those differences are acceptable. I also have no good >> idea how to reduce it, except inserting more calls to maybe_quit. > > It seems that calling maybe_quit before and after calling functions > would cure this problem. With the original maybe_quit restored, as in > the attached patch, the foo example looks so: > > 1986 100% main > 1986 100% record-samples > 1986 100% foo > 1214 61% float-time > > Compared to the original > > 1074 54% float-time > > that seems pretty ok. Also the bar example > > 812 80% animate-place-char > 6 0% window-start > 29 2% beginning-of-line > 29 2% delete-char > 6 0% undo-auto-amalgamate > 36 3% insert-char > 390 38% move-to-column > 11 1% undo-auto--undoable-change > > looks quite good to me. > > WDYT? Nice!