timing
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-01-30 10:31:36 +01:00
parent 37c4a373b7
commit 89f3cbb5d1

View File

@ -57,7 +57,7 @@ def index():
duration1 = step1_time - start_time
fig_1 = px.bar(df, x='month', y='value', color='year', barmode='group')
step2_time = time.time()
duration2 = step2_time - start_time
duration2 = step2_time - step1_time
fig_1.update_layout(
title=f"Jahreswerte Exportierte Energie {duration1:.3f}, {duration2:.3f}",
xaxis_title="",
@ -78,7 +78,7 @@ def index():
duration1 = step1_time - start_time
fig_2 = px.line(df, x='bucket', y='avg_power')
step2_time = time.time()
duration2 = step2_time - start_time
duration2 = step2_time - step1_time
fig_2.update_layout(
xaxis_title="",
yaxis_title="",
@ -93,7 +93,7 @@ def index():
duration1 = step1_time - start_time
fig_3 = px.line(df, x='bucket', y='avg_power')
step2_time = time.time()
duration2 = step2_time - start_time
duration2 = step2_time - step1_time
fig_3.update_layout(
xaxis_title="",
yaxis_title="",