Hacker News new | ask | show | jobs
by ZnZirconium 2059 days ago
Neat. I compiled and installed the new release.

Compiling saves 1000ms of load time.

  $ time python youtube-dl-original --version                                                                                                             
  2020.11.01.1                                                                                                                                                                                                                                                                                                                                              
  real    0m1.474s                                                                                                                                                             
  user    0m1.356s                                                                                                                                                             
  sys     0m0.111s                                                                                                                                                             
  $ time python youtube-dl-compiled --version                                                                                                             
  2020.11.01.1                                                                                                                                                                                                                                                                                                                                              
  real    0m0.380s                                                                                                                                                             
  user    0m0.328s                                                                                                                                                             
  sys     0m0.049s
It might be nice if youtube-dl would be compiled to bytecode before release.