feat: 🎸 simulation

fix dps and add the push and DPS strategy
This commit is contained in:
Julien Calixte
2023-07-26 19:33:12 +02:00
parent 1f49b0f755
commit 4af91102b8
9 changed files with 125 additions and 54 deletions

View File

@@ -6,7 +6,7 @@ const simulationStore = useSimulationStore()
<template>
<div class="simulation-dashboard">
<h3>Dashboard</h3>
<h3>Simulation dashboard</h3>
<h4>
({{ simulationStore.simulationsDone }} /
{{ simulationStore.requestedSimulation }}
@@ -19,6 +19,7 @@ const simulationStore = useSimulationStore()
<th>push</th>
<th>pull</th>
<th>pull and DPS</th>
<th>push and DPS</th>
</tr>
</thead>
<tbody>
@@ -33,6 +34,9 @@ const simulationStore = useSimulationStore()
<td class="numeric">
{{ simulationStore.meanPullDPSLeadTime }}
</td>
<td class="numeric">
{{ simulationStore.meanPushDPSLeadTime }}
</td>
</tr>
<tr>
<td>Complexity</td>
@@ -45,6 +49,9 @@ const simulationStore = useSimulationStore()
<td class="numeric">
{{ simulationStore.meanPullDPSComplexity }}
</td>
<td class="numeric">
{{ simulationStore.meanPushDPSComplexity }}
</td>
</tr>
<tr>
<td>Quality issue</td>
@@ -57,6 +64,9 @@ const simulationStore = useSimulationStore()
<td class="numeric">
{{ simulationStore.meanPullDPSQuality }}
</td>
<td class="numeric">
{{ simulationStore.meanPushDPSQuality }}
</td>
</tr>
</tbody>
</table>