feat(perf): delete reopen shelve
siege -c 10 -b -t 1m "http://0.0.0.0:8080/api/classifiers/CAV" - master
Memory - (virt: 185m res: 74m)
Transactions: 1117 hits
Availability: 100.00 %
Elapsed time: 59.15 secs
Data transferred: 2373.81 MB
Response time: 0.53 secs
Transaction rate: 18.88 trans/sec
Throughput: 40.13 MB/sec
Concurrency: 9.98
Successful transactions: 1117
Failed transactions: 0
Longest transaction: 1.09
Shortest transaction: 0.06
siege -c 10 -b -t 1m "http://0.0.0.0:8080/api/classifiers/CAV" - v0.21.0 (without shelve)
Memory - (virt: 218m res: 106m)
Transactions: 6160 hits
Availability: 100.00 %
Elapsed time: 59.26 secs
Data transferred: 13091.04 MB
Response time: 0.10 secs
Transaction rate: 103.95 trans/sec
Throughput: 220.91 MB/sec
Concurrency: 9.95
Successful transactions: 6160
Failed transactions: 0
Longest transaction: 0.18
Shortest transaction: 0.03
siege -c 10 -b -t 1m "http://0.0.0.0:8080/api/classifiers/CAV" - curent refactor
Memory - (virt: 1032m res: 40m)
Transactions: 16304 hits
Availability: 100.00 %
Elapsed time: 59.60 secs
Data transferred: 34648.75 MB
Response time: 0.04 secs
Transaction rate: 273.56 trans/sec
Throughput: 581.35 MB/sec
Concurrency: 9.92
Successful transactions: 16304
Failed transactions: 0
Longest transaction: 0.09
Shortest transaction: 0.02
Edited by Pavel Kuzmenko