-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathout.py
35 lines (22 loc) · 36.3 KB
/
out.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
a = [{'calc': 0.02033257484436035, 'fetch_data': 0.0011353492736816406, 'upload': 0, 'init_model_fetch': 1.4723336696624756, 'dur': 2.237755060195923, 'fetch_model': 2.384185791015625e-07, 'reser': 0, 'convert': 0.1220712661743164, 'deser': 0.22336101531982422}, {'calc': 0.02275538444519043, 'fetch_data': 0.0013475418090820312, 'upload': 0, 'init_model_fetch': 1.1666865348815918, 'dur': 1.9222674369812012, 'fetch_model': 2.384185791015625e-07, 'reser': 0, 'convert': 0.17852401733398438, 'deser': 0.10507082939147949}, {'calc': 0.015927791595458984, 'fetch_data': 0.001155853271484375, 'dur': 1.8211331367492676, 'upload': 0, 'fetch_model': 2.384185791015625e-07, 'convert': 0.12220001220703125, 'init_model_fetch': 1.1794853210449219, 'reser': 0, 'deser': 0.11070036888122559}, {'calc': 0.021317481994628906, 'fetch_data': 0.0012483596801757812, 'upload': 0.4502584934234619, 'init_model_fetch': 1.1666865348815918, 'dur': 6.278726577758789, 'fetch_model': 2.1457672119140625e-06, 'reser': 0.01153421401977539, 'convert': 0.17709636688232422, 'deser': 0.10427713394165039}, {'calc': 0.0178375244140625, 'fetch_data': 0.0012729167938232422, 'upload': 0.37690067291259766, 'init_model_fetch': 1.1666865348815918, 'dur': 10.560070753097534, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.01034855842590332, 'convert': 0.24715542793273926, 'deser': 0.11209440231323242}, {'calc': 0.19226551055908203, 'fetch_data': 0.0010676383972167969, 'upload': 0.3239407539367676, 'init_model_fetch': 1.4723336696624756, 'dur': 14.229587078094482, 'fetch_model': 1.430511474609375e-06, 'reser': 0.006482362747192383, 'convert': 0.11907553672790527, 'deser': 0.17003774642944336}, {'calc': 0.013991117477416992, 'fetch_data': 0.0010390281677246094, 'upload': 0.4069209098815918, 'init_model_fetch': 1.4723336696624756, 'dur': 6.214782953262329, 'fetch_model': 2.1457672119140625e-06, 'reser': 0.012250423431396484, 'convert': 0.1218414306640625, 'deser': 0.1219477653503418}, {'calc': 0.014376401901245117, 'fetch_data': 0.001055002212524414, 'dur': 5.677758693695068, 'upload': 0.20810914039611816, 'fetch_model': 1.6689300537109375e-06, 'convert': 0.12557268142700195, 'init_model_fetch': 1.1794853210449219, 'reser': 0.012151241302490234, 'deser': 0.10669350624084473}, {'calc': 0.19950127601623535, 'fetch_data': 0.0010752677917480469, 'dur': 13.954485893249512, 'upload': 0.5297365188598633, 'fetch_model': 1.430511474609375e-06, 'convert': 0.12110376358032227, 'init_model_fetch': 1.1794853210449219, 'reser': 0.006562709808349609, 'deser': 0.12098908424377441}, {'calc': 0.014544010162353516, 'fetch_data': 0.0011930465698242188, 'dur': 21.77376937866211, 'upload': 0.3274874687194824, 'fetch_model': 1.1920928955078125e-06, 'convert': 0.12094521522521973, 'init_model_fetch': 1.1794853210449219, 'reser': 0.006658792495727539, 'deser': 0.11211419105529785}, {'calc': 0.09034562110900879, 'fetch_data': 0.0010371208190917969, 'upload': 0.2571737766265869, 'init_model_fetch': 1.4723336696624756, 'dur': 18.093419551849365, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.006509065628051758, 'convert': 0.12047004699707031, 'deser': 0.11925125122070312}, {'calc': 0.09045672416687012, 'fetch_data': 0.0010428428649902344, 'dur': 17.863363027572632, 'upload': 0.24872875213623047, 'fetch_model': 1.430511474609375e-06, 'convert': 0.1210775375366211, 'init_model_fetch': 1.1794853210449219, 'reser': 0.010579586029052734, 'deser': 0.16789579391479492}, {'calc': 0.08829569816589355, 'fetch_data': 0.001251220703125, 'upload': 0.7626609802246094, 'init_model_fetch': 1.1666865348815918, 'dur': 19.729233741760254, 'fetch_model': 1.9073486328125e-06, 'reser': 0.008101463317871094, 'convert': 0.17717576026916504, 'deser': 0.11439895629882812}, {'calc': 0.18864154815673828, 'fetch_data': 0.0012688636779785156, 'upload': 0.3715088367462158, 'init_model_fetch': 1.1666865348815918, 'dur': 15.023740530014038, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.011409997940063477, 'convert': 0.1765284538269043, 'deser': 0.31251025199890137}, {'calc': 0.014109611511230469, 'fetch_data': 0.001117706298828125, 'upload': 0.1972341537475586, 'init_model_fetch': 1.4723336696624756, 'dur': 21.959577322006226, 'fetch_model': 1.430511474609375e-06, 'reser': 0.0066661834716796875, 'convert': 0.12022805213928223, 'deser': 0.15268826484680176}, {'calc': 0.19916152954101562, 'fetch_data': 0.001050710678100586, 'upload': 0.3243885040283203, 'init_model_fetch': 1.4723336696624756, 'dur': 30.14379906654358, 'fetch_model': 1.430511474609375e-06, 'reser': 0.006451845169067383, 'convert': 0.12008881568908691, 'deser': 0.12206888198852539}, {'calc': 0.09099483489990234, 'fetch_data': 0.0010504722595214844, 'upload': 0.33800840377807617, 'init_model_fetch': 1.4723336696624756, 'dur': 34.11721324920654, 'fetch_model': 1.9073486328125e-06, 'reser': 0.010756492614746094, 'convert': 0.11852002143859863, 'deser': 0.11702775955200195}, {'calc': 0.021670818328857422, 'fetch_data': 0.0013272762298583984, 'upload': 0.42920565605163574, 'init_model_fetch': 1.1666865348815918, 'dur': 24.179233074188232, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.0074138641357421875, 'convert': 0.17638158798217773, 'deser': 0.2247633934020996}, {'calc': 0.014967679977416992, 'fetch_data': 0.0011234283447265625, 'upload': 0.2112116813659668, 'init_model_fetch': 1.4723336696624756, 'dur': 38.63530421257019, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.006421566009521484, 'convert': 0.12295651435852051, 'deser': 0.8679749965667725}, {'calc': 0.08907794952392578, 'fetch_data': 0.0012600421905517578, 'upload': 0.4025852680206299, 'init_model_fetch': 1.1666865348815918, 'dur': 37.303759813308716, 'fetch_model': 1.9073486328125e-06, 'reser': 0.012132644653320312, 'convert': 0.1857166290283203, 'deser': 0.11066412925720215}, {'calc': 0.19597721099853516, 'fetch_data': 0.005121469497680664, 'dur': 29.733317852020264, 'upload': 0.3251357078552246, 'fetch_model': 1.1920928955078125e-06, 'convert': 0.13109350204467773, 'init_model_fetch': 1.1794853210449219, 'reser': 0.006302833557128906, 'deser': 0.15748214721679688}, {'calc': 0.014151573181152344, 'fetch_data': 0.0010340213775634766, 'dur': 9.8953115940094, 'upload': 0.5073390007019043, 'fetch_model': 1.430511474609375e-06, 'convert': 0.19454622268676758, 'init_model_fetch': 1.1794853210449219, 'reser': 0.011194944381713867, 'deser': 0.1886303424835205}, {'calc': 0.21153593063354492, 'fetch_data': 0.0012240409851074219, 'upload': 0.5006563663482666, 'init_model_fetch': 1.1666865348815918, 'dur': 32.98402452468872, 'fetch_model': 1.9073486328125e-06, 'reser': 0.01219940185546875, 'convert': 0.17695116996765137, 'deser': 0.14673447608947754}, {'calc': 0.018276214599609375, 'fetch_data': 0.0013191699981689453, 'fetch_model': 2.384185791015625e-07, 'upload': 0, 'init_model_fetch': 1.141084909439087, 'dur': 1.8865761756896973, 'reser': 0, 'convert': 0.17466521263122559, 'deser': 0.11715841293334961}, {'calc': 0.021820783615112305, 'fetch_data': 0.0013163089752197266, 'upload': 0.43646860122680664, 'init_model_fetch': 1.1666865348815918, 'dur': 41.80187487602234, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.008166790008544922, 'convert': 0.1766195297241211, 'deser': 0.28747034072875977}, {'calc': 0.014088869094848633, 'fetch_data': 0.001032114028930664, 'upload': 0.5120689868927002, 'init_model_fetch': 1.4723336696624756, 'dur': 10.243653535842896, 'fetch_model': 1.430511474609375e-06, 'reser': 0.011068582534790039, 'convert': 0.19129729270935059, 'deser': 0.10751032829284668}, {'calc': 0.014020442962646484, 'fetch_data': 0.0010540485382080078, 'dur': 25.795088052749634, 'upload': 0.4762277603149414, 'fetch_model': 1.430511474609375e-06, 'convert': 0.19886541366577148, 'init_model_fetch': 1.1794853210449219, 'reser': 0.010688304901123047, 'deser': 0.10437321662902832}, {'calc': 0.09149026870727539, 'fetch_data': 0.0010609626770019531, 'dur': 33.61234760284424, 'upload': 0.3509345054626465, 'fetch_model': 1.430511474609375e-06, 'convert': 0.12102794647216797, 'init_model_fetch': 1.1794853210449219, 'reser': 0.006944417953491211, 'deser': 0.1032419204711914}, {'calc': 0.02124619483947754, 'fetch_data': 0.005265474319458008, 'fetch_model': 1.9073486328125e-06, 'upload': 0.4795072078704834, 'init_model_fetch': 1.141084909439087, 'dur': 10.772953033447266, 'reser': 0.015250682830810547, 'convert': 0.24527215957641602, 'deser': 0.1602332592010498}, {'calc': 0.01773977279663086, 'fetch_data': 0.0012595653533935547, 'upload': 0.34527587890625, 'init_model_fetch': 1.1666865348815918, 'dur': 28.44484806060791, 'fetch_model': 2.1457672119140625e-06, 'reser': 0.008368968963623047, 'convert': 0.2478024959564209, 'deser': 0.1533041000366211}, {'calc': 0.015036582946777344, 'fetch_data': 0.001062154769897461, 'upload': 0.5207853317260742, 'init_model_fetch': 1.4723336696624756, 'dur': 26.17738151550293, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.006628751754760742, 'convert': 0.1961374282836914, 'deser': 0.20125269889831543}, {'calc': 0.019464492797851562, 'fetch_data': 0.0011050701141357422, 'dur': 2.100212335586548, 'upload': 0, 'fetch_model': 2.384185791015625e-07, 'init_model_fetch': 1.2718958854675293, 'reser': 0, 'convert': 0.12250232696533203, 'deser': 0.2785794734954834}, {'calc': 0.01569533348083496, 'dur': 2.421637773513794, 'upload': 0, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 4.76837158203125e-07, 'fetch_data': 0.0011310577392578125, 'reser': 0, 'convert': 0.12181878089904785, 'deser': 0.47364354133605957}, {'calc': 0.014046192169189453, 'fetch_data': 0.001168966293334961, 'dur': 37.56935167312622, 'upload': 0.366558313369751, 'fetch_model': 1.430511474609375e-06, 'convert': 0.12629127502441406, 'init_model_fetch': 1.1794853210449219, 'reser': 0.006696224212646484, 'deser': 0.238358736038208}, {'calc': 0.18927812576293945, 'fetch_data': 0.0012340545654296875, 'fetch_model': 1.9073486328125e-06, 'upload': 0.6614224910736084, 'init_model_fetch': 1.141084909439087, 'dur': 15.411046028137207, 'reser': 0.007503032684326172, 'convert': 0.18130826950073242, 'deser': 0.10297155380249023}, {'calc': 0.0890500545501709, 'fetch_data': 0.001247406005859375, 'fetch_model': 1.9073486328125e-06, 'upload': 0.22159767150878906, 'init_model_fetch': 1.141084909439087, 'dur': 19.715667486190796, 'reser': 0.007947444915771484, 'convert': 0.17380142211914062, 'deser': 0.20343828201293945}, {'calc': 0.020893335342407227, 'fetch_data': 0.0013155937194824219, 'fetch_model': 2.1457672119140625e-06, 'upload': 0.30435657501220703, 'init_model_fetch': 1.141084909439087, 'dur': 23.987009048461914, 'reser': 0.007957696914672852, 'convert': 0.17434930801391602, 'deser': 0.1154475212097168}, {'calc': 0.017045021057128906, 'fetch_data': 0.0012402534484863281, 'fetch_model': 2.384185791015625e-06, 'upload': 0.2549285888671875, 'init_model_fetch': 1.141084909439087, 'dur': 28.18584442138672, 'reser': 0.008074283599853516, 'convert': 0.24606633186340332, 'deser': 0.11687803268432617}, {'calc': 0.23007607460021973, 'dur': 14.578402996063232, 'upload': 0.3461737632751465, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.0010304450988769531, 'reser': 0.00618433952331543, 'convert': 0.11835908889770508, 'deser': 0.10403132438659668}, {'calc': 0.019379377365112305, 'fetch_data': 0.001230001449584961, 'fetch_model': 1.9073486328125e-06, 'upload': 0.4177536964416504, 'init_model_fetch': 1.141084909439087, 'dur': 6.250219345092773, 'reser': 0.015992164611816406, 'convert': 0.1745903491973877, 'deser': 0.09504222869873047}, {'calc': 0.014009237289428711, 'fetch_data': 0.0010523796081542969, 'dur': 6.209697484970093, 'upload': 0.4757511615753174, 'fetch_model': 1.1920928955078125e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.011790990829467773, 'convert': 0.12768959999084473, 'deser': 0.10944390296936035}, {'calc': 0.013933658599853516, 'fetch_data': 0.001138925552368164, 'dur': 21.677810668945312, 'upload': 0.19778704643249512, 'fetch_model': 1.430511474609375e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.00647282600402832, 'convert': 0.11904740333557129, 'deser': 0.09158778190612793}, {'calc': 0.014614343643188477, 'dur': 10.499147891998291, 'upload': 0.17061996459960938, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.430511474609375e-06, 'fetch_data': 0.0010318756103515625, 'reser': 0.014391183853149414, 'convert': 0.19534039497375488, 'deser': 0.16394519805908203}, {'calc': 0.19196391105651855, 'fetch_data': 0.0012392997741699219, 'fetch_model': 1.6689300537109375e-06, 'upload': 0.234421968460083, 'init_model_fetch': 1.141084909439087, 'dur': 32.44818139076233, 'reser': 0.01218271255493164, 'convert': 0.17383313179016113, 'deser': 0.15233683586120605}, {'calc': 0.014360427856445312, 'fetch_data': 0.0010294914245605469, 'dur': 10.212219953536987, 'upload': 0.38837599754333496, 'fetch_model': 1.1920928955078125e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.014741897583007812, 'convert': 0.19659090042114258, 'deser': 0.08451509475708008}, {'calc': 0.018637418746948242, 'fetch_data': 0.0010461807250976562, 'dur': 25.573501110076904, 'upload': 0.24039745330810547, 'fetch_model': 1.430511474609375e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.006123065948486328, 'convert': 0.20972561836242676, 'deser': 0.12197351455688477}, {'calc': 0.01504826545715332, 'fetch_data': 0.0011272430419921875, 'fetch_model': 2.384185791015625e-07, 'upload': 0, 'init_model_fetch': 1.2282977104187012, 'dur': 1.9285469055175781, 'reser': 0, 'convert': 0.1171107292175293, 'deser': 0.1635897159576416}, {'calc': 0.1935420036315918, 'fetch_data': 0.001027822494506836, 'dur': 14.027698516845703, 'upload': 0.22420120239257812, 'fetch_model': 1.1920928955078125e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.006257057189941406, 'convert': 0.11961793899536133, 'deser': 0.12384700775146484}, {'calc': 0.09398317337036133, 'dur': 18.844837188720703, 'upload': 0.577122688293457, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.9073486328125e-06, 'fetch_data': 0.0010399818420410156, 'reser': 0.0062923431396484375, 'convert': 0.11997294425964355, 'deser': 0.11639833450317383}, {'calc': 0.20384836196899414, 'dur': 31.68024206161499, 'upload': 0.5608499050140381, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.0010380744934082031, 'reser': 0.006667613983154297, 'convert': 0.12047696113586426, 'deser': 0.1387166976928711}, {'calc': 0.018317461013793945, 'dur': 6.575024366378784, 'upload': 0.41348981857299805, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.0010349750518798828, 'reser': 0.011758804321289062, 'convert': 0.12227702140808105, 'deser': 0.12604475021362305}, {'calc': 0.09027576446533203, 'fetch_data': 0.0012340545654296875, 'fetch_model': 1.9073486328125e-06, 'upload': 0.37100863456726074, 'init_model_fetch': 1.141084909439087, 'dur': 36.7595272064209, 'reser': 0.008137226104736328, 'convert': 0.17399859428405762, 'deser': 0.10035085678100586}, {'calc': 0.018462657928466797, 'fetch_data': 0.0010628700256347656, 'fetch_model': 1.430511474609375e-06, 'upload': 0.40715646743774414, 'init_model_fetch': 1.2282977104187012, 'dur': 10.443873405456543, 'reser': 0.010602712631225586, 'convert': 0.2020432949066162, 'deser': 0.17368459701538086}, {'calc': 0.01831197738647461, 'fetch_data': 0.0010342597961425781, 'fetch_model': 1.1920928955078125e-06, 'upload': 0.4480574131011963, 'init_model_fetch': 1.2282977104187012, 'dur': 6.179021596908569, 'reser': 0.011759281158447266, 'convert': 0.11935162544250488, 'deser': 0.1280364990234375}, {'calc': 0.0172274112701416, 'fetch_data': 0.0014562606811523438, 'fetch_model': 2.1457672119140625e-06, 'upload': 0.6315329074859619, 'init_model_fetch': 1.141084909439087, 'dur': 41.40517783164978, 'reser': 0.00824737548828125, 'convert': 0.1736607551574707, 'deser': 0.27493715286254883}, {'calc': 0.01853013038635254, 'fetch_data': 0.001112222671508789, 'dur': 37.38086271286011, 'upload': 0.2216482162475586, 'fetch_model': 1.6689300537109375e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.006725311279296875, 'convert': 0.12457442283630371, 'deser': 0.21105742454528809}, {'calc': 0.09250926971435547, 'fetch_data': 0.0010781288146972656, 'fetch_model': 1.430511474609375e-06, 'upload': 0.31925344467163086, 'init_model_fetch': 1.2282977104187012, 'dur': 18.776306867599487, 'reser': 0.006513118743896484, 'convert': 0.11787152290344238, 'deser': 0.3334815502166748}, {'calc': 0.020325422286987305, 'fetch_data': 0.001316070556640625, 'dur': 1.916562557220459, 'upload': 0, 'convert': 0.16557765007019043, 'init_model_fetch': 1.157503366470337, 'fetch_model': 4.76837158203125e-07, 'reser': 0, 'deser': 0.1066737174987793}, {'calc': 0.08652925491333008, 'fetch_data': 0.0010302066802978516, 'dur': 17.890381574630737, 'upload': 0.21722960472106934, 'fetch_model': 1.430511474609375e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.006293773651123047, 'convert': 0.12015962600708008, 'deser': 0.12226009368896484}, {'calc': 0.017125606536865234, 'fetch_data': 0.0012285709381103516, 'dur': 10.505708932876587, 'upload': 0.24486589431762695, 'convert': 0.24511384963989258, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.010967254638671875, 'deser': 0.09268331527709961}, {'calc': 0.0930168628692627, 'dur': 35.911765575408936, 'upload': 0.4320847988128662, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.430511474609375e-06, 'fetch_data': 0.0010409355163574219, 'reser': 0.006352663040161133, 'convert': 0.12018561363220215, 'deser': 0.1451122760772705}, {'calc': 0.015228986740112305, 'dur': 23.250577211380005, 'upload': 0.7201099395751953, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.0011153221130371094, 'reser': 0.0069561004638671875, 'convert': 0.11856842041015625, 'deser': 0.08666682243347168}, {'calc': 0.01707768440246582, 'fetch_data': 0.0012259483337402344, 'dur': 6.235463619232178, 'upload': 0.29469728469848633, 'convert': 0.17394709587097168, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.011710882186889648, 'deser': 0.11228132247924805}, {'calc': 0.01526021957397461, 'dur': 27.351171255111694, 'upload': 0.4172084331512451, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.430511474609375e-06, 'fetch_data': 0.0010592937469482422, 'reser': 0.006929874420166016, 'convert': 0.20229411125183105, 'deser': 0.0896005630493164}, {'calc': 0.017084121704101562, 'fetch_data': 0.00112152099609375, 'dur': 1.9639034271240234, 'upload': 0, 'fetch_model': 4.76837158203125e-07, 'convert': 0.12189412117004395, 'init_model_fetch': 1.2863833904266357, 'reser': 0, 'deser': 0.09642219543457031}, {'calc': 0.014934062957763672, 'fetch_data': 0.0010395050048828125, 'dur': 10.28895902633667, 'upload': 0.4784202575683594, 'fetch_model': 1.430511474609375e-06, 'convert': 0.19634366035461426, 'init_model_fetch': 1.2863833904266357, 'reser': 0.008867740631103516, 'deser': 0.10129380226135254}, {'calc': 0.02091073989868164, 'fetch_data': 0.0013132095336914062, 'dur': 23.920053482055664, 'upload': 0.6229190826416016, 'convert': 0.17271924018859863, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.011887073516845703, 'deser': 0.287738561630249}, {'calc': 0.09560322761535645, 'fetch_data': 0.001110076904296875, 'dur': 33.526641607284546, 'upload': 0.2803010940551758, 'fetch_model': 1.1920928955078125e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.00667262077331543, 'convert': 0.12122774124145508, 'deser': 0.1568586826324463}, {'calc': 0.09812140464782715, 'fetch_data': 0.001051187515258789, 'dur': 18.811593532562256, 'upload': 0.5086703300476074, 'fetch_model': 1.430511474609375e-06, 'convert': 0.11589694023132324, 'init_model_fetch': 1.2863833904266357, 'reser': 0.010686635971069336, 'deser': 0.13622021675109863}, {'calc': 0.014420270919799805, 'fetch_data': 0.0010547637939453125, 'dur': 6.035487651824951, 'upload': 0.33962130546569824, 'fetch_model': 1.1920928955078125e-06, 'convert': 0.12027859687805176, 'init_model_fetch': 1.2863833904266357, 'reser': 0.012119531631469727, 'deser': 0.11075329780578613}, {'calc': 0.20513486862182617, 'fetch_data': 0.0010547637939453125, 'dur': 29.497522592544556, 'upload': 0.3197472095489502, 'fetch_model': 1.430511474609375e-06, 'init_model_fetch': 1.2718958854675293, 'reser': 0.006754875183105469, 'convert': 0.1222991943359375, 'deser': 0.09802865982055664}, {'calc': 0.017162799835205078, 'fetch_data': 0.0012316703796386719, 'dur': 28.416998147964478, 'upload': 0.42906904220581055, 'convert': 0.24593639373779297, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.430511474609375e-06, 'reser': 0.00757145881652832, 'deser': 0.13974475860595703}, {'calc': 0.18977069854736328, 'fetch_data': 0.001224517822265625, 'dur': 14.828229665756226, 'upload': 0.19605541229248047, 'convert': 0.1682758331298828, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.014873743057250977, 'deser': 0.07562065124511719}, {'calc': 0.2126481533050537, 'fetch_data': 0.0010395050048828125, 'fetch_model': 1.430511474609375e-06, 'upload': 0.7993826866149902, 'init_model_fetch': 1.2282977104187012, 'dur': 31.795307397842407, 'reser': 0.006612300872802734, 'convert': 0.11819601058959961, 'deser': 0.12182950973510742}, {'calc': 0.018628597259521484, 'dur': 39.87708878517151, 'upload': 0.1976146697998047, 'init_model_fetch': 1.3721957206726074, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.005257368087768555, 'reser': 0.006466865539550781, 'convert': 0.12064695358276367, 'deser': 0.24873042106628418}, {'calc': 0.01850104331970215, 'fetch_data': 0.0011513233184814453, 'dur': 38.995556354522705, 'upload': 0.3848147392272949, 'fetch_model': 1.1920928955078125e-06, 'convert': 0.1196143627166748, 'init_model_fetch': 1.2863833904266357, 'reser': 0.007215738296508789, 'deser': 0.21978545188903809}, {'calc': 0.21091151237487793, 'fetch_data': 0.0011548995971679688, 'fetch_model': 1.430511474609375e-06, 'upload': 0.20486664772033691, 'init_model_fetch': 1.2282977104187012, 'dur': 14.439350366592407, 'reser': 0.006551027297973633, 'convert': 0.1202535629272461, 'deser': 0.15474390983581543}, {'calc': 0.01609182357788086, 'fetch_data': 0.0011444091796875, 'fetch_model': 2.384185791015625e-07, 'upload': 0, 'convert': 0.12334465980529785, 'init_model_fetch': 1.2719907760620117, 'reser': 0, 'dur': 1.9768774509429932, 'deser': 0.13152480125427246}, {'calc': 0.014322996139526367, 'fetch_data': 0.0011000633239746094, 'dur': 26.87088704109192, 'upload': 0.38303160667419434, 'fetch_model': 1.6689300537109375e-06, 'convert': 0.19831633567810059, 'init_model_fetch': 1.2863833904266357, 'reser': 0.006604433059692383, 'deser': 0.1343843936920166}, {'calc': 0.0917665958404541, 'fetch_data': 0.0012297630310058594, 'dur': 37.1266655921936, 'upload': 0.3362085819244385, 'convert': 0.17146754264831543, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.9073486328125e-06, 'reser': 0.007898330688476562, 'deser': 0.11959981918334961}, {'calc': 0.015024185180664062, 'fetch_data': 0.0011620521545410156, 'fetch_model': 1.6689300537109375e-06, 'upload': 0.22264862060546875, 'init_model_fetch': 1.2282977104187012, 'dur': 27.220081329345703, 'reser': 0.006415128707885742, 'convert': 0.19777655601501465, 'deser': 0.14217138290405273}, {'calc': 0.20619654655456543, 'fetch_data': 0.0011615753173828125, 'dur': 30.862072229385376, 'upload': 0.2082056999206543, 'fetch_model': 1.1920928955078125e-06, 'convert': 0.11969614028930664, 'init_model_fetch': 1.2863833904266357, 'reser': 0.0063018798828125, 'deser': 0.12438368797302246}, {'calc': 0.20784759521484375, 'fetch_data': 0.0010104179382324219, 'fetch_model': 1.430511474609375e-06, 'upload': 0.21145057678222656, 'convert': 0.12909793853759766, 'init_model_fetch': 1.2719907760620117, 'reser': 0.010489702224731445, 'dur': 14.30197525024414, 'deser': 0.13818717002868652}, {'calc': 0.09387350082397461, 'fetch_data': 0.0010602474212646484, 'dur': 34.880123138427734, 'upload': 0.28299450874328613, 'fetch_model': 1.1920928955078125e-06, 'convert': 0.11990952491760254, 'init_model_fetch': 1.2863833904266357, 'reser': 0.006509304046630859, 'deser': 0.1179049015045166}, {'calc': 0.21331024169921875, 'fetch_data': 0.0010631084442138672, 'dur': 14.516358137130737, 'upload': 0.47420763969421387, 'fetch_model': 1.430511474609375e-06, 'convert': 0.11822938919067383, 'init_model_fetch': 1.2863833904266357, 'reser': 0.010612249374389648, 'deser': 0.13282299041748047}, {'calc': 0.022096872329711914, 'fetch_data': 0.0013129711151123047, 'upload': 0, 'init_model_fetch': 1.3121471405029297, 'dur': 2.097646713256836, 'fetch_model': 2.384185791015625e-07, 'reser': 0, 'convert': 0.17438292503356934, 'deser': 0.13451504707336426}, {'calc': 0.09395885467529297, 'fetch_data': 0.0010454654693603516, 'fetch_model': 1.1920928955078125e-06, 'upload': 0.3987300395965576, 'init_model_fetch': 1.2282977104187012, 'dur': 36.282973289489746, 'reser': 0.006777524948120117, 'convert': 0.12041902542114258, 'deser': 0.40339207649230957}, {'calc': 0.017145395278930664, 'fetch_data': 0.0012226104736328125, 'upload': 0.1842963695526123, 'init_model_fetch': 1.3121471405029297, 'dur': 11.153408527374268, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.010860681533813477, 'convert': 0.24691510200500488, 'deser': 0.10647034645080566}, {'calc': 0.01405787467956543, 'fetch_data': 0.0011436939239501953, 'fetch_model': 1.1920928955078125e-06, 'upload': 0.6324276924133301, 'init_model_fetch': 1.2282977104187012, 'dur': 23.167267084121704, 'reser': 0.0065534114837646484, 'convert': 0.11721467971801758, 'deser': 0.13802409172058105}, {'calc': 0.09105348587036133, 'fetch_data': 0.0012314319610595703, 'dur': 19.086411237716675, 'upload': 0.1995234489440918, 'convert': 0.1677408218383789, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.9073486328125e-06, 'reser': 0.008011102676391602, 'deser': 0.12422537803649902}, {'calc': 0.018687963485717773, 'fetch_model': 1.6689300537109375e-06, 'dur': 6.639956712722778, 'upload': 0.7401471138000488, 'init_model_fetch': 1.3300316333770752, 'convert': 0.12402725219726562, 'fetch_data': 0.0010294914245605469, 'reser': 0.016315221786499023, 'deser': 0.1702120304107666}, {'calc': 0.014508485794067383, 'fetch_data': 0.0010378360748291016, 'fetch_model': 1.1920928955078125e-06, 'upload': 0.35108280181884766, 'convert': 0.19960832595825195, 'init_model_fetch': 1.2719907760620117, 'reser': 0.006180763244628906, 'dur': 26.94839072227478, 'deser': 0.12179255485534668}, {'calc': 0.19510912895202637, 'fetch_data': 0.001233816146850586, 'dur': 32.717915534973145, 'upload': 0.1925342082977295, 'convert': 0.1718904972076416, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.007344245910644531, 'deser': 0.11802554130554199}, {'calc': 0.014167547225952148, 'fetch_data': 0.0011165142059326172, 'fetch_model': 1.6689300537109375e-06, 'upload': 0.36960935592651367, 'init_model_fetch': 1.2282977104187012, 'dur': 40.45751714706421, 'reser': 0.0069425106048583984, 'convert': 0.11912155151367188, 'deser': 0.261260986328125}, {'calc': 0.021046161651611328, 'fetch_data': 0.0012335777282714844, 'upload': 0.575692892074585, 'init_model_fetch': 1.3121471405029297, 'dur': 6.8441596031188965, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.011795997619628906, 'convert': 0.17398500442504883, 'deser': 0.13950777053833008}, {'calc': 0.014721870422363281, 'fetch_data': 0.0010223388671875, 'fetch_model': 1.430511474609375e-06, 'upload': 0.18384695053100586, 'convert': 0.12396788597106934, 'init_model_fetch': 1.2719907760620117, 'reser': 0.011955499649047852, 'dur': 6.053815603256226, 'deser': 0.15918970108032227}, {'calc': 0.014360666275024414, 'fetch_data': 0.0012612342834472656, 'dur': 22.783714294433594, 'upload': 0.23817944526672363, 'fetch_model': 1.430511474609375e-06, 'convert': 0.12029910087585449, 'init_model_fetch': 1.2863833904266357, 'reser': 0.0067043304443359375, 'deser': 0.0979607105255127}, {'calc': 0.021029233932495117, 'fetch_data': 0.0013506412506103516, 'upload': 0.5067164897918701, 'init_model_fetch': 1.3121471405029297, 'dur': 24.86754584312439, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.007659912109375, 'convert': 0.17230629920959473, 'deser': 0.1435701847076416}, {'calc': 0.018466711044311523, 'fetch_data': 0.0011181831359863281, 'fetch_model': 1.430511474609375e-06, 'upload': 0.37085938453674316, 'convert': 0.13112235069274902, 'init_model_fetch': 1.2719907760620117, 'reser': 0.0062792301177978516, 'dur': 22.854689359664917, 'deser': 0.13090848922729492}, {'calc': 0.01455998420715332, 'fetch_data': 0.0010178089141845703, 'fetch_model': 1.430511474609375e-06, 'upload': 0.40404438972473145, 'convert': 0.1995105743408203, 'init_model_fetch': 1.2719907760620117, 'reser': 0.010870933532714844, 'dur': 10.256637573242188, 'deser': 0.11371493339538574}, {'calc': 0.016083955764770508, 'fetch_model': 4.76837158203125e-07, 'dur': 2.019859790802002, 'upload': 0, 'init_model_fetch': 1.3300316333770752, 'convert': 0.11905026435852051, 'fetch_data': 0.0011429786682128906, 'reser': 0, 'deser': 0.12301778793334961}, {'calc': 0.018715858459472656, 'fetch_model': 1.1920928955078125e-06, 'dur': 24.9320867061615, 'upload': 0.46921753883361816, 'init_model_fetch': 1.3300316333770752, 'convert': 0.11838364601135254, 'fetch_data': 0.001130819320678711, 'reser': 0.0068590641021728516, 'deser': 0.09304022789001465}, {'calc': 0.21094107627868652, 'fetch_model': 1.430511474609375e-06, 'dur': 16.597043991088867, 'upload': 0.27492666244506836, 'init_model_fetch': 1.3300316333770752, 'convert': 0.12176895141601562, 'fetch_data': 0.0010313987731933594, 'reser': 0.010277271270751953, 'deser': 1.7265055179595947}, {'calc': 0.21947669982910156, 'fetch_data': 0.0010235309600830078, 'fetch_model': 1.430511474609375e-06, 'upload': 0.44046664237976074, 'convert': 0.11993885040283203, 'init_model_fetch': 1.2719907760620117, 'reser': 0.006539344787597656, 'dur': 31.249908208847046, 'deser': 0.14769864082336426}, {'calc': 0.014241456985473633, 'fetch_model': 1.1920928955078125e-06, 'dur': 10.945362567901611, 'upload': 0.3887946605682373, 'init_model_fetch': 1.3300316333770752, 'convert': 0.198075532913208, 'fetch_data': 0.001049041748046875, 'reser': 0.0068514347076416016, 'deser': 0.23386263847351074}, {'calc': 0.014259576797485352, 'fetch_model': 1.1920928955078125e-06, 'dur': 29.247180700302124, 'upload': 0.3939051628112793, 'init_model_fetch': 1.3300316333770752, 'convert': 0.19915413856506348, 'fetch_data': 0.0010471343994140625, 'reser': 0.006497383117675781, 'deser': 0.14167523384094238}, {'calc': 0.09524297714233398, 'fetch_data': 0.0011487007141113281, 'fetch_model': 1.430511474609375e-06, 'upload': 0.509570837020874, 'convert': 0.12243795394897461, 'init_model_fetch': 1.2719907760620117, 'reser': 0.010406970977783203, 'dur': 18.67021918296814, 'deser': 0.14727449417114258}, {'calc': 0.19825053215026855, 'fetch_data': 0.0012199878692626953, 'upload': 0.2266852855682373, 'init_model_fetch': 1.3121471405029297, 'dur': 33.94245934486389, 'fetch_model': 1.430511474609375e-06, 'reser': 0.007657527923583984, 'convert': 0.1686251163482666, 'deser': 0.10273098945617676}, {'calc': 0.09758329391479492, 'fetch_data': 0.0012423992156982422, 'upload': 0.43344664573669434, 'init_model_fetch': 1.3121471405029297, 'dur': 38.606865882873535, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.008005619049072266, 'convert': 0.17291688919067383, 'deser': 0.18230199813842773}, {'calc': 0.021138906478881836, 'fetch_data': 0.00131988525390625, 'dur': 41.61757946014404, 'upload': 0.4379546642303467, 'convert': 0.1719343662261963, 'init_model_fetch': 1.157503366470337, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.011707305908203125, 'deser': 0.1993107795715332}, {'calc': 0.09537267684936523, 'fetch_model': 1.1920928955078125e-06, 'dur': 20.707267999649048, 'upload': 0.35693812370300293, 'init_model_fetch': 1.3300316333770752, 'convert': 0.11592364311218262, 'fetch_data': 0.0010547637939453125, 'reser': 0.006366729736328125, 'deser': 0.11513423919677734}, {'calc': 0.02133488655090332, 'fetch_model': 1.9073486328125e-06, 'fetch_data': 0.0012443065643310547, 'upload': 0.4158968925476074, 'dur': 11.30073618888855, 'init_model_fetch': 1.230043888092041, 'reser': 0.010999202728271484, 'convert': 0.2353508472442627, 'deser': 0.1060795783996582}, {'calc': 0.01427912712097168, 'fetch_model': 1.1920928955078125e-06, 'dur': 42.27082300186157, 'upload': 0.6602418422698975, 'init_model_fetch': 1.3300316333770752, 'convert': 0.11745643615722656, 'fetch_data': 0.0011143684387207031, 'reser': 0.006489992141723633, 'deser': 0.1869666576385498}, {'calc': 0.018306970596313477, 'fetch_model': 2.384185791015625e-07, 'fetch_data': 0.00131988525390625, 'upload': 0, 'dur': 2.032996416091919, 'init_model_fetch': 1.230043888092041, 'reser': 0, 'convert': 0.17322254180908203, 'deser': 0.11804604530334473}, {'calc': 0.19237518310546875, 'fetch_data': 0.00121307373046875, 'upload': 0.42253994941711426, 'init_model_fetch': 1.3121471405029297, 'dur': 15.739160776138306, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.007857561111450195, 'convert': 0.17166686058044434, 'deser': 0.13583803176879883}, {'calc': 0.20941472053527832, 'fetch_model': 1.1920928955078125e-06, 'dur': 33.68317270278931, 'upload': 0.6227993965148926, 'init_model_fetch': 1.3300316333770752, 'convert': 0.11750626564025879, 'fetch_data': 0.0010600090026855469, 'reser': 0.010696887969970703, 'deser': 0.13622021675109863}, {'calc': 0.014997005462646484, 'fetch_model': 1.1920928955078125e-06, 'fetch_data': 0.0010845661163330078, 'upload': 0.397066593170166, 'init_model_fetch': 1.3245515823364258, 'dur': 27.085956811904907, 'reser': 0.006799221038818359, 'convert': 0.20012712478637695, 'deser': 0.11807680130004883}, {'calc': 0.09430861473083496, 'fetch_model': 1.1920928955078125e-06, 'fetch_data': 0.001077413558959961, 'upload': 0.7557744979858398, 'init_model_fetch': 1.3245515823364258, 'dur': 18.92954921722412, 'reser': 0.006415128707885742, 'convert': 0.11671662330627441, 'deser': 0.11055326461791992}, {'calc': 0.021129131317138672, 'fetch_data': 0.0013477802276611328, 'upload': 0.1728661060333252, 'init_model_fetch': 1.3121471405029297, 'dur': 42.90603160858154, 'fetch_model': 1.6689300537109375e-06, 'reser': 0.00826263427734375, 'convert': 0.17280220985412598, 'deser': 0.21509766578674316}, {'calc': 0.015000343322753906, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.0011315345764160156, 'upload': 0.6153500080108643, 'init_model_fetch': 1.3245515823364258, 'dur': 40.19882869720459, 'reser': 0.006802797317504883, 'convert': 0.1248939037322998, 'deser': 0.2654900550842285}, {'calc': 0.20802617073059082, 'fetch_model': 1.430511474609375e-06, 'fetch_data': 0.0010368824005126953, 'upload': 0.2019195556640625, 'init_model_fetch': 1.3245515823364258, 'dur': 14.369795083999634, 'reser': 0.006840705871582031, 'convert': 0.11834192276000977, 'deser': 0.09078669548034668}, {'calc': 0.09916281700134277, 'fetch_data': 0.0010418891906738281, 'fetch_model': 1.1920928955078125e-06, 'upload': 0.1929323673248291, 'convert': 0.12236785888671875, 'init_model_fetch': 1.2719907760620117, 'reser': 0.006680727005004883, 'dur': 35.2914035320282, 'deser': 0.1464228630065918}, {'calc': 0.015225648880004883, 'fetch_model': 1.1920928955078125e-06, 'fetch_data': 0.0010309219360351562, 'upload': 0.16228342056274414, 'init_model_fetch': 1.3245515823364258, 'dur': 10.362052202224731, 'reser': 0.01088094711303711, 'convert': 0.20337963104248047, 'deser': 0.10582089424133301}, {'calc': 0.014101266860961914, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.0010554790496826172, 'upload': 0.5147449970245361, 'convert': 0.12027931213378906, 'init_model_fetch': 1.4237537384033203, 'reser': 0.011966943740844727, 'dur': 6.53757643699646, 'deser': 0.12027287483215332}, {'calc': 0.2093334197998047, 'fetch_model': 1.430511474609375e-06, 'fetch_data': 0.0010788440704345703, 'upload': 0.5914173126220703, 'init_model_fetch': 1.3245515823364258, 'dur': 31.59610152244568, 'reser': 0.006480693817138672, 'convert': 0.11803174018859863, 'deser': 0.14724230766296387}, {'calc': 0.02115035057067871, 'fetch_model': 1.6689300537109375e-06, 'fetch_data': 0.0013217926025390625, 'upload': 0.20284271240234375, 'dur': 25.60358428955078, 'init_model_fetch': 1.230043888092041, 'reser': 0.008046150207519531, 'convert': 0.17229032516479492, 'deser': 0.11710619926452637}]
def r(a, b):
for key in a.keys():
a[key] += b[key]
return a
from functools import reduce
s = reduce((r), a)
for k in s.keys():
print(k, s[k] / len(a))
print(len(a))
for i in range(len(a) -1, -1, -1):
print(len(a), i)
item = a[i]
if item['upload'] == 0:
del a[i]
else:
if item['upload'] > 10:
del a[i]
print(len(a))
s = reduce((r), a)
for k in s.keys():
print(k, s[k] / len(a))