Files

12 lines
567 B
Markdown
Raw Permalink Normal View History

# ViewCapture Library
2023-09-21 21:54:56 +08:00
> [!CAUTION]
> `ViewCapture.java` is **extremely performance sensitive**.
> **Any changes should be carried out with great caution** not to hurt performance.
2023-09-21 21:54:56 +08:00
The following measurements should serve as a performance baseline (as of 02.10.2022):
The onDraw() function invocation time in WindowListener within ViewCapture is measured with System.nanoTime(). The following scenario was measured:
1. Capturing the notification shade window root view on a freshly rebooted bluejay device (2 notifications present) -> avg. time = 204237ns (0.2ms)