Currently (tested on spotfire 10.10, python 3.7), even a very simple python data function takes about 2 to 3 seconds to execute on a machine with Intel i7-8750H 2.2GHz 6 core CPU, while as almost the same TERR data function can finish almost instantly.
Please improve Python data function performance, e.g.
improve performance of function spotfire.sbdf.export_data() which is used to pass python result back to spotfire. This function is very slow especially when data result is large.
Implemented in | 12.5 |
With Spotfire 12.5, the Python data function execution speed has been significantly improved. Beyond generic improvements, run-length encoding (RLE) compression is now enabled also for Python data functions, helping further to improve the overall experience by reducing the size of data, and therefore reducing network latency.
Learn more about what's new in Spotfire 12.5