After some surprising performance problems with a really simple Revolution script (Revolution Studio 2.8.1, Build 472 under WinXP, Core Duo 1.66 GHz, 1GB RAM) I decided to do some basic performance measurements. Here is the script
Code: Select all
lock screen
  local firstTime,lastTime
  put Milliseconds() into firstTime
    create invisible field "(TestField)"
    repeat 2000 times
      put ("12345678901234567890" & return) after field "(TestField)"
    end repeat
    delete field "(TestField)"
  put Milliseconds() into lastTime
unlock screen
put "populating the field took " & (lastTime-firstTime) & " milliseconds"
I also tried with "Debug Script Mode" switched off - which sped up the program only a little bit.
All measurements were made within the Revolution Studio IDE, not for a stand-alone program. The IDE was started immediately before - I therefore do not expect any other messages or stacks "in the background"
I can't believe such a poor performance: 21*10000 characters are "nothing" for today's systems. Thus, I think of a mistake on my side.
Does anybody have any idea?
Thanks in advance for any hints!
 Well, in reality, I guess, Revolution might do without many of the copy operations because of smarter memory (re)allocation...
 Well, in reality, I guess, Revolution might do without many of the copy operations because of smarter memory (re)allocation...
