Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 22:58:56 +0000



Post From: cpu comparison

[2016-04-04 21:42:40]
i960 - Posts: 360
You said this, which agrees with what I said:

Any time the chart is updated for example when a new trade is received

and then you said this, which goes against which you just said:

Charts are never updated on every single tick. This is not even technically possible.

A trade can be a tick, so I'm not sure how ticks magically fall outside the realm of a chart being updated.

Surely your graphics rendering code has a concept of partial updating, doesn't it? On top of that, if you put some thought into it, you'll realize that not every single tick has to be reanalyzed/redrawn for a data structure that is inherently additive in nature. This isn't exactly a graphically intensive thing being done here - but the CPU usage is significant for every single input trade.
Date Time Of Last Edit: 2016-04-04 21:45:39