I noticed the latest Windows snapshot 2017.11.12 (git 7cb1e93) is using 15%
CPU when doing nothing and not even visible. Not great on a battery powered
laptop. What is it doing?
On Nov 27, 2017, at 9:04 AM, nop head nop.head@gmail.com wrote:
I noticed the latest Windows snapshot 2017.11.12 (git 7cb1e93) is using 15% CPU when doing nothing and not even visible. Not great on a battery powered laptop. What is it doing?
My first guess is that this is still related to Automatic Reload: https://github.com/openscad/openscad/issues/1237
Easy to verify by turning off automatic reload.
You already improved this quite a bit by caching the file update checks. It should be possible to optimize further by using filesystem-level watchers, which may be a bit OS-dependent.
-Marius
Oh, yes, of course. I am surprised how high it is though. stat must be very
expensive.
On 27 November 2017 at 14:40, Marius Kintel marius@kintel.net wrote:
On Nov 27, 2017, at 9:04 AM, nop head nop.head@gmail.com wrote:
I noticed the latest Windows snapshot 2017.11.12 (git 7cb1e93) is using
15% CPU when doing nothing and not even visible. Not great on a battery
powered laptop. What is it doing?
My first guess is that this is still related to Automatic Reload:
https://github.com/openscad/openscad/issues/1237
Easy to verify by turning off automatic reload.
You already improved this quite a bit by caching the file update checks.
It should be possible to optimize further by using filesystem-level
watchers, which may be a bit OS-dependent.
-Marius
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org