Performance Metric kcml.env.set

Summary

Set environment value

Send Condition

ENV(varName$)=newValue$

Overview

Records the assignment of an environment variable. This is a potentially expensive operation, especially for application's with a large number of variables in their environment block as variables are found using a linear search. Therefore it is recommended that ENV() statements are not used within frequently executed blocks of code such as WHILE or FOR loops.

Statistics

NameTypeDescription
namestringName of environment variable
timeusecTime taken in micro-seconds
stackstringStack backtrace

General Form

kcml.env.set,name=string,time=usec,stack=string

See Also:

Performance Metrics