diff --git a/docs/04-advanced/00-performance-benchmarking.md b/docs/04-advanced/00-performance-benchmarking.md index ddf1a46..f50026b 100644 --- a/docs/04-advanced/00-performance-benchmarking.md +++ b/docs/04-advanced/00-performance-benchmarking.md @@ -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) + +![Dot diagram](3dplot-gen-dot.png) +![Dot diagram](3dplot-gen-surface.png) + ## The `Benchmark` Engine The `osui::engine::benchmark` module offers the `Benchmark` struct, which wraps an existing engine (like `Console`) and records detailed timing information for its rendering cycles. diff --git a/docs/04-advanced/3dplot-gen-dot.png b/docs/04-advanced/3dplot-gen-dot.png new file mode 100644 index 0000000..24d3673 Binary files /dev/null and b/docs/04-advanced/3dplot-gen-dot.png differ diff --git a/docs/04-advanced/3dplot-gen-surface.png b/docs/04-advanced/3dplot-gen-surface.png new file mode 100644 index 0000000..b4d4a5b Binary files /dev/null and b/docs/04-advanced/3dplot-gen-surface.png differ diff --git a/versioned_docs/version-0.2.0/04-advanced/00-performance-benchmarking.md b/versioned_docs/version-0.2.0/04-advanced/00-performance-benchmarking.md index ddf1a46..f50026b 100644 --- a/versioned_docs/version-0.2.0/04-advanced/00-performance-benchmarking.md +++ b/versioned_docs/version-0.2.0/04-advanced/00-performance-benchmarking.md @@ -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) + +![Dot diagram](3dplot-gen-dot.png) +![Dot diagram](3dplot-gen-surface.png) + ## The `Benchmark` Engine The `osui::engine::benchmark` module offers the `Benchmark` struct, which wraps an existing engine (like `Console`) and records detailed timing information for its rendering cycles. diff --git a/versioned_docs/version-0.2.0/04-advanced/3dplot-gen-dot.png b/versioned_docs/version-0.2.0/04-advanced/3dplot-gen-dot.png new file mode 100644 index 0000000..24d3673 Binary files /dev/null and b/versioned_docs/version-0.2.0/04-advanced/3dplot-gen-dot.png differ diff --git a/versioned_docs/version-0.2.0/04-advanced/3dplot-gen-surface.png b/versioned_docs/version-0.2.0/04-advanced/3dplot-gen-surface.png new file mode 100644 index 0000000..b4d4a5b Binary files /dev/null and b/versioned_docs/version-0.2.0/04-advanced/3dplot-gen-surface.png differ