How To Optimize Performance (or how to do Performance Testing right)
Optimizing performance requires you to performance test.
I'm just going to say it - performance testing is hard. Really hard.
Ask anyone that's done it before, and they will agree. If you haven't done it before, well, yeah, sorry. It's not easy. But you've got to do it anyway - because the most important thing you will do as a software engineer is performance test. It's a bit like when your Dad told you "when you grow up to be my age <insert age old wisdom here>" and you didn't believe him?
And now you're old enough that you realize, hey, the guy might have had a point?
Yeah, trust me. Performance testing is both the hardest, and most important, thing you will ever do in your software engineering career. Get it right - you'll be a rockstar. Don't do it - well, I promise you, you'll always be griping about why the amazing software you write is never actually used for "production" apps.
So here you go, simple steps to performance engineering:
1) Set goals - what are you trying to accomplish
2) Measure a baseline
3) Identify a bottleneck
4) Fix said bottleneck
5) Repeat until you meet your performance goals
Did I miss anything? Ahhh...yes. TAKE NOTES.
Let's try again:
1) Set goals - what are you trying to accomplish
1a) Take notes
2) Measure a baseline
2a) Take notes
3) Identify a bottleneck
3a) Take notes
4) Fix said bottleneck
4a) Take notes
5) Repeat until you meet your performance goals
Step 6) -- Report to your boss how much better your application is. But because of Step 1, you'll be able to tell him/her why it matters, right? :)


6 comments:
To make the problem even more complex: try adding more than 1 environment you need to deal with.
Tc has access to a lot of machines I heard of Alex. Do you have some kind of environment in place to execute all the performance tests and even is able to analyze trends?
I'm currently setting up a small microbenchmark framework for http://multiverse.googlecode.com so I'm able to do these things without any manual intervention.
情趣按摩棒,自慰套,角色扮演,按摩棒,跳蛋,跳蛋,
情趣,性感丁字褲,情趣,角色扮演服,吊帶襪,丁字褲,情趣用品,跳蛋,男女,
潤滑液,SM,內衣,性感內衣,自慰器,充氣娃娃,AV,
按摩棒,電動按摩棒,飛機杯,視訊,自慰套,自慰套,情趣用品,情趣內衣,
.,
‧租辦公室‧租店面‧買辦公室‧店面租賃‧店面出租‧店面出售‧花茶‧花草茶‧養生茶‧招牌‧led招牌‧招牌製作‧美國月子中心‧保養‧美國月子中心‧OBU‧投審會‧會計師事務所‧會計師‧工商登記‧公司登記‧包子‧肉粽‧宅配美食‧四神湯‧搬家公司‧訂房‧訂房網‧花東旅遊‧桃園土地‧桃園房屋仲介‧桃園房屋‧桃園房屋網‧桃園房屋買賣‧漆彈‧搬家公司‧會場設計‧展場設計‧會場設計‧展場設計‧展覽設計‧消防設備‧消防設備‧機電‧崴立機電‧消防公司‧地板施工‧超耐磨地板‧店面出租‧乳癌‧全身健康檢查‧肝癌‧健康檢查‧身體檢查‧飛梭雷射‧雷射溶脂‧直航機票‧自由行‧三久‧太陽能‧三久太陽能‧太陽能熱水器‧別墅外觀設計‧環保袋‧別墅外觀設計‧室內裝修‧電波拉皮‧hand dryer‧電波拉皮‧雷射溶脂‧肉毒桿菌‧系統家具‧台中漆彈場‧漆彈‧團體服‧美國月子中心‧團體服
‧團體服‧團體服‧T恤‧圍裙‧POLO衫‧班服‧團體服創意‧熱轉印‧團體服訂做‧宜蘭民宿‧關鍵字廣告‧seo‧網路廣告‧網路行銷‧seo‧網站設計‧seo‧線上客服‧seo‧網頁設計‧seo‧網頁設計公司‧網路行銷 ‧網路行銷‧桃園室內設計‧室內設計作品‧室內裝潢‧裝潢‧室內設計‧室內設計公司‧裝潢設計‧豪宅空間設計‧店面設計‧豪宅設計 ‧桃園室內設計公司‧別墅外觀設計‧室內裝潢設計‧台北室內設計‧新竹室內設計‧法拍屋‧中古車‧二手車‧環保袋‧環保袋‧肉毒桿菌‧健檢‧醫學美容‧淨膚雷射‧汽車美容‧法拍屋‧水餃‧清潔公司‧實驗動物‧到府坐月子‧坐月子‧坐月子中心‧坐月子餐‧孕婦‧月子餐‧到府坐月子‧坐月子‧坐月子中心‧坐月子中心台中‧坐月子中心台北‧月子餐‧月子中心‧坐月子餐‧月子餐外送
‧月子餐食譜‧找工作‧統一發票7 8月‧求職‧1111求職人力銀行‧104求職人力銀行‧104人力銀行‧統一發票5 6月‧104人力銀行‧104求職人力銀行塑膠袋‧統一發票1 2月‧塑膠袋批發‧塑膠袋工廠‧金價‧黃金價格‧統一發票3 4月‧1111人力銀行‧1111人力銀行求職‧黃金價格查詢‧中古車買賣塑膠袋 ‧統一發票3 4月 ‧塑膠袋批發 ‧中古車 ‧中古車買賣‧台北人力銀行‧金價查詢‧sum中古車‧中古車‧貸款‧信用貸款‧房屋貸款剖腹生產 命理網 姓名學 姓名配對 星座 星座運勢 算命 開運印章 風水 外遇 徵信 徵信社 外遇 徵信 徵信社 外遇 徵信 徵信社 外遇 徵信 徵信社 外遇 徵信 徵信社 外遇 徵信 徵信社 搬家公司 搬家公司 台北搬家公司 新竹搬家公司
I like your blog. Thank you. They are really great .
Some new style Puma Cat shoes is in fashion this year.
The Nike Air Shoes is a best Air Shoes .
Nike Air Rift is good and Cheap Nike Shoes.
If you are a fans of Puma basket,we would offer the good and Cheap Puma Shoes for you .the cheap ugg bootsis best christmas gift now.
The information age is really convenient .
Post a Comment