Skip to content

Commit

Permalink
More fine tuning of payload. Janhouse#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Janhouse committed Dec 11, 2012
1 parent 224d3bf commit 33505cd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tespeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ def __init__(self, server = "", numTop = 0, servercount = 3, store = False, supp
#~ 1024*1024*2, 1024*1024*2]

self.downList=[
'350x350', '350x350', '500x500', '500x500', '750x750', '750x750', '1000x1000', '1500x1500', '2000x2000', '750x750',
'350x350', '350x350', '500x500', '500x500', '750x750', '750x750', '1000x1000', '1500x1500', '2000x2000', '2500x2500',

'1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000',
'3000x3000','3500x3500','4000x4000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000',
'1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000','1000x1000',

'2000x2000','2000x2000','2000x2000','2000x2000','2000x2000','2000x2000','2000x2000','2000x2000','2000x2000','2000x2000',
Expand All @@ -118,7 +118,7 @@ def __init__(self, server = "", numTop = 0, servercount = 3, store = False, supp
#]
self.upSizes=[

1024*256, 1024*256, 1024*512, 1024*512, 1024*1024, 1024*1024, 1024*1024*2, 1024*1024*2, 1024*1024, 1024*512,
1024*256, 1024*256, 1024*512, 1024*512, 1024*1024, 1024*1024, 1024*1024*2, 1024*1024*2, 1024*1024*2, 1024*512,
1024*256, 1024*256, 1024*256, 1024*256, 1024*256, 1024*256, 1024*256, 1024*256, 1024*256, 1024*256,

1024*512, 1024*512, 1024*512, 1024*512, 1024*512, 1024*512, 1024*512, 1024*512, 1024*512, 1024*512,
Expand Down Expand Up @@ -469,6 +469,8 @@ def TestUpload(self):
thrds=1
elif i<5:
thrds=2
elif i<7:
thrds=2
elif i<10:
thrds=3
elif i<25:
Expand Down Expand Up @@ -519,10 +521,10 @@ def TestDownload(self):
thrds=1
elif i<5:
thrds=2
elif i<10:
thrds=1
elif i<15:
thrds=3
elif i<11:
thrds=2
elif i<13:
thrds=4
elif i<25:
thrds=2
elif i<45:
Expand Down

0 comments on commit 33505cd

Please sign in to comment.