The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Premature Weblog Optimization

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
Premature Weblog Optimization Posted: Jan 3, 2004 9:21 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Premature Weblog Optimization
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
Scoble enages in some premature optimization - I followed his suggestion here:

Want to see the difference weblog optimization makes? Open my weblog and then compare the time it takes to open it when compared with Sean and Scott's weblog, which also is done in Radio UserLand. Now, look at their code. First off, they have indents in their code that are done with spaces. Get rid of the indents and you save 5% or more on file sizes. Then, look at all the MS Office stuff.

A 5% size differential just disappears into the haze of lag on the internet. Maybe it makes a difference for the (ever smaller) dialup users - most of whom aren't reading Scoble's blog, I'd guess :) I can't see any page loading difference at all on my end, using comcast cable modem service.

This all points to one of the mistakes that is very, very easy to make in software systems - premature optimization. You should never assume that you know what the problem is; instead, you should actually test it out. Back when I was a consultant, I can't count the number of times I ran into this:

  • me: So what's the problem?
  • them: It's the FooBaz module
  • me: Have you profiled the system to verify that?
  • them: Puzzled look

Check first, then optimize. Otherwise, you might well optimize the wrong thing.

Read: Premature Weblog Optimization

Topic: Re: DerivedInformation Previous Topic   Next Topic Topic: Anemic domains

Sponsored Links



Google
  Web Artima.com   

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