Log in

View Full Version : Vapoursynth filtergraph benchmark


Earthnuker
10th August 2021, 22:30
Hello everyone,

i was wondering if it is possible to benchmark a Vapoursynth filter-graph to measure the timing of individual processing steps in a script.
I could probably build something using binary instrumentation that works without recompiling VS but I thought I'd ask before wasting time.

Best regards,

Earthnuker

Myrsloik
10th August 2021, 22:42
Hello everyone,

i was wondering if it is possible to benchmark a Vapoursynth filter-graph to measure the timing of individual processing steps in a script.
I could probably build something using binary instrumentation that works without recompiling VS but I thought I'd ask before wasting time.

Best regards,

Earthnuker

The new api test builds here
https://forum.doom9.org/showthread.php?t=183070
has "--filter-time" as a vspipe argument that will probably output what you want. There's also "--graph simple" that will output the full graph in graphviz format.

ChaosKing
10th August 2021, 23:19
This should mentioned in the api4 thread!

Btw you can render the graph online with https://dreampuf.github.io/GraphvizOnline

Very cool feature.