Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2017-03-18 13:49:21, last edited by LukeM (2017-08-21 13:43:31)

LukeM
Member
From: England
Joined: 2016-06-03
Posts: 3,009
Website

Block speed tests

Im currently testing some things, and will post any results I find here:

Code for test:

long time = DateTime.Now.Ticks;
int i = 0;
while (i < width * height)
{
    if (i % speed == 0) Thread.Sleep(delay);
    con.Send("b", 0, minX + (i % width), minY + (i / width), block);
    i++;
}
Console.WriteLine("Time taken: " + (DateTime.Now.Ticks - time) / TimeSpan.TicksPerMillisecond);

(minX = 0, minY = 0, width = 100, height = 100)

Results:

Internet speed: 23 down, 8 up

Speed  Delay   BPS  Worked?  Time  Actual BPS
 100    100   1000    yes    10115   989
 110    100   1100    yes     9185  1089
 120    100   1200    yes     8521  1174
 130    100   1300    yes     7821  1278
 140    100   1400    yes     7354  1360
 150    100   1500    yes     6799  1471
 160    100   1600    yes     6383  1567
 170    100   1700    yes     5994  1668
 180    100   1800    yes     5674  1762
 190    100   1900    yes     5371  1861
 200    100   2000    no      5107  1958  (all blocks placed but bot disconnected)

  50     50   1000    yes    10193   981
  60     50   1200    yes     8550  1170
  70     50   1400    yes     7275  1338
  80     50   1600    yes     6394  1563
  90     50   1800    no      5752  1739  (not all blocks placed)

 150    150   1000    yes    10156   985
 160    150   1067    yes     9497  1053
 170    150   1133    yes     8895  1124
 180    150   1200    yes     8482  1179
 190    150   1267    yes     8035  1245
 200    150   1333    yes     7578  1320
 210    150   1400    no      7236  1382  (bot disconnected instantly)

Edit: I did do some more tests, but I guess I forgot about them, and now I cant find them //forums.everybodyedits.com/img/smilies/tongue

Offline

#2 2017-03-18 14:37:48

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,824

Re: Block speed tests

You should really be using System.Diagnostics.Stopwatch for accurate timing.


One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.

Offline

#3 2017-03-18 14:47:40

LukeM
Member
From: England
Joined: 2016-06-03
Posts: 3,009
Website

Re: Block speed tests

Tomahawk wrote:

You should really be using System.Diagnostics.Stopwatch for accurate timing.

I would if it was less than a second or so, but as this is above 5 seconds, +/- 10ms or so shouldnt really matter, so I think it should be accurate enough (correct me if im wrong)

Offline

#4 2017-03-18 17:01:15

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,824

Re: Block speed tests

Yeah my bad, I didn't really look at your times.

I suggest repeating the test with much fewer than 10,000 blocks, to see if the BPS stays constant.


One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.

Offline

Tomahawk1489852875651445

Board footer

Powered by FluxBB

[ Started around 1711661321.0813 - Generated in 0.070 seconds, 12 queries executed - Memory usage: 1.37 MiB (Peak: 1.47 MiB) ]