Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Test Announce Speeds
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / General / General Chat

2021-06-19 08:23:16
Ive been reading through the BitTorrent Specification wiki working though my announce and its pretty much finished just want to test the speed so if anyone has a test server and 2 minutes spare please try and post you announce speed

Mine seems just a little faster then the original v3 one i converted - but would be nice to compare with other setups - although i know server will play some part.

Code is for v3 - dont try this on live site it will stop all torrents - they start again after removing edits

In announce.php under the first line <?php add
$GLOBALS['tstart'] = array_sum(explode(" ", microtime()));


find at the bottom
// NOW BENC THE DATA AND SEND TO CLIENT???


add above

$totaltime = array_sum(explode(" ", microtime())) - $GLOBALS['tstart'];
err("$totaltime");


Now in client pause & resume a torrent a few times to get the speed - speed will show in client message
Then remove the edits  :thumb
Last edited by M-jay warn on 2021-06-19 08:45:50
2021-06-21 19:54:35
Thanks m-jay! I didn’t even think about this for benchmarking
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 8
  • Members: 0
  • Guests online: 8
  • Comments: 3
  • Messages: 1,728