Skip to content
CAI
Software that uses CAICheck a score

dani-gavrilov/GDPerformanceView-Swift

42.0

Weak · 1 October 2026

936

lines of production code

Swift

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Swift-based iOS library designed for real-time performance monitoring, providing visual overlays for CPU usage, FPS, and memory consumption. It offers a modular architecture that allows developers to integrate performance metrics into their applications with customizable display options and styling. The project supports distribution through Swift Package Manager and CocoaPods, ensuring compatibility with modern iOS development workflows.

Features

Add iOS framework target for library distribution

The project now builds a dedicated \GDPerformanceView-iOS\ framework target, producing \GDPerformanceView.framework\ alongside the existing application target. This change introduces new source files (including \MarginLabel.swift\, \PerformanceView.swift\, and \Protocols.swift\) and configures the main app to embed and link against this new framework, facilitating library distribution via CocoaPods or Carthage.

GDPerformanceView-Swift.xcodeproj · high confidence

Added Swift Package Manager workspace configuration

A new workspace configuration file has been added to the .swiftpm directory, enabling the project to be opened and built directly within Xcode using the Swift Package Manager. This allows developers to integrate the package into their Xcode projects without needing to manually configure the workspace structure.

.swiftpm · high confidence

Behavioural changes

32 commits (7 fixes) modifying GDPerformanceView-Swift.xcodeproj/project.xcworkspace/xcuserdata

A change to existing behaviour in GDPerformanceView-Swift.xcodeproj/project.xcworkspace/xcuserdata — 32 commits (7 fixs), 1 file.

GDPerformanceView-Swift.xcodeproj/project.xcworkspace/xcuserdata · medium confidence · unverified

Framework target renamed to GDPerformanceView-iOS

The iOS framework target has been renamed from GDPerformanceView-Swift to GDPerformanceView-iOS. This change updates the bundle identifier and project structure, requiring users to update their import paths and build configurations to reference the new framework name.

GDPerformanceView-iOS · high confidence

Performance monitoring rewritten with new architecture and memory usage support

The GDPerformanceView-Swift library has been refactored to replace the legacy GDPerformanceMonitor and GDPerformanceView classes with a new modular architecture consisting of PerformanceMonitor, PerformanceCalculator, and PerformanceView. This change introduces a new LinkedFramesList for more accurate FPS counting and adds system memory usage monitoring to the displayed metrics. The public API has changed significantly: the old singleton-based startMonitoring method is replaced by a configurable PerformanceMonitor instance with options for displaying CPU, FPS, memory, app version, device model, and system info. The view now supports dark/light/custom styles and allows gesture recognizers for interaction. The internal GDMarginLabel has been renamed to MarginLabel with updated copyright year.

GDPerformanceView-Swift/GDPerformanceMonitoring · high confidence

Simplified performance monitoring API and updated project configuration

The demo application now uses a simplified API to start performance monitoring, replacing the previous multi-step configuration with a single \PerformanceMonitor.shared().start()\ call. The underlying monitor class has been renamed from \GDPerformanceMonitor\ to \PerformanceMonitor\, and the manual stop-monitoring logic in the app delegate has been removed. Additionally, the project's launch screen and main storyboard have been updated to support newer device dimensions (iPhone 8 and iPhone X layouts), and the app version string is now driven by the \MARKETING\_VERSION\ build setting.

GDPerformanceView-Swift · high confidence

Updated Xcode scheme to target iOS framework build

The project scheme has been migrated to Xcode 12 (LastUpgradeVersion 1200) and updated to build and launch the GDPerformanceView-iOS framework instead of the previous GDPerformanceView-Swift application target. This change aligns the development environment with the iOS framework distribution model.

GDPerformanceView-Swift.xcodeproj/xcshareddata · high confidence

Dependencies

Swift Package Manager support and CocoaPods 2.1.1 release

The library now supports installation via Swift Package Manager with a new Package.swift manifest, alongside an update to the CocoaPods podspec (version 2.1.1). The podspec update raises the minimum iOS deployment target from 8.0 to 9.0, restricts source files to Swift files, and adds support for Swift 4.2 and 5.0.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 44 → 42 (-1.7)
  • Rubric changed (rubric-2026.09.11 → rubric-2026.09.18) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 46 → 46 (+0.0)
  • Readiness 17 → 17 (-0.7)
  • Security 100 → 100 (+0.0)

Resolved (1)

  • Documentation: no usage examples (README.md)

New (1)

  • Dependency hygiene PARTLY measured — SwiftPM pinning read, dependency currency NOT established

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

dani-gavrilov/GDPerformanceView-Swift was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 1 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 0e4eb32d41409b352c70ff2af3ad8385ddc7f99a — the exact code this score is about.
  • Scored under rubric-2026.09.18 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-e569280dd5e2.