From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [RFC] warn time for appointments Date: Fri, 23 Mar 2012 12:42:35 -0400 Message-ID: <10199.1332520955@alphaville> References: <87y5qr8z64.fsf@kanis.fr> <87fwczzk68.fsf@micropit.couberia.bzh> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB7Zt-0005Xh-TJ for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 12:43:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SB7Zo-00040n-At for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 12:43:01 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:36349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB7Zo-0003v7-3W for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 12:42:56 -0400 In-Reply-To: Message from =?us-ascii?Q?=3D=3Futf-8=3FQ=3FPeter=5FM=3DC3=3D?= =?us-ascii?Q?BCnster=3F=3D?= of "Fri\, 23 Mar 2012 11\:27\:43 BST." <87fwczzk68.fsf@micropit.couberia.bzh> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FPeter=5FM=3DC3=3DBCnster=3F=3D?= Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Peter M=C3=BCnster wrote: > On Fri, Mar 23 2012, Ivan Kanis wrote: >=20 > > I got no reply to my RFC and to my tentative patches. Does that mean > > everybody is happy with the default 12 minutes warning time? >=20 > No, I'm not happy with 12 minutes. But there is > https://github.com/p-m/org-notify where you can have arbitrary warning > times (seconds, weeks, whatever...). > Does it fit your needs? >=20 > (I'll ask Bastien for inclusion in contrib...) >=20 BTW, I had done some simple performance measurements and hit some hiccups previously. I just repeated them and I believe things are much improved: org-notify-process 8 0.521915 0.065239375 org-notify-todo-list 8 0.512575 0.064071875 org-notify-make-todo 194 0.0485780000 0.0002504020 Another time org-notify-process 11 1.6243200000 0.1476654545 org-notify-todo-list 11 1.516659 0.1378780909 org-notify-make-todo 596 0.2396870000 0.0004021593 and I've seen the avg time (last column) of org-notify-process go up to 0.22s, whereas before it used to be 5s or so, and even after the first round of optimization that Peter did, it went down but still was over a second (1.6s iirc). That caused significant hesitation when typing. At this point,I do not notice any such hesitation - otoh, I'm sure I'm not stressing it very much: that would require constructing a suitable load generator, which I have not done. But previously, things were bad enough that I had to turn off the notify process. Now, I'm leaving it on and (mostly) not noticing that it's there, so that's definitely progress. Thanks Peter! Nick