Bug 161850 - Unnecessary updates occur in plugins
Summary: Unnecessary updates occur in plugins
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.4.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-09 17:00 UTC by Andrew Walker
Modified: 2008-05-09 17:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Walker 2008-05-09 17:00:36 UTC
Version:           1.4.0 (using KDE 3.5.8)
Installed from:    Compiled From Sources
OS:                Linux

PROBLEM:

A KstBasicPlugin will update every time even when its inputs have not been changed.

STEPS TO REPRODUCE:

Start Kst
Create an auto-correlation with the inputs being two large and non-changing vectors
Create a curve from the auto-correlation output vectors

RESULTS:
Kst consumes a lot of CPU time

EXPECTED RESULTS:
Ksy updates the plugin only once and does not consume a lot of CPU time
Comment 1 Andrew Walker 2008-05-09 17:01:39 UTC
SVN commit 805893 by arwalker:

BUG:161850 only update KstBasicPlugin output vectors when necessary

 M  +15 -16    kstbasicplugin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=805893