testing the speed of ethernet sheild w5100

Hello friends I am involved in a project in which I am using Arduino Mega 2560 and I have placed Ethernet Shield W5100 on to it.In the testing phase I am required to check the speed of data transfer ..How can I do it..? any help will be appreciated. Thank You

Things I can think off

1) Get a second setup with Mega and W5100 shield. Connect them. Measure the time on the receiver from when the first byte arrives till the last byte arrives using a data packet of a fixed size.

or

2) Use wireshark on a computer. Connect Mega and computer directly via network port; run an application that can receive the data from the Mega (putty comes to mind). Use wireshark to monitor; it will timestamp received packets.

Note: I have no experience with ethernet shields.