Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CIをもっと高速にした(かった) / ci-fast
Search
Jun Watanabe
February 22, 2017
Programming
0
1.5k
CIをもっと高速にした(かった) / ci-fast
presented on #phpblt #6
https://phpblt.connpass.com/event/49458/
Jun Watanabe
February 22, 2017
Tweet
Share
More Decks by Jun Watanabe
See All by Jun Watanabe
力技で実現するHR Driven Provisioningとアクセス制御の自動化 / kyash-hr-driven-provisioning
rela1470
0
120
10分(25分)でつくる社内Webツール / howto-oidc-webpage
rela1470
0
110
リーグオブ情シス 第二回 / League of Infosys
rela1470
1
1.3k
Kyashでコーポレートエンジニアを初採用して7ヶ月が経ちましたがお元気ですか / ce-night-kyash
rela1470
4
2.9k
じこしょうかい2019 / rela1470-portfolio-2019
rela1470
0
310
255オクテットのドメインはツラみがある! / endless-work
rela1470
1
4.9k
ヤフーの1on1
rela1470
0
450
15分でわかる!WBMPビューアー実装から始めるPHPバイナリ超初心者入門 / php_wbmp
rela1470
1
2.2k
またブラウザアプリの時代が来る!?ORATTAが考えるこれからのゲーム開発戦略とは / oratta_webapp_pwa
rela1470
0
1.8k
Other Decks in Programming
See All in Programming
みんなでプロポーザルを書いてみた
yuriko1211
0
280
Outline View in SwiftUI
1024jp
1
330
Realtime API 入門
riofujimon
0
150
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.1k
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
340
subpath importsで始めるモック生活
10tera
0
310
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
2k
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
31
6.3k
Producing Creativity
orderedlist
PRO
341
39k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Become a Pro
speakerdeck
PRO
25
5k
RailsConf 2023
tenderlove
29
900
Building Flexible Design Systems
yeseniaperezcruz
327
38k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Transcript
CIΛͬͱߴʹͨ͠ (͔ͬͨ) 2017/02/22 PHP BLT #6 Jun Watanabe
Jun Watanabe • ORATTA, Inc. Chief Engineer • PHPer 8͘Β͍
• ࠷ۙϚωδϝϯτɾ։ൃڥվળͷൺॏଟΊ • Twitter: http://rela.red/ https://recruit.oratta.net/
CIճͯ͠·͔͢?
ܧଓతΠϯςάϨʔγϣϯ • ϓϩάϥϚʔͷΞϓϦέʔγϣϯ࡞࣌ͷ ࣭վળೲظͷॖͷͨΊͷश׳ • ϏϧυςετɺΠϯεϖΫγϣϯͳͲΛܧ ଓతʹ࣮ߦ͍ͯ͘͜͠ͱ
Codecov GitHub Flow scrutinizer pull request 2017/02/22 ࣌
Codecov GitHub Flow scrutinizer pull request 2017/02/22 ࣌ Ϣχοτςετ ΧόϨοδ
Ϣχοτςετ PHP5.6.17 PHPUnit
19ඵ PHPUnit͍ >time phpunit -c phpunit.xml Runtime: PHP 5.6.17 real
0m19.066s user 0m14.152s sys 0m1.670s
Ϣχοτςετ + ΧόϨοδϨϙʔτ PHP5.6.17 PHPUnit Xdebug
1427ඵ Xdebug͍ >time phpunit -c phpunit.xml —coverage-html=coverage Runtime: PHP 5.6.17
with Xdebug 2.3.3 real 14m27.768s user 14m2.158s sys 0m22.179s +148ඵ
PHP7ʹ͢Ε ྑ͍͡ΌΜ!
Ϣχοτςετ + ΧόϨοδϨϙʔτ PHP7.1.1 PHPUnit Xdebug
56ඵ PHP7͍ >time phpunit -c phpunit.xml --coverage-html=coverage Runtime: PHP 7.1.1
with Xdebug 2.5.0 real 0m56.049s user 0m47.812s sys 0m1.034s -1331ඵ
phpdbgʹ͢Ε ྑ͍͡ΌΜ!
5ඵ!! phpdbg͍ >time phpdbg -qrr phpunit -c phpunit.xml --coverage-html=coverage Runtime:
PHPDBG 7.1.1 real 0m05.875s user 0m04.711s sys 0m0.342s -51ඵ
phpdbg ͬͱ׆༻ͯ͠΄͍͠!
؆୯ʹରԠͰ͖·͢! • CircleCI • PHP7ͳΒσϑΥͰରԠ͍ͯ͠·͢! • homebrew-php • શόʔδϣϯɺΠϯετʔϧΦϓγϣϯ͕͋Γ·͢! •
ྫ)brew install php71 --with-phpdbg
ͱ͍͑ݱ࣮Ͳ͏ͳͷ͔ • PHP7ʹҠߦͰ͖ͳ͍ϓϩδΣΫτ͋Δ • phpdbgPHP5.4͔Β͑Δ • PHP5.5Ҏલ͜ͷੈ͔Β໓Μͩจ໌ • PHP5.6ͰϑϨϯζʹͳΔํ๏Λߟ͑Δ
CircleCIͷPHP5.6ڥͰ phpdbgΛແཧΓ ͑ΔΑ͏ʹ͠·ͨ͠
https://github.com/ rela1470/ circleci-phpdbg
phpdbgͰΧόϨοδ͕औΕΔͷ PHP7͔Βͩͬͨ >time phpdbg -qrr phpunit -c phpunit.xml —coverage-html=coverage Runtime:
PHPDBG 5.6.17 Error: No code coverage driver is available
Ϣχοτςετ͚ͩͰ ૣ͘ͳͬͯͳ͍͔ͳ͋ >time phpunit -c phpunit.xml Runtime: PHP 5.6.17 real
0m19.066s user 0m14.152s sys 0m1.670s
ٯʹ8ඵ͘ͳͬͨ... >time phpdbg -qrr phpunit -c phpunit.xml Runtime: PHPDBG 5.6.17
real 0m27.769s user 0m23.256s sys 0m1.244s +8ඵ
͍ΈͪΞφλ࣍ୈ • ͬͱେنͳςετڥͰͬͨΒߴԽ ͯ͠Δͷ͔? • phpdbgͩͱ௨Βͳ͍ςετ͕͋ΔͷͰɺҠߦ લνΣοΫͱ͔ʹ͏?
https://github.com/ rela1470/ circleci-phpdbg
forked from suzuki/its-travel-pack (PHPBLT #4 by @suzuki) https://github.com/ rela1470/ its-travel-pack