GNU bug report logs - #69241
[PATCH] Jsonrpc: improve performance of process filter function

Previous Next

Package: emacs;

Reported by: Daniel Pettersson <daniel <at> dpettersson.net>

Date: Sun, 18 Feb 2024 18:25:07 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Pettersson <daniel <at> dpettersson.net>
Subject: bug#69241: closed (Re: bug#69241: Fixed patch issues)
Date: Tue, 12 Mar 2024 15:02:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#69241: [PATCH] Jsonrpc: improve performance of process filter function

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 69241 <at> debbugs.gnu.org.

-- 
69241: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69241
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Pettersson <daniel <at> dpettersson.net>
Cc: 69241-done <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: Re: bug#69241: Fixed patch issues
Date: Tue, 12 Mar 2024 17:00:26 +0200
> From: Daniel Pettersson <daniel <at> dpettersson.net>
> Cc: 69241 <at> debbugs.gnu.org,  joaotavora <at> gmail.com
> Date: Tue, 12 Mar 2024 15:34:20 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Should we close this bug now?
> 
> Yes

Thanks, done.

[Message part 3 (message/rfc822, inline)]
From: Daniel Pettersson <daniel <at> dpettersson.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Jsonrpc: improve performance of process filter function
Date: Sun, 18 Feb 2024 02:53:01 +0100
[Message part 4 (text/plain, inline)]
Tags: patch


This was issue was discovered during elpa package dape's development,
where an adapter was sending 72000 notifications on startup which leads
to emacs looping over timer--time-less-p for > 50 seconds and after the
fix for less then 1 second.  The "integrity" of timer order are messed
with but as timer_check runs all of the ripe timers in the same while
loop it only becomes an question of execution order.  This change uses
timer.el internal api `timer--triggered', but this might be fine as it's
tightly coupled with keyboard.

In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.1.0, NS
 appkit-2487.20 Version 14.1.1 (Build 23B81)) of 2023-12-20 built on
 Daniels-Air
Repository revision: 281be72422f42fcc84d43f50723a3e91b7d03cbc
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.1.1

[0001-Jsonrpc-improve-performance-of-process-filter-functi.patch (text/patch, attachment)]

This bug report was last modified 1 year and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.