Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Continuous Integration, fast builds and Flot
Search
Chris Bushell
February 03, 2010
Programming
100
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Continuous Integration, fast builds and Flot
Prepared for the Melbourne Patters Group
Chris Bushell
February 03, 2010
Transcript
24 slides
Con$nuous Integra$on, Fast Builds and Flot Chris Bushell
-‐ Melbourne Pa9erns Group February 3rd 2010
Tradi$onal SoCware Development • Waterfall • Development happens
independently, in parallel streams • Integra$on phase
Integra$on Is Painful • Time consuming • Unpredictable
Typical SoCware Development
Con$nuous Integra$on • Single source code repository •
Automated build • Automated tests • Frequent commits
CI In Prac$ce – Check Out Time
CI In Prac$ce – Write Code Time
CI In Prac$ce – Run Build Time
CI In Prac$ce – Commit Time
CI In Prac$ce Time
CI In Prac$ce – Con$nuous Build Time
Encourage Frequent Check-‐Ins • Integra$ng small changes is much
less painful and $me consuming than integra$ng large changes
Problem -‐ Builds Can Become Slow • More code
= more tests = longer build $me
A Fast Build Is Essen$al • Idle developers
• Context switching • Unable to deliver new features • I get bored easily
Monitoring Build Time • Need to measure how long
your build takes
Con$nuous Integra$on Server • API allows us to access
historic build $me informa$on
Flot • Demo
Speeding Up A Slow Build • Split code base
Speeding Up A Slow Build • Hardware •
SSD
Speeding Up A Slow Build • Think about how
to test • Unit tests are fast • Func$onal tes$ng can be slow
Speeding Up A Slow Build • Isola$on from slow
dependencies • Impersonator pa9ern
Speeding Up A Slow Build • Parallelize build
– Be careful with shared dependencies
Speeding Up A Slow Build • Choose a light
weight development container
Speeding Up A Slow Build • Sam Newman’s Build
Pa9erns – Check In Gate – Fish Eye Test Suite – Build Time Limit
More Decks by Chris Bushell
See All by Chris Bushell
Test Automation for Packaged Systems: Yes You Can!
cbushell
0
110
Introduction to Pair Programming
cbushell
1
160
An Introduction to BDD
cbushell
5
200
An Introduction to HTTP
cbushell
2
180
Agile Test Automation
cbushell
2
210
Working Effectively With Legacy Code
cbushell
4
280
Jasmine, BDD for JavaScript
cbushell
1
150
Branches Are For Trees. How to Develop Software Without Them
cbushell
1
140
State Pattern From GoF
cbushell
1
93
Other Decks in Programming
See All in Programming
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
490
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
230
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
LLM 101
dalinaum
0
550
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
1.1k
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
150
Crash Auto Pipelines
veronikapj
1
450
将来の標準フォーマッター?ktfmtを深堀る
t45k
1
250
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
Distance field of Julia set
kinakomoti321
0
330
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
640
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
970
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.3k
The Limits of Empathy - UXLibs8
cassininazir
2
800
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
680
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
Statistics for Hackers
jakevdp
799
230k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.7k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k