[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Readline patch for high CPU usage

From: Michael Goffioul
Subject: Re: Readline patch for high CPU usage
Date: Fri, 29 Nov 2013 15:29:20 -0500

On Fri, Nov 29, 2013 at 2:26 PM, John W. Eaton <address@hidden> wrote:
On 11/29/2013 11:30 AM, Michael Goffioul wrote:

Here's a patch that solves the high CPU usage of readline under Win32
and also allow to interrupt readline in CLI mode. This works for me with
MSVC. Could anybody have this tested in MinGW?

It seems to work for me.

The task manager shows the CPU usage at between 4-10%.

Really? That much...
When I test it on my system, I get 0% CPU usage when octave is idle (WinXP 32 bits, Atom N470 1.6GHz, 512MB RAM). Maybe there's something not working as expected; 4-10% CPU usage seems way too much in idle state, as readline should have a "quiet" period of 100ms before looping again.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]