Skip to content

Commit 042d82f

Browse files
authored
[INTERNAL] Rename environment variable to UI5_LOG_TASK_PERF for activating perfomance measurement (#748)
By using the environment variable UI5_LOG_TASK_PERF=true the processing time of a task is calculated and written to the log. Rename the variable from UI5_PERF_TASK to UI5_LOG_TASK_PERF. BLI: CPOUI5FOUNDATION-497
1 parent bf4da91 commit 042d82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types/AbstractBuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class AbstractBuilder {
238238
this._taskStart = performance.now();
239239
await taskFunction();
240240
this.taskLog.completeWork(1);
241-
if (process.env.UI5_PERF_TASK) {
241+
if (process.env.UI5_LOG_TASK_PERF) {
242242
this.taskLog.info(`Task succeeded in ${Math.round((performance.now() - this._taskStart))} ms`);
243243
}
244244
}

0 commit comments

Comments
 (0)