~/talk

Swift Plugins: Speeding Up Project Builds

TalkinRussianat Mobius 2023 Autumn · 2023-11-01..11-10· [swift, devops-and-delivery]
links:none on file
slides:none on file

Explains how to use Swift Package plugins (Swift Package plugins introduced in 2022) to speed up project builds by integrating code-generation and formatting helpers such as SwiftFormat, SwiftGen, Sourcery, Needle and Prefire. Describes what Swift Plugins are, the different kinds, and shows that running these helpers via plugins can reduce a build step from about 1m30s to around 5s. Notes that plugins work with both Swift Package Manager and Xcode 14.

AI-written summary · about

  1. 0:00Introduction
  2. 2:32Speaker background
  3. 5:02Slow build problem
  4. 7:55Optimization goal
  5. 10:03Parallelization and modularity
  6. 12:51Swift plugins
  7. 16:01Plugin benefits
  8. 18:54Swift plugin limitations
  9. 22:10Sourcery plugin example
  10. 27:56Plugin integration
  11. 28:18Plugins vs scripts
  12. 31:55Optimization results
  13. 33:06Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.