Is there any details on the Arduino Serial throughput. I'm trying to poll digital pins and have my serial setup at 115200 baud/s but i am not getting anything close to this on my pc. This this setup i am getting somewhere between 3900 and 5,500 bit/s. I understand baud and bit are by no means equal but i wouldn't expect the overhead to be that much. Any notes or experiences i can sync my understanding with is greatly appreciated.
I am recording the output from the arduino via a serial terminal (screen -L /dev/ttyUSB0). So, the output from the arduino is being printed to the screen as im recording it. But the terminal is at a very low CPU usage so I assumed this was not the bottle neck.
Also, in my arduino code i have 2010 microseconds of set delay. Any other over head would be code from reading digital pins, writing out to digital pins. Is there a way to accurately measure code overhead?