This is very odd.
I thought I’d do some experiments this morning by sending a 10000 messages in a controlled environment e.g
for I := 0 to 10000 do
codesite.send(csmYellow,’Counter’,i);
and surprisingly, sending via TCP is actually twice as fast as sending via CopyData.
So now I’m confused. In my production code, running without Codesite is 10x faster as running with it BUT I also get the speed improvement if I run with CodeSite but simply set the Live viewer to Block Messages.
I wonder whether simply updating the screen on the Live viewer could be slowing down my machine, such that the main code is affected (this is testing on a low performance machine and about 40,000 messages in the live viewer) ?