Feat(Perf): performance refactoring

Pavel Kuzmenko requested to merge kpn/perf_refactoring into master

master

startTime - 0.0031129981994628906

load siege -b -i -c1000 -t10S 'http://0.0.0.0:8081/api/classifiers/CAV'

Lifting the server siege...
Transactions:		         473 hits
Availability:		      100.00 %
Elapsed time:		        9.10 secs
Data transferred:	     1026.73 MB
Response time:		        3.87 secs
Transaction rate:	       51.98 trans/sec
Throughput:		      112.83 MB/sec
Concurrency:		      201.07
Successful transactions:         473
Failed transactions:	           0
Longest transaction:	        7.70
Shortest transaction:	        0.00

curent startTime - 0.002933979034423828

load siege -b -i -c1000 -t10S 'http://0.0.0.0:8081/api/classifiers/CAV'

Lifting the server siege...
Transactions:		         943 hits
Availability:		      100.00 %
Elapsed time:		        9.88 secs
Data transferred:	     2004.03 MB
Response time:		        2.57 secs
Transaction rate:	       95.45 trans/sec
Throughput:		      202.84 MB/sec
Concurrency:		      244.99
Successful transactions:         943
Failed transactions:	           0
Longest transaction:	        9.82
Shortest transaction:	        0.00
Edited by dmitry.mashoshin

Merge request reports