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
280
プレゼンテーション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
The Language of Interfaces
destraynor
156
24k
GraphQLとの向き合い方2022年版
quramy
44
14k
How GitHub (no longer) Works
holman
314
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
13
1k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
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で環境構築
石抱とは ベンチマークを楽にとってくれるよ!