How can I make a script to time Audacity?

I want to make a script that will time the reading of an .aup3 file and exporting it to a single .flac file, closing the project and exiting Audacity, essentially benchmarking Audacity for testing on multiple Windows systems. Could someone please show me how? I don’t know Python or how to use named pipes.