remove_debug_profiling
Added in 0.12.0
Parameters
Name | Type | Description | Default |
---|---|---|---|
preserve_arguments_side_effects |
| Defines how darklua handle arguments passed to the functions. If true, darklua will inspect each argument and preserve any potential side effects. When false, darklua will not perform any verification and simply erase any arguments passed. |
|
This rule removes all function calls to debug.profilebegin
and debug.profileend
.
Examples
debug.profilebegin('function name')
performUpdate()
debug.profileend()
do end
performUpdate()
do end
Input | Output |
---|---|
|
|