<table><tr><td style="">davidedmundson requested changes to this revision.<br />davidedmundson added a comment.<br />This revision now requires changes to proceed.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21690">View Revision</a></tr></table><br /><div><div><p>+1 on the concept.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Currently, the default configuration of showing all individual cores is pretty useless on system with a high number of cores.</p></blockquote>

<p>Agreed, it's useless.  Load gets balanced between cores so having a history per core tells you nothing.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>This changes the default to only show all individual cores on systems with 8 cores or less, on systems with more cores only the total cpu usage is shown</p></blockquote>

<p>If we're going to change it, I'd keep it simple and just change it, rather than having magic behaviour. Especially as it's just a default a user can enable .</p>

<hr class="remarkup-hr" />

<p>Your pattern of the JS "virtuals" is quite nice.</p>

<p>But for isSourceValid it's a bit weird as you leave a mix two completely different styles.</p>

<p>We still have the filter inside onSourceAdded / root.addSource - which effectively is a filter at the correct layer before we start subscribing to the data source.<br />
Then you have isValidSource applying the same filtering that we've already done...on top of this already filtered content.</p>

<p>I don't understand what that's about.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21690">https://phabricator.kde.org/D21690</a></div></div><br /><div><strong>To: </strong>rappelman, Plasma, VDG, davidedmundson<br /><strong>Cc: </strong>davidedmundson, plasma-devel, LeGast00n, ericadams, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>