The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Testing and Profiling: Your Best Friends

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Testing and Profiling: Your Best Friends Posted: Oct 24, 2006 2:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Testing and Profiling: Your Best Friends
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

Larry O'Brien explains how he unit tested his way to solving a performance problem. This part of his exploration is something I've learned the hard way:

As the race condition clobbered more threads, though, the relative amount of time each remaining thread spent inside the critical section decreased! Eventually the system would degrade to one or two threads, providing the illusion that the system was “limping along.” And making me ass-u-me that the problem had to do with the database.

That last sentence is the key thing: Most of us don't guess the problem at all well. Tools - whether tests or profilers (or, more likely, both) - help us identify the real problems.

Technorati Tags: , ,

Read: Testing and Profiling: Your Best Friends

Topic: Keep up with OOPSLA Previous Topic   Next Topic Topic: Let 'em rot

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use