Alan Yorinks added the comment:
Additional information:
When using another example from PyMata,
examples/digital_analog_io/callback_digital_analog_io.py, by adding the line:
if sys.platform == 'linux':
# noinspection PyUnresolvedReferences
self.arduino.nonblocking()
Allowed the program to run without much noticeable lag. This program is a lot
less io intensive.
Also, setting the pyserial init option, writeTimeout, did not seem to affect
performance when running either test program.
I have run cProfile and ran the output through pyprof2calltree for the
polling_digital_analog_io.py example.
I am attaching the result of pyprof2calltree to a file called 3. I will provide
a similar file for the run with python 2.7.8 in an addtional comment (I can't
attach more than 1 file per comment).
----------
Added file: http://bugs.python.org/file37880/3
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23324>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com