i3thuan5 / SuiSiann-KauTui

台灣媠聲標記網站
12 stars 3 forks source link

毋免suá檔案,改用filepath #351

Closed sih4sing5hong5 closed 2 years ago

sih4sing5hong5 commented 2 years ago

To use Django FileField or FilePathField?

bulk_create

$ time python manage.py mikilim_to_wav 
算音檔網址...
Studio B-cm.wav
Studio A-cm.wav
Reference- (3).wav
Reference- (2).wav
Reference- (5).wav
Reference- (1).wav
Reference- (4).wav
攏總3002條,tng-tih匯入
好勢

real    0m4.861s
user    0m4.122s
sys 0m0.829s

本底1條1條匯是5秒

$ time python manage.py mikilim_to_wav 
算音檔網址...
Studio B-cm.wav
Studio A-cm.wav
Reference- (3).wav
Reference- (2).wav
Reference- (5).wav
Reference- (1).wav
Reference- (4).wav

real    0m5.997s
user    0m5.309s
sys 0m0.864s

匯入3002檔案