SwiftCompilationPerformanceReporter alternatives and similar libraries
Based on the "Tools" category.
Alternatively, view SwiftCompilationPerformanceReporter alternatives based on common mentions on social networks and blogs.
-
Awesome-Design-Tools
The best design tools and plugins for everything ๐ -
infer
A static analyzer for Java, C, C++, and Objective-C -
SwiftGen
The Swift code generator for your assets, storyboards, Localizable.strings, โฆ โ Get rid of all String-based APIs! -
R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects -
XcodeGen
A Swift command line tool for generating your Xcode project -
Insanity
Meta-programming for Swift, stop writing boilerplate code. -
Lona
A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts. -
Tweaks
An easy way to fine-tune, and adjust parameters for iOS apps in development. -
Xcodes.app
The easiest way to install and switch between multiple versions of Xcode - with a mouse click. -
appledoc
Objective-c code Apple style documentation set generator. -
FBSimulatorControl
idb is a flexible command line interface for automating iOS simulators and devices -
BuildTimeAnalyzer
Build Time Analyzer for Swift -
FengNiao
A command line tool for cleaning unused resources in Xcode. -
LifetimeTracker
Find retain cycles / memory leaks sooner. -
Peek
All new design. Inspect your iOS application at runtime. -
GDPerformanceView-Swift
Shows FPS, CPU and memory usage, device model, app and iOS versions above the status bar and report FPS, CPU and memory usage via delegate. -
ProvisionQL
Quick Look plugin for mobile apps and provisioning profiles -
SourceKitten
An adorable little framework and command line tool for interacting with SourceKit. -
LicensePlist
A license list generator of all your dependencies for iOS applications -
Xtrace
Trace Objective-C method calls by class or instance -
AppDevKit
AppDevKit is an iOS development library that provides developers with useful features to fulfill their everyday iOS app development needs. -
Provisioning
A Quick Look plug-in for .mobileprovision files -
Pecker
CodePecker is a tool to detect unused Swift code. -
DBDebugToolkit
Set of easy to use debugging tools for iOS developers & QA engineers. -
ThisCouldBeUsButYouPlaying
:black_joker: Generate Swift Playgrounds for any library. -
Laurine
Laurine - Localization code generator written in Swift. Sweet! -
Attabench
Microbenchmarking app for Swift with nice log-log plots -
iSimulator
iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator. -
Traits
Modify your native iOS app in real time. -
Blade
Better asset workflow for iOS developers. Generate Xcode image catalogs for iOS / OSX app icons, universal images, and more. -
ViewMonitor
ViewMonitor can measure view positions with accuracy. -
Rugby
๐ Cache CocoaPods for faster rebuild and indexing Xcode project -
Realm Browser
DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform. -
Cookiecutter
A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file -
Plank
A tool for generating immutable model objects -
PlayAlways
Create Xcode playgrounds from your menu bar -
WatchdogInspector
Shows your current framerate (fps) in the status bar of your iOS app -
SuperDelegate
SuperDelegate provides a clean application delegate interface and protects you from bugs in the application lifecycle -
Swift Package Index
The Swift Package Index is the place to find Swift packages! -
abandoned-strings
Command line program that detects unused resource strings in an iOS or OS X application. -
XCSwiftr
An Xcode Plugin to convert Objective-C to Swift -
fastlane-plugin-appicon
Generate required icon sizes and iconset from a master application icon. -
AVXCAssets-Generator
AVXCAssets Generator takes path for your assets images and creates appiconset and imageset for you in just one click
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SwiftCompilationPerformanceReporter or a related project?
README
SwiftCompilationPerformanceReporter
Inspired by Brian and Bryan's prior work, we've decided to develop a Swift Package and script to generate automated reports for slow Swift compilation paths in specific targets!
SwiftCompilationPerformanceReporter (nicknamed SwiftCPR) can be configured to build a specific target, output raw debug times to a specific location, and clean those logs to rank the slowest parts to compile.
Requirements
- Xcode 8 Beta
- 8/18/2016 Swift Trunk Development Snapshot (We'll periodically update this repo to work with the latest snapshots)
Configuration
SwiftCompilationPerformanceReporter can be configured via the config.json
file. Below is a description of the options available and a sample configuration:
{
// Note: either a project or workspace file can be specified, _but not both_
"workspacePath": "/Users/jasdev/orangina/Orangina.xcworkspace",
"projectPath": "/Users/jasdev/orangina/Orangina.xcodeproj",
"scheme": "Orangina",
"buildOutputDirectory": "/Users/jasdev/Desktop/CompilationLogs/",
"reportOutputDirectory": "/Users/jasdev/Desktop/ProcessedLogs/",
"limit": 10
}
workspacePath
: The absolute path to the workspace file to use.
projectPath
: The absolute path to the project file to use.
scheme
: The scheme to use
buildOutputDirectory
: The directory to store the raw build output files with Swift compilation times.
reportOutputDirectory
: The directory to store the processed logs derived from the raw log output.
limit
: The number of compilation paths to include in the final results (i.e. the slowest limit
paths that compiler handled).
Installation
- Simply clone this repository on the machine that will be generating these reports.
- Run
swift build
in the root directory - Make sure all directories used in
config.json
are set properly and exist. - If your desired scheme is built with a pre-3.x version of Swift, you'll want to
xcode-select
back to a stable version (i.e.sudo xcode-select -s /Applications/Xcode.app
) - To kick off the script, run
.build/debug/SwiftCompilationPerformanceReporter
in the root directory! - If there are any errors, the script will output them.
- The processed logs will be outputted as timestamped files in
reportOutputDirectory
.
Output
The processed logs will be outputted as a tab separated file with 3 columns after the first line (which holds the total build time). All time units are in seconds.
[Build Time]\t[Path and Line]\t[Detailed Description]
Sample output file:
Total build time: 1214.91016298532
17.0409 /Users/jasdev/orangina/Classes/PerformanceLoggingEvent.swift:278:37 final get {}
7.9331 /Users/jasdev/orangina/Components/ComposeUI/Classes/Election/LeaderboardTableView.swift:71:17 @objc final class func totalHeight(candidates: UInt, allowsLeaderboard: Bool) -> CGFloat
6.2961 /Users/jasdev/orangina/Classes/UniversalLink.swift:127:25 private final class func dictionaryOfAppArgumentsFromQueryString(string: String) -> [NSObject : AnyObject]?
4.2116 /Users/jasdev/orangina/Classes/ActivityViewController.swift:56:22 final get {}