-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
Double-clicking a plottable or calling Plot.Benchmark(true) will display a benchmark message like "rendered in 10 ms (100 Hz)" on the plot, but @anose001 noted in #1491 that there's not an easy way to get this information programmatically.
This issue will track development of a class that can provide the developer with render times, perhaps with options to store the last N render times, and contain methods to get running averages and such.
The current method is:
ScottPlot/src/ScottPlot/Plot/Plot.cs
Lines 281 to 287 in b4f8819
| public bool Benchmark(bool? enable = true) | |
| { | |
| if (enable.HasValue) | |
| settings.BenchmarkMessage.IsVisible = enable.Value; | |
| return settings.BenchmarkMessage.IsVisible; | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels