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
shim0mura
July 26, 2013
0
270
プレゼンテーション1.pdf
shim0mura
July 26, 2013
Tweet
Share
More Decks by shim0mura
See All by shim0mura
入門! SSL 〜とりあえずそれっぽい単語たくさん調べてみました〜
shim0mura
1
1.4k
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
How to Ace a Technical Interview
jacobian
276
23k
Statistics for Hackers
jakevdp
797
220k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
Adopting Sorbet at Scale
ufuk
74
9.2k
A Tale of Four Properties
chriscoyier
158
23k
Practical Orchestrator
shlominoach
186
10k
What's in a price? How to price your products and services
michaelherold
244
12k
The World Runs on Bad Software
bkeepers
PRO
67
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
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で環境構築
石抱とは ベンチマークを楽にとってくれるよ!