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
プレゼンテーション1.pdf
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
shim0mura
July 26, 2013
0
300
プレゼンテーション1.pdf
shim0mura
July 26, 2013
Tweet
Share
More Decks by shim0mura
See All by shim0mura
入門! SSL 〜とりあえずそれっぽい単語たくさん調べてみました〜
shim0mura
1
1.5k
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
For a Future-Friendly Web
brad_frost
183
10k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Being A Developer After 40
akosma
91
590k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
140
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
98
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Abbi's Birthday
coloredviolet
2
5.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
My Coaching Mixtape
mlcsv
0
69
Transcript
ベンチマークを楽にとる スクリプトを作ってる話 @shim0mura
WHO AM I @shim0mura
ベンチマークの実際 1. 要件が確定する(秒間xxxアクセス) 2. 要件に沿ったベンチマークをする 3.1 要件クリアできない場合 =>ボトルネック調査、さらなるベンチ 3.2 要件クリアできた場合
=> ( ◠‿◠ )v ( ◠‿◠ )
ベンチマークスクリプト面倒だよね 環境用意するの面倒 =>僕の環境ではこれくらいのスコア出たのに.. 対象サーバのリソース状況が分からん => 別窓でdstatたたくのは嫌だ… urlを集めなきゃいけない =>abやhttperfはcurlと同じなので jsやcssは自動で取得してくれない
⽯石抱の今後 ・sshで対象サーバでdstat叩く ・負荷かける前に対象サーバに1回アクセス、 mechanizeで同一ドメインのjs, css, 画像取得 ・rateオプションによる秒間アクセス数の指定 ・gruffによる折れ線グラフ表示 ・vagrantで環境構築
石抱とは ベンチマークを楽にとってくれるよ!