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
第114回PHP勉強会 Blackfireを使ったLaravelアプリのパフォーマンス改善
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
amymd
May 31, 2017
Programming
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
第114回PHP勉強会 Blackfireを使ったLaravelアプリのパフォーマンス改善
amymd
May 31, 2017
More Decks by amymd
See All by amymd
【LaraLab vol.2】Laravel Zeroさわってみた
amymd
0
1.7k
Other Decks in Programming
See All in Programming
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
120
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
140
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
自分的「カンファレンスの楽しみ方」
syumai
0
200
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
4
2.3k
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
260
Press start. Python's next generation.
willingc
PRO
3
320
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
XHTMLが残したもの
yosuke_furukawa
PRO
2
470
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
110
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
420
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
55
36k
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
380
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
210
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
520
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
370
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
470
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
Transcript
Blackfireを使った Laravelアプリ パフォーマンス改善 オールアバウト 山田亜美
ってご存知ですか?
Blackfireと ▪ PHP プロファイラーサービス ◦ https://blackfire.io/ ▪ ど メソッドが何回呼 れてるかわかる
▪ Agentをインストールするだけ ▪ 簡単にPHP パフォーマンス検証ができる ◦ https://www.youtube.com/watch?v=AygjcT_l sQI
Blackfire 画面 引用:https://blackfire.io/docs/reference-guide/analyzing-call-graphs
ボトルネック調査 ポイント☝
ボトルネック調査 ポイント:コールグラフ 赤くなっている箇所に注目すべし
ボトルネック調査 ポイント:メソッド一覧 ソートで呼び出し回数や 処理時間 多いメソッドを見つけるべし
ボトルネック調査 ポイント:メソッド 呼び出し ɚ 虫メガネを活用すべし
Blackfireを使って パフォーマンス改善 した結果
Blackfireを使った結果、よかったこと ▪ サイト パフォーマンス向上 ◦ 約10% 無駄な処理 削減 ◦ 何度も実行されるメソッド
バグ発見 ▪ Laravelフレームワーク側 処理 理解 ◦ Eloquent, ServiceProvider, Facade… ちょっとした実装でも、余計な処理を していないか心がけるようになった
「そんな速度に 影響ないし… 都度処理しよ」
本当にそれで 大丈夫?
塵も積もれ 山となる
小さな処理 積み重 が 大きな影響を与える
小さな処理 改善が 大きな改善となる