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
amymd
May 31, 2017
Programming
1.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
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
320
JIS keyboard support in Omarchy
lef237
0
130
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
ジョジョの世界をXRで再現する
mofurune
0
170
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
800
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
400
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
800
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
How to Talk to Developers About Accessibility
jct
2
580
Building the Perfect Custom Keyboard
takai
2
910
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
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… ちょっとした実装でも、余計な処理を していないか心がけるようになった
「そんな速度に 影響ないし… 都度処理しよ」
本当にそれで 大丈夫?
塵も積もれ 山となる
小さな処理 積み重 が 大きな影響を与える
小さな処理 改善が 大きな改善となる