Jump to content

Recommended Posts

Posted

As a big fan of Helios, I am naturally interested in optimizing the LUA stuff that makes it all work, so I have a few questions as to how DCS handles this script.

 

1.) How often and when does it get run? Every frame?

 

2.) Is there a way to write and read from memory or is there any persistence between runs?

 

3.) Can I benchmark the performance of my scripts somehow?

I know if I press RCtrl+Pause twice, I get extended performance info and the second last line contains a LUA CPU load: what exactly is that? One core/thread?

 

4.) Would it be possible to offload the LUA stuff to a separate CPU core? If so, how?

 

I am a LUA noob but used to be quite good in Perl and PHP, so I hope I'll be able at some point to squeeze a bit more performance out of this. Live and learn as they say...

| i9 12900K |  64GB DDR5-6000 | STRIX RTX 4090 OC | LG 38GN950 38" |

| Hanns-G HT225HPB | TIR 5 & Varjo Aero | Virpil Throttle & Stick | TM TPRs |

You don't stop playing because you grow old, you grow old because you stop playing.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...