Skip to content

AppVitals 1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 May 10:19
6481701

Added

  • FPS monitor & frame drop detectionAppVitals.trackPerformance() starts a CADisplayLink-based monitor that logs a .performance warning whenever the frame rate drops below the configured threshold (default 50 FPS). Configure via AppVitalsConfiguration.isFPSMonitoringEnabled and fpsDropThreshold.
  • Startup performance trackingAppVitals.markStartupComplete() logs the elapsed time from start() to the call site as a .performance event.
  • Slow request warnings — any network request that exceeds AppVitalsConfiguration.slowRequestThreshold (default 3 s when using .debug) is automatically logged as a .performance warning with URL, method, duration, and status code.
  • API latency chart — compact bar chart at the top of the Network tab showing the last 20 requests colour-coded by duration (blue <1 s, orange 1–3 s, red >3 s).
  • Timeline tab — fourth tab in the console merging log events and network transactions into a single newest-first activity feed.
  • Request grouping — "Group by Host" option in the network filter menu organises requests into collapsible host sections.
  • Advanced network filters — filter by HTTP method (GET, POST, PUT, PATCH, DELETE), status class (2xx / 3xx / 4xx / 5xx / Failed), and "Slow Requests Only (>2 s)".
  • AppVitalsPerformance module — new standalone target exposing FrameRateMonitor for direct use without the umbrella module.
  • .performance event category — new AppVitalsEventCategory.performance case for FPS drops, startup time, and slow request events.
  • Alamofire integration guide — see Docs/AlamofireIntegration.md for URLProtocol injection and EventMonitor approaches.

Changed

  • AppVitalsConfiguration.debug preset now enables slowRequestThreshold: 3.0 and isFPSMonitoringEnabled: true.
  • NetworkTracking.installGlobalURLProtocol gains an optional eventStore parameter (default nil, fully backward compatible) used for slow request warnings.
  • Duration column in the Network tab highlights values above 2 s in orange.
  • Network detail view now shows request duration in the Response section.