Announcement

Collapse
No announcement yet.

Performance question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Performance question

    I have written a large EFS that I am wondering if I can add some code to it to perform a bit better when first loaded on a chart.

    The code is meant to update on each new bar.

    When you first put the code on a chart it takes 2 seconds or so to run through all the bars on the chart--no big issue.

    But during this process all other functions in esignal stop!
    Data coming in, screen updates, everything stop for 2 seconds.

    I assume this is due to esignal being a single threaded application?

    So what I am wondering is there a statement I could add in my code that basically says "process all other events"
    This would maybe cause the code to take longer to run through all the bars, but it would eliminate the lock up that occurs.

    Any thoughts?

  • #2
    Hello philli4093,

    There isn't anything we can add to EFS code to control eSignal processes outside of your EFS. The 2 second delay you're experiencing could be minimized if you use a time template in your chart that loads up a limited amount of data so that the EFS will have less bars to process on the initial load of the EFS. Try that and see if that helps.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment

    Working...
    X