[vlc-devel] [PATCH 2/4] ytdl: access module for YoutubeDL
Rémi Denis-Courmont
remi at remlab.net
Tue Sep 22 19:39:28 CEST 2020
Le tiistaina 22. syyskuuta 2020, 11.23.21 EEST Thomas Guillem a écrit :
> I would appreciate a small measurement of time being spent when ytdl is
> loaded and fails to parse the url.
A few hundreds of milliseconds, in my experience:
# time -p share/ytdl-extract.py http://localhost/
> If it's too slow, what about keeping the ytdl process alive (and waiting for
> requests) while vlc is alive ?
I did some quick benchmarks, but reusing the Python interpreter saved less
than 1%, and reusing the YoutubeDL object was below measurement error.
So no.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list