Survey the data transfer speed of ESP32-Wifi

Hello everyone, I’m newbie. I have to write a program to transfer data between two ESP32 kit over local wifi and survey the transmission speed between two kits. But i don’t know how to survey the data transfer speed. Can anyone help me to solve this problem ? Thank you very much

you are asking in a style: "Can someone write the completed code for me?"

keywords "I have to write a program" tells me you are at school or university and should write a program on your own.

"survey the data transfer speed"

How would you survey any kind of speed?
Imagine filling a bucket with water. How would you survey the time it needs to fill the bucket? You use the same basic principle for your task.

Answering the question Imagine filling a bucket with water. How would you survey the time it needs to fill the bucket? Leads to a much more specific question than the generalised question you have posted.

Same thing with "I'm a newbie". That is OK. Nevertheless you have to give more information to get adequat answers. How much newbie are you?

  • Are you a complete newbie to programming?
  • Are you a newbie about the ESP32 but quite experienced in programming in general?

The answers that will help will depend on giving this information.
And for "managing" this "project" some more information is important:

Is there a latest completion date? If yes what date is it?

The questions above are a boiled down version of this

best regards Stefan