Skip to content

Commit 63f0289

Browse files
committed
Add timing into Table.enso.
1 parent 5f0dd70 commit 63f0289

File tree

2 files changed

+49
-49
lines changed

2 files changed

+49
-49
lines changed

distribution/lib/Standard/Base/0.0.0-dev/src/Data/Time/Duration.enso

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ type Duration
163163
- `function`: Function to execute.
164164
log_execution_time : Any -> Text -> Any
165165
log_execution_time ~function label="execution_time" level:(Log_Level | Nothing)=Log_Level.viz_timing_level =
166-
if Nothing == level then function else
166+
if Nothing == level then @Tail_Call function else
167167
pair = Duration.time_execution function
168168
duration = pair.first
169169
Duration.log_message ("Execution time for " + label + ": " + duration.to_display_text) level

0 commit comments

Comments
 (0)