01-18-2017 11:44 AM
Thanks for the help 🙂 Noticed some very interesting and surprising things and will be posting my observations and a new example to work with by the end of next week. It should make this exploration clearer. As you can see this is not a problem for me thus not a priority, just an exploration to get a little deeper. Would be nice to have some deeper information from inside NI 🙂
01-18-2017 12:11 PM
@jacemdom wrote:
Thanks for the help 🙂 Noticed some very interesting and surprising things and will be posting my observations...
Would be nice to have some deeper information from inside NI 🙂
Please share those when you have time.
Between Greg McKaskle, Stephen Mercer and Christian, I learned a lot oabout perfromance in the LV environment. It was not mentioned above so please let me share another tidbit.
Watch the "Windows Task Manager >>> Performance" tab (make sure you enable View >>> Show Kernal times) to see that most of your example code is NOT dominating the CPU and a lot of time is spent in Kernal mode (i.e. allocating memory usually).
Take care,
Ben
01-18-2017 12:27 PM
@Ben wrote:
I seem to recall Christian indicating the "reshape" can opearte in-place. I figure I can not go TOO wrong emulating Christian
I think you are recalling wrong. Long ago the help on reshape said that it is in place, but I proved that it not always was. Many improvements occurred since, so I don't know the current status.
Sorry, posting by phone, will look at this thread later. In the meantime look at the videos in my signature for potential issues when benchmarking. It is a minefield!
01-18-2017 01:47 PM - edited 01-18-2017 01:58 PM
I am a bit busy, so let's just look at the first code.
This does about the same with 10% of the code!:
(... and please save the ugly non-standard color scheme for the art exhibit. Such LabVIEW code is quite annoying. If you have problems with glare on the diagram, clean your glasses or have your eyes checked for cataract and such).