After testing mplayer, AVSMeter and avsutil.exe, I've concluded that the fastest way to run an Avisynth script is through ffmpeg with a null output.

Here is a simple implementation, I may revise it after further tests.