tag:blogger.com,1999:blog-9238405.post2473630494353717546..comments2026-04-17T02:13:19.234-07:00Comments on Agile Testing: Code performance vs system performanceGrig Gheorghiuhttp://www.blogger.com/profile/17863511617654196370noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-9238405.post-12405381965590095792012-11-30T13:08:39.380-08:002012-11-30T13:08:39.380-08:00Benjamin -- I disagree. I think slow I/O masks a l...Benjamin -- I disagree. I think slow I/O masks a lot of issues that come to the forefront once I/O is not the issue anymore. Once you eliminate your #1 problem, #2 becomes #1. And #2 for most people is poorly written queries and poorly written code that makes too much redundant use of queries.Grig Gheorghiuhttps://www.blogger.com/profile/17863511617654196370noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-77364670401866714212012-11-30T12:51:33.555-08:002012-11-30T12:51:33.555-08:00Poorly written SQL queries are poorly written beca...Poorly written SQL queries are poorly written because they have redundant queries which hit the DB, not because they're using so much CPU to process DB results. An order of magnitude faster DBs are going to lessen this problem, not increase it.<br /><br />Profiling is always the best way to see where to focus optimization efforts. SSDs don't change that.Benjaminhttps://www.blogger.com/profile/11979252184749589064noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-8541880950737703042012-11-30T10:40:42.700-08:002012-11-30T10:40:42.700-08:00Simon -- thanks for the kind words. I'll follo...Simon -- thanks for the kind words. I'll follow up on your question with another post soon.Grig Gheorghiuhttps://www.blogger.com/profile/17863511617654196370noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-479449241134120222012-11-30T10:35:38.295-08:002012-11-30T10:35:38.295-08:00Koen -- you refer to raw speeds here. I refer to p...Koen -- you refer to raw speeds here. I refer to poorly written SQL queries and poorly written code that uses those queries. That combination can tie up the CPU and potentially cause deadlocks as well no matter how fast your CPU is.Grig Gheorghiuhttps://www.blogger.com/profile/17863511617654196370noreply@blogger.comtag:blogger.com,1999:blog-9238405.post-56230219796384173652012-11-30T06:09:38.870-08:002012-11-30T06:09:38.870-08:00I disagree. Even if the I/O subsystem becomes an o...I disagree. Even if the I/O subsystem becomes an order of magnitude faster, this will not be enough to keep the CPU busy all the time; I/O subsystem >> RAM >> CPU cache; there's multiple orders of magnitude difference between them.Koennoreply@blogger.comtag:blogger.com,1999:blog-9238405.post-85857124339470228572012-11-29T17:02:50.413-08:002012-11-29T17:02:50.413-08:00Hi Grig. Nice article.
I'm interested to kno...Hi Grig. Nice article. <br /><br />I'm interested to know, from a tester rather than a developer perspective - what tools do you think are useful for measuring code performance?Simonhttps://www.blogger.com/profile/09855033060018578724noreply@blogger.com