kurusugawa-computer / annofab-cli

AnnofabのCLI(Command Line Interface)ツールです。
https://annofab-cli.readthedocs.io/ja/latest/
MIT License
9 stars 0 forks source link

[REQ][`input_data put`] 並列で登録できるようにする #150

Closed yuji38kwmt closed 4 years ago

yuji38kwmt commented 4 years ago

考えること

yuji38kwmt commented 4 years ago

入力データ画像10個を登録したときの時間

### 逐次処理
real    0m15.507s
user    0m3.196s
sys 0m0.303s

### 並列度:2
real    0m12.961s
user    0m3.232s
sys 0m0.338s

### 並列度:4
real    0m10.906s
user    0m3.243s
sys 0m0.273s
test_name1,file://tests/data/lenna.png,test_id1
test_name2,file://tests/data/lenna.png,test_id2
test_name3,file://tests/data/lenna.png,test_id3
test_name4,file://tests/data/lenna.png,test_id4
test_name5,file://tests/data/lenna.png,test_id5
test_name6,file://tests/data/lenna.png,test_id6
test_name4,file://tests/data/lenna.png,test_id7
test_name5,file://tests/data/lenna.png,test_id8
test_name6,file://tests/data/lenna.png,test_id9
test_name6,file://tests/data/lenna.png,test_id10