Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 17:40:15 +0000



Post From: Python for Sierra Chart

[2022-01-15 23:11:43]
Kiwi - Posts: 375
I suspect the delay between SC calling the dll would be much greater than the time required to access a short file but file access time depends on what its stored on - mine are in my data directory which is on a linux ramdisk so that might not be much longer than the dtc access but if it was on a hdd that was spun down it could be quite slow.

Just doing a python read of a short file off my ramdisk shows about 10 microseconds to open, read, and close, however a different method shows 100 microseconds, which is still fast.

https://i.imgur.com/PPLKQ3s.png

Edit: a later test in C suggests around 45 microseconds so the first reading must be an error due to my testing method.
Date Time Of Last Edit: 2022-01-17 08:30:09