Overview
-
Machine : Gaya
-
Application : KUB
from numpy import nan
from feelpp.benchmarking.report.base.controller import Controller
from feelpp.benchmarking.report.base.model import AggregationModel
from feelpp.benchmarking.report.base.view import View
model=AggregationModel.fromDataframe({'performance_variable': {0: 'execute', 1: 'postprocess', 2: 'simulation', 3: 'constructor', 4: 'updateForUse', 5: 'execute', 6: 'postprocess', 7: 'simulation', 8: 'constructor', 9: 'updateForUse', 10: 'execute', 11: 'postprocess', 12: 'simulation', 13: 'constructor', 14: 'updateForUse', 15: 'execute', 16: 'postprocess', 17: 'simulation', 18: 'constructor', 19: 'updateForUse', 20: 'execute', 21: 'postprocess', 22: 'simulation', 23: 'constructor', 24: 'updateForUse', 25: 'execute', 26: 'postprocess', 27: 'simulation', 28: 'constructor', 29: 'updateForUse', 30: 'execute', 31: 'postprocess', 32: 'simulation', 33: 'constructor', 34: 'updateForUse', 35: 'execute', 36: 'postprocess', 37: 'simulation', 38: 'constructor', 39: 'updateForUse', 40: 'execute', 41: 'postprocess', 42: 'simulation', 43: 'constructor', 44: 'updateForUse', 45: 'execute', 46: 'postprocess', 47: 'simulation', 48: 'constructor', 49: 'updateForUse', 50: 'execute', 51: 'postprocess', 52: 'simulation', 53: 'constructor', 54: 'updateForUse', 55: 'execute', 56: 'postprocess', 57: 'simulation', 58: 'constructor', 59: 'updateForUse'}, 'value': {0: 20.308129916, 1: 8.203504874, 2: 12.103838817, 3: 0.124121656, 4: 20.764222689, 5: 14.157602834, 6: 7.411649151, 7: 6.745112518999999, 8: 0.130208808, 9: 19.58430041, 10: 14.184319642, 11: 5.039590049999999, 12: 9.143860757999999, 13: 0.001224273, 14: 16.200856106, 15: 20.973627528, 16: 3.5024537650000003, 17: 17.470318308, 18: 0.000912175, 19: 80.812081625, 20: 32.824713735, 21: 2.622004522999999, 22: 30.201776382000002, 23: 0.016270245, 24: 14.375782889, 25: 58.133795209, 26: 0.7010867000000001, 27: 57.431771770000005, 28: 0.001239732, 29: 15.448921177, 30: 20.450242706, 31: 7.548238917999999, 32: 12.90124451, 33: 0.188538089, 34: 20.032139114, 35: 13.768160256, 36: 7.112519191, 37: 6.654890814, 38: 0.001238282, 39: 18.913328566, 40: 13.973113834, 41: 4.679824406999999, 42: 9.292453074, 43: 0.003275345, 44: 16.132098035, 45: 20.955655149, 46: 3.4113495749999996, 47: 17.543472836, 48: 0.013311341, 49: 15.757464405, 50: 32.607164036, 51: 2.239268425, 52: 30.367009253000003, 53: 0.013085536, 54: 14.372658468, 55: 58.23061721, 56: 0.6271545880000001, 57: 57.602599787, 58: 0.001837347, 59: 78.735602544}, 'unit': {0: 's', 1: 's', 2: 's', 3: 's', 4: 's', 5: 's', 6: 's', 7: 's', 8: 's', 9: 's', 10: 's', 11: 's', 12: 's', 13: 's', 14: 's', 15: 's', 16: 's', 17: 's', 18: 's', 19: 's', 20: 's', 21: 's', 22: 's', 23: 's', 24: 's', 25: 's', 26: 's', 27: 's', 28: 's', 29: 's', 30: 's', 31: 's', 32: 's', 33: 's', 34: 's', 35: 's', 36: 's', 37: 's', 38: 's', 39: 's', 40: 's', 41: 's', 42: 's', 43: 's', 44: 's', 45: 's', 46: 's', 47: 's', 48: 's', 49: 's', 50: 's', 51: 's', 52: 's', 53: 's', 54: 's', 55: 's', 56: 's', 57: 's', 58: 's', 59: 's'}, 'reference': {0: nan, 1: nan, 2: nan, 3: nan, 4: nan, 5: nan, 6: nan, 7: nan, 8: nan, 9: nan, 10: nan, 11: nan, 12: nan, 13: nan, 14: nan, 15: nan, 16: nan, 17: nan, 18: nan, 19: nan, 20: nan, 21: nan, 22: nan, 23: nan, 24: nan, 25: nan, 26: nan, 27: nan, 28: nan, 29: nan, 30: nan, 31: nan, 32: nan, 33: nan, 34: nan, 35: nan, 36: nan, 37: nan, 38: nan, 39: nan, 40: nan, 41: nan, 42: nan, 43: nan, 44: nan, 45: nan, 46: nan, 47: nan, 48: nan, 49: nan, 50: nan, 51: nan, 52: nan, 53: nan, 54: nan, 55: nan, 56: nan, 57: nan, 58: nan, 59: nan}, 'thres_lower': {0: nan, 1: nan, 2: nan, 3: nan, 4: nan, 5: nan, 6: nan, 7: nan, 8: nan, 9: nan, 10: nan, 11: nan, 12: nan, 13: nan, 14: nan, 15: nan, 16: nan, 17: nan, 18: nan, 19: nan, 20: nan, 21: nan, 22: nan, 23: nan, 24: nan, 25: nan, 26: nan, 27: nan, 28: nan, 29: nan, 30: nan, 31: nan, 32: nan, 33: nan, 34: nan, 35: nan, 36: nan, 37: nan, 38: nan, 39: nan, 40: nan, 41: nan, 42: nan, 43: nan, 44: nan, 45: nan, 46: nan, 47: nan, 48: nan, 49: nan, 50: nan, 51: nan, 52: nan, 53: nan, 54: nan, 55: nan, 56: nan, 57: nan, 58: nan, 59: nan}, 'thres_upper': {0: nan, 1: nan, 2: nan, 3: nan, 4: nan, 5: nan, 6: nan, 7: nan, 8: nan, 9: nan, 10: nan, 11: nan, 12: nan, 13: nan, 14: nan, 15: nan, 16: nan, 17: nan, 18: nan, 19: nan, 20: nan, 21: nan, 22: nan, 23: nan, 24: nan, 25: nan, 26: nan, 27: nan, 28: nan, 29: nan, 30: nan, 31: nan, 32: nan, 33: nan, 34: nan, 35: nan, 36: nan, 37: nan, 38: nan, 39: nan, 40: nan, 41: nan, 42: nan, 43: nan, 44: nan, 45: nan, 46: nan, 47: nan, 48: nan, 49: nan, 50: nan, 51: nan, 52: nan, 53: nan, 54: nan, 55: nan, 56: nan, 57: nan, 58: nan, 59: nan}, 'status': {0: nan, 1: nan, 2: nan, 3: nan, 4: nan, 5: nan, 6: nan, 7: nan, 8: nan, 9: nan, 10: nan, 11: nan, 12: nan, 13: nan, 14: nan, 15: nan, 16: nan, 17: nan, 18: nan, 19: nan, 20: nan, 21: nan, 22: nan, 23: nan, 24: nan, 25: nan, 26: nan, 27: nan, 28: nan, 29: nan, 30: nan, 31: nan, 32: nan, 33: nan, 34: nan, 35: nan, 36: nan, 37: nan, 38: nan, 39: nan, 40: nan, 41: nan, 42: nan, 43: nan, 44: nan, 45: nan, 46: nan, 47: nan, 48: nan, 49: nan, 50: nan, 51: nan, 52: nan, 53: nan, 54: nan, 55: nan, 56: nan, 57: nan, 58: nan, 59: nan}, 'absolute_error': {0: nan, 1: nan, 2: nan, 3: nan, 4: nan, 5: nan, 6: nan, 7: nan, 8: nan, 9: nan, 10: nan, 11: nan, 12: nan, 13: nan, 14: nan, 15: nan, 16: nan, 17: nan, 18: nan, 19: nan, 20: nan, 21: nan, 22: nan, 23: nan, 24: nan, 25: nan, 26: nan, 27: nan, 28: nan, 29: nan, 30: nan, 31: nan, 32: nan, 33: nan, 34: nan, 35: nan, 36: nan, 37: nan, 38: nan, 39: nan, 40: nan, 41: nan, 42: nan, 43: nan, 44: nan, 45: nan, 46: nan, 47: nan, 48: nan, 49: nan, 50: nan, 51: nan, 52: nan, 53: nan, 54: nan, 55: nan, 56: nan, 57: nan, 58: nan, 59: nan}, 'testcase_time_run': {0: 64.99240159988403, 1: 64.99240159988403, 2: 64.99240159988403, 3: 64.99240159988403, 4: 64.99240159988403, 5: 57.83487319946289, 6: 57.83487319946289, 7: 57.83487319946289, 8: 57.83487319946289, 9: 57.83487319946289, 10: 95.63379693031311, 11: 95.63379693031311, 12: 95.63379693031311, 13: 95.63379693031311, 14: 95.63379693031311, 15: 174.0198860168457, 16: 174.0198860168457, 17: 174.0198860168457, 18: 174.0198860168457, 19: 174.0198860168457, 20: 116.29403710365295, 21: 116.29403710365295, 22: 116.29403710365295, 23: 116.29403710365295, 24: 116.29403710365295, 25: 170.75798749923706, 26: 170.75798749923706, 27: 170.75798749923706, 28: 170.75798749923706, 29: 170.75798749923706, 30: 69.67405295372009, 31: 69.67405295372009, 32: 69.67405295372009, 33: 69.67405295372009, 34: 69.67405295372009, 35: 115.33933401107788, 36: 115.33933401107788, 37: 115.33933401107788, 38: 115.33933401107788, 39: 115.33933401107788, 40: 103.58596634864807, 41: 103.58596634864807, 42: 103.58596634864807, 43: 103.58596634864807, 44: 103.58596634864807, 45: 145.83095526695251, 46: 145.83095526695251, 47: 145.83095526695251, 48: 145.83095526695251, 49: 145.83095526695251, 50: 166.4396107196808, 51: 166.4396107196808, 52: 166.4396107196808, 53: 166.4396107196808, 54: 166.4396107196808, 55: 292.92885994911194, 56: 292.92885994911194, 57: 292.92885994911194, 58: 292.92885994911194, 59: 292.92885994911194}, 'environment': {0: 'builtin', 1: 'builtin', 2: 'builtin', 3: 'builtin', 4: 'builtin', 5: 'builtin', 6: 'builtin', 7: 'builtin', 8: 'builtin', 9: 'builtin', 10: 'builtin', 11: 'builtin', 12: 'builtin', 13: 'builtin', 14: 'builtin', 15: 'builtin', 16: 'builtin', 17: 'builtin', 18: 'builtin', 19: 'builtin', 20: 'builtin', 21: 'builtin', 22: 'builtin', 23: 'builtin', 24: 'builtin', 25: 'builtin', 26: 'builtin', 27: 'builtin', 28: 'builtin', 29: 'builtin', 30: 'builtin', 31: 'builtin', 32: 'builtin', 33: 'builtin', 34: 'builtin', 35: 'builtin', 36: 'builtin', 37: 'builtin', 38: 'builtin', 39: 'builtin', 40: 'builtin', 41: 'builtin', 42: 'builtin', 43: 'builtin', 44: 'builtin', 45: 'builtin', 46: 'builtin', 47: 'builtin', 48: 'builtin', 49: 'builtin', 50: 'builtin', 51: 'builtin', 52: 'builtin', 53: 'builtin', 54: 'builtin', 55: 'builtin', 56: 'builtin', 57: 'builtin', 58: 'builtin', 59: 'builtin'}, 'platform': {0: nan, 1: nan, 2: nan, 3: nan, 4: nan, 5: nan, 6: nan, 7: nan, 8: nan, 9: nan, 10: nan, 11: nan, 12: nan, 13: nan, 14: nan, 15: nan, 16: nan, 17: nan, 18: nan, 19: nan, 20: nan, 21: nan, 22: nan, 23: nan, 24: nan, 25: nan, 26: nan, 27: nan, 28: nan, 29: nan, 30: nan, 31: nan, 32: nan, 33: nan, 34: nan, 35: nan, 36: nan, 37: nan, 38: nan, 39: nan, 40: nan, 41: nan, 42: nan, 43: nan, 44: nan, 45: nan, 46: nan, 47: nan, 48: nan, 49: nan, 50: nan, 51: nan, 52: nan, 53: nan, 54: nan, 55: nan, 56: nan, 57: nan, 58: nan, 59: nan}, 'nb_tasks.tasks': {0: 256, 1: 256, 2: 256, 3: 256, 4: 256, 5: 128, 6: 128, 7: 128, 8: 128, 9: 128, 10: 64, 11: 64, 12: 64, 13: 64, 14: 64, 15: 32, 16: 32, 17: 32, 18: 32, 19: 32, 20: 16, 21: 16, 22: 16, 23: 16, 24: 16, 25: 8, 26: 8, 27: 8, 28: 8, 29: 8, 30: 256, 31: 256, 32: 256, 33: 256, 34: 256, 35: 128, 36: 128, 37: 128, 38: 128, 39: 128, 40: 64, 41: 64, 42: 64, 43: 64, 44: 64, 45: 32, 46: 32, 47: 32, 48: 32, 49: 32, 50: 16, 51: 16, 52: 16, 53: 16, 54: 16, 55: 8, 56: 8, 57: 8, 58: 8, 59: 8}, 'nb_tasks.nodes': {0: 2, 1: 2, 2: 2, 3: 2, 4: 2, 5: 1, 6: 1, 7: 1, 8: 1, 9: 1, 10: 1, 11: 1, 12: 1, 13: 1, 14: 1, 15: 1, 16: 1, 17: 1, 18: 1, 19: 1, 20: 1, 21: 1, 22: 1, 23: 1, 24: 1, 25: 1, 26: 1, 27: 1, 28: 1, 29: 1, 30: 2, 31: 2, 32: 2, 33: 2, 34: 2, 35: 1, 36: 1, 37: 1, 38: 1, 39: 1, 40: 1, 41: 1, 42: 1, 43: 1, 44: 1, 45: 1, 46: 1, 47: 1, 48: 1, 49: 1, 50: 1, 51: 1, 52: 1, 53: 1, 54: 1, 55: 1, 56: 1, 57: 1, 58: 1, 59: 1}, 'nb_tasks.exclusive_access': {0: True, 1: True, 2: True, 3: True, 4: True, 5: True, 6: True, 7: True, 8: True, 9: True, 10: True, 11: True, 12: True, 13: True, 14: True, 15: True, 16: True, 17: True, 18: True, 19: True, 20: True, 21: True, 22: True, 23: True, 24: True, 25: True, 26: True, 27: True, 28: True, 29: True, 30: True, 31: True, 32: True, 33: True, 34: True, 35: True, 36: True, 37: True, 38: True, 39: True, 40: True, 41: True, 42: True, 43: True, 44: True, 45: True, 46: True, 47: True, 48: True, 49: True, 50: True, 51: True, 52: True, 53: True, 54: True, 55: True, 56: True, 57: True, 58: True, 59: True}, 'date': {0: '2024-11-06T09:16:02+0100', 1: '2024-11-06T09:16:02+0100', 2: '2024-11-06T09:16:02+0100', 3: '2024-11-06T09:16:02+0100', 4: '2024-11-06T09:16:02+0100', 5: '2024-11-06T09:16:02+0100', 6: '2024-11-06T09:16:02+0100', 7: '2024-11-06T09:16:02+0100', 8: '2024-11-06T09:16:02+0100', 9: '2024-11-06T09:16:02+0100', 10: '2024-11-06T09:16:02+0100', 11: '2024-11-06T09:16:02+0100', 12: '2024-11-06T09:16:02+0100', 13: '2024-11-06T09:16:02+0100', 14: '2024-11-06T09:16:02+0100', 15: '2024-11-06T09:16:02+0100', 16: '2024-11-06T09:16:02+0100', 17: '2024-11-06T09:16:02+0100', 18: '2024-11-06T09:16:02+0100', 19: '2024-11-06T09:16:02+0100', 20: '2024-11-06T09:16:02+0100', 21: '2024-11-06T09:16:02+0100', 22: '2024-11-06T09:16:02+0100', 23: '2024-11-06T09:16:02+0100', 24: '2024-11-06T09:16:02+0100', 25: '2024-11-06T09:16:02+0100', 26: '2024-11-06T09:16:02+0100', 27: '2024-11-06T09:16:02+0100', 28: '2024-11-06T09:16:02+0100', 29: '2024-11-06T09:16:02+0100', 30: '2024-11-05T14:27:09+0100', 31: '2024-11-05T14:27:09+0100', 32: '2024-11-05T14:27:09+0100', 33: '2024-11-05T14:27:09+0100', 34: '2024-11-05T14:27:09+0100', 35: '2024-11-05T14:27:09+0100', 36: '2024-11-05T14:27:09+0100', 37: '2024-11-05T14:27:09+0100', 38: '2024-11-05T14:27:09+0100', 39: '2024-11-05T14:27:09+0100', 40: '2024-11-05T14:27:09+0100', 41: '2024-11-05T14:27:09+0100', 42: '2024-11-05T14:27:09+0100', 43: '2024-11-05T14:27:09+0100', 44: '2024-11-05T14:27:09+0100', 45: '2024-11-05T14:27:09+0100', 46: '2024-11-05T14:27:09+0100', 47: '2024-11-05T14:27:09+0100', 48: '2024-11-05T14:27:09+0100', 49: '2024-11-05T14:27:09+0100', 50: '2024-11-05T14:27:09+0100', 51: '2024-11-05T14:27:09+0100', 52: '2024-11-05T14:27:09+0100', 53: '2024-11-05T14:27:09+0100', 54: '2024-11-05T14:27:09+0100', 55: '2024-11-05T14:27:09+0100', 56: '2024-11-05T14:27:09+0100', 57: '2024-11-05T14:27:09+0100', 58: '2024-11-05T14:27:09+0100', 59: '2024-11-05T14:27:09+0100'}, 'use_case': {0: 'poznan', 1: 'poznan', 2: 'poznan', 3: 'poznan', 4: 'poznan', 5: 'poznan', 6: 'poznan', 7: 'poznan', 8: 'poznan', 9: 'poznan', 10: 'poznan', 11: 'poznan', 12: 'poznan', 13: 'poznan', 14: 'poznan', 15: 'poznan', 16: 'poznan', 17: 'poznan', 18: 'poznan', 19: 'poznan', 20: 'poznan', 21: 'poznan', 22: 'poznan', 23: 'poznan', 24: 'poznan', 25: 'poznan', 26: 'poznan', 27: 'poznan', 28: 'poznan', 29: 'poznan', 30: 'poznan', 31: 'poznan', 32: 'poznan', 33: 'poznan', 34: 'poznan', 35: 'poznan', 36: 'poznan', 37: 'poznan', 38: 'poznan', 39: 'poznan', 40: 'poznan', 41: 'poznan', 42: 'poznan', 43: 'poznan', 44: 'poznan', 45: 'poznan', 46: 'poznan', 47: 'poznan', 48: 'poznan', 49: 'poznan', 50: 'poznan', 51: 'poznan', 52: 'poznan', 53: 'poznan', 54: 'poznan', 55: 'poznan', 56: 'poznan', 57: 'poznan', 58: 'poznan', 59: 'poznan'}})
view=View([{'title': 'Execution by use case', 'plot_types': ['scatter'], 'transformation': 'performance', 'names': ['performance'], 'xaxis': {'parameter': 'date', 'label': 'Date'}, 'color_axis': {'parameter': 'use_case', 'label': 'Use case'}, 'yaxis': {'label': 'Execution time (s)'}, 'aggregations': [{'column': 'nb_tasks.tasks', 'agg': 'max'}, {'column': 'hsize', 'agg': 'max'}, {'column': 'performance_variable', 'agg': 'sum'}], 'variables': ['constructor', 'updateForUse', 'execute', 'simulate', 'postprocess']}, {'title': 'Execution by use case', 'plot_types': ['stacked_bar'], 'transformation': 'performance', 'names': ['performance'], 'xaxis': {'parameter': 'use_case', 'label': 'Use Case'}, 'color_axis': {'parameter': 'performance_variable', 'label': 'Performance Step'}, 'yaxis': {'label': 'Execution time (s)'}, 'aggregations': [{'column': 'nb_tasks.tasks', 'agg': 'max'}, {'column': 'hsize', 'agg': 'max'}, {'column': 'date', 'agg': 'mean'}], 'variables': ['constructor', 'updateForUse', 'execute', 'simulate', 'postprocess']}])
controller=Controller(model,view)
for fig in controller.generateAll():
fig.show()