Open matta opened 4 days ago
Thanks! This is a known issue, and is due to an expedient hack added in #314, which was needed as we have not fully designed our passes. This should be resolved when the pass order update is designed and implemented.
As for using 40% of your CPU, that is a surprisingly large amount, as I believe we are entirely single threaded. What's the amount used if you use release mode?
As for using 40% of your CPU, that is a surprisingly large amount, as I believe we are entirely single threaded. What's the amount used if you use release mode?
Apologies, I wasn't clear. There is nothing surprising about the CPU usage, I think. The percentage I spoke of is reported by top, which reports 100% CPU usage when a process is fully utilizing a single CPU core (and/or hyperthread if that is enabled).
The release build of the to_do_mvc
example hovers around 13% of one core/hyperthread on my machine.
Glad there is an explanation. Feel free to close this issue if there is no utility in keeping it open.
Xilem's to_do_mvc example (
xilem/examples/to_do_mvc.rs
) seems to go into a loop when I click on the text edit.This is on Debian, running from Xilem's current head (e76cf31258c79d263c5669be052353c3e99c012d).
<repo root>
CPU usage for the app goes up to about 40%, and the log spews this seemingly forever: