Measuring outbound traffic: Difference between revisions
m
no edit summary
(Restored the page from http://web.archive.org/web/20141227185601/https://wiki.zandronum.com/Measuring_outbound_traffic) |
mNo edit summary |
||
Line 1: | Line 1: | ||
Let's assume you're making a mod for Zandronum that does a lot of calculations, or uses heavy amounts of special effects. Maybe people are complaining that they lag out randomly after a while playing. Maybe you're just obsessive about performance. Anyway, there is a way to measure outbound traffic by actor and script. | Let's assume you're making a mod for Zandronum that does a lot of calculations, or uses heavy amounts of special effects. Maybe people are complaining that they lag out randomly after a while playing. Maybe you're just obsessive about performance. Anyway, there is a way to measure outbound traffic by actor and script. | ||
Enable | Enable <code>sv_measureoutboundtraffic</code> (that is, set it to 1) on the server. The moment you do this, the server will begin to keep a record on the amount of traffic coming out from it. Once you do that, you can use <code>dumptrafficmeasure</code> (again, on the server) to check these records. Use <code>cleartrafficmeasure</code> to reset these records. | ||
When you do a | When you do a <code>dumptrafficmeasure</code>, you'll see something like this: | ||
Network traffic (in bytes) caused by actor code pointers: | Network traffic (in bytes) caused by actor code pointers: |