Author MrYsLab
Recipients MrYsLab, vstinner, willingc
Date 2015-01-27.14:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422370251.12.0.328255867181.issue23324@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2015-01-27 14:50:52MrYsLabsetrecipients: + MrYsLab, vstinner, willingc
2015-01-27 14:50:51MrYsLabsetmessageid: <1422370251.12.0.328255867181.issue23324@psf.upfronthosting.co.za>
2015-01-27 14:50:51MrYsLablinkissue23324 messages
2015-01-27 14:50:50MrYsLabcreate