deploy: d8d3e6b555
This commit is contained in:
@@ -35,7 +35,7 @@ Starts a custom benchmark
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
* `name` `string` The name of the benchmark
|
* `name` `string` The name of the benchmark
|
||||||
* `options` *(optional)* `table` Optional configuration
|
* `options` *(optional)* `table` Optional configuration
|
||||||
|
|
||||||
## API.stop(name)
|
## API.stop(name)
|
||||||
Stops a custom benchmark
|
Stops a custom benchmark
|
||||||
|
|||||||
44
docs/references/plugins/benchmark_Container_VisualElement.md
Normal file
44
docs/references/plugins/benchmark_Container_VisualElement.md
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# Container : VisualElement
|
||||||
|
|
||||||
|
## Functions
|
||||||
|
|
||||||
|
|Method|Returns|Description|
|
||||||
|
|---|---|---|
|
||||||
|
|[Container:benchmarkContainer](#container-benchmarkcontainer)|Container|Recursively enables benchmarking
|
||||||
|
|[Container:logContainerBenchmarks](#container-logcontainerbenchmarks)|Container|Recursively logs benchmark statistics
|
||||||
|
|[Container:stopContainerBenchmark](#container-stopcontainerbenchmark)|Container|Recursively stops benchmarking
|
||||||
|
|
||||||
|
|
||||||
|
## Container:benchmarkContainer(methodName)
|
||||||
|
Enables benchmarking for a container and all its children
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
* `methodName` `string` The method to benchmark
|
||||||
|
|
||||||
|
### Returns
|
||||||
|
* `Container` `self` The container instance
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
```lua
|
||||||
|
container:benchmarkContainer("render")
|
||||||
|
```
|
||||||
|
|
||||||
|
## Container:logContainerBenchmarks(methodName)
|
||||||
|
Logs benchmark statistics for a container and all its children
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
* `methodName` `string` The method to log
|
||||||
|
|
||||||
|
### Returns
|
||||||
|
* `Container` `self` The container instance
|
||||||
|
|
||||||
|
## Container:stopContainerBenchmark(methodName)
|
||||||
|
Stops benchmarking for a container and all its children
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
* `methodName` `string` The method to stop benchmarking
|
||||||
|
|
||||||
|
### Returns
|
||||||
|
* `Container` `self` The container instance
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user