Description
Demo code used to show what you can do with VI Scripting. This VI takes the location of the VI you wish to benchmark and will create the benchmarking VI from scratch.
I do not pretend this is the best, nor most efficient, way of coding. This has been created as an illustration of what can be achieved with VI scripting.
An extension could be to do this for an array of Sub VIs and then log the run time of each Sub VI.
Requirements
LabVIEW 2012 +