blink1073 / oct2py

Run M Files from Python - GNU Octave to Python bridge
http://blink1073.github.io/oct2py/
MIT License
261 stars 54 forks source link

Calling function script takes 1.5 seconds #291

Open jrheisey opened 1 year ago

jrheisey commented 1 year ago

Setup

Observation

Things I've tried which were unsuccessful

Why does it take so long to call a simple function? Could something be misconfigured?

A response in the Octave forum said he could duplicate this behavior on Windows and Linux. It appears to be a limitation in Oct2Py.

jrheisey commented 1 year ago

I have worked around this issue by spawning the 'octave' command line tool and parsing stdout. This takes just 125 milliseconds.