Performance benchmark
This commit is contained in:
@@ -7,6 +7,12 @@ title: Performance Benchmarking
|
||||
|
||||
Optimizing rendering performance is crucial for smooth and responsive TUI applications, especially those with complex layouts or frequent updates. OSUI provides a built-in `Benchmark` engine wrapper that allows you to easily measure the rendering speed of your components.
|
||||
|
||||
## Current performance
|
||||
All the latest benchmark results are in [benchmark.csv](https://github.com/osui-rs/osui/blob/master/benchmark.csv)
|
||||
|
||||

|
||||

|
||||
|
||||
## The `Benchmark` Engine
|
||||
|
||||
The `osui::engine::benchmark` module offers the `Benchmark<T: Engine>` struct, which wraps an existing engine (like `Console`) and records detailed timing information for its rendering cycles.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 150 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 203 KiB |
Reference in New Issue
Block a user