Module

usePerformanceMonitor

Performance monitoring hook for animations

View Source hooks/usePerformanceMonitor.js, line 1

Requires

  • module:react

Members

# static constant usePerformanceMonitor

Enhanced performance monitoring hook with advanced analytics

View Source hooks/usePerformanceMonitor.js, line 24

Type Definitions

Object

# PerformanceMetrics

Properties:
Name Type Description
fps number

Current frames per second

avgFps number

Average FPS over time

memoryUsage number

Memory usage in MB (if available)

performanceLevel string

'excellent' | 'good' | 'fair' | 'poor'

warnings Array.<string>

Performance warnings

isOptimal boolean

Whether performance is optimal

View Source hooks/usePerformanceMonitor.js, line 9