TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Developing When Your Computer is too Fast

52 pointsby gsteph22over 14 years ago

13 comments

dlsspyover 14 years ago
I don't believe I communicated clearly enough in the creation of this project.<p>This is not ``Yay, I don't ever have to worry about any other computer because I can simulate anything.''<p>This is me sitting next to my QA guy (who really understands what I did better than I do so far) and having him say, ``Why don't you just make it fast for the first ten minutes, then slow down socket operations briefly, then switch a pattern of speedup and slowdown on disk reads?''<p>I want to do more fault injection stuff. I'm being asked to do stuff like manipulate the data (sometimes), or lie about the results of certain operations.
评论 #1901081 未加载
chunkbotover 14 years ago
Fun, but the good thing about slow computers is that they're also the cheapest; it's far more economical to just buy an old box for a couple hundred dollars (or even cheaper).
评论 #1899882 未加载
51Cardsover 14 years ago
I have been programming since the late 80's and one thing I learned early was to always develop (or at least extensively test) on older hardware. My primary work machine is usually a generation or two old. At present I code on a T42 Thinkpad and there is a new T60 waiting to take over in a couple months. If you're forced to develop in a "slow" environment you learn to optimize your code from the get go, all the time. You automatically rely on faster techniques as the norm vs. going back and fixing later. As a result now I frequently see my applications running at client's offices and think to myself "holy crap, that's fast". Another side benefit is that it keeps all my "fun" applications over on another more current machine and separate from work.
评论 #1900664 未加载
w1ntermuteover 14 years ago
The point he's missing is that you don't have to develop software on the same computer you test it on. The best solution is to have a separate test computer that's appropriately slow. In fact, most people probably already have an old one lying around that they could use.<p>And regardless of speed, it's good to test your software on a variety of systems.
评论 #1899888 未加载
jrockwayover 14 years ago
Another site that rips off the HN comments verbatim?<p>Hi everybody, I'm doctor copyright-infringement!
评论 #1900222 未加载
dugmartinover 14 years ago
I recommend doing the same thing for web development.<p>There is a nice Firefox plugin (Firefox Throttle) that lets you throttle uploads and downloads with a single button click. If, like most web developers, you do development on localhost using the plugin lets you see how your user's experience uploading large files or downloading image rich pages with network latency.<p>Unfortunately its been pulled from the addons library search but you can download it directly (for now) using the ftp url in the comments here:<p><a href="http://support.mozilla.com/en-US/questions/755876#answer-107035" rel="nofollow">http://support.mozilla.com/en-US/questions/755876#answer-107...</a>
slewisover 14 years ago
Nice work. But be careful about relying entirely on something like this. There are more than just seek time differences between hard disks and SSDs: they have different internal cache behavior, different latency variances, queuing differences (depending on how the devices are configured and how you're using them) etc.<p>This seems like it'll get you 80% of what you want. But it'd be useful to have an actual disk to test on as well.
评论 #1899752 未加载
chealdover 14 years ago
I actually have a dev box that's an older Athlon XP with 1 GB of RAM that is surprisingly useful for finding performance issues. Things that don't show up on my monster desktop show up -really- fast on the clunker.<p>I'm a firm believer that developers should have old hardware to test on. :)
radioactive21over 14 years ago
Wouldn't all this depend on your target customers? If your target customer is big business that have fast computers you are okay.<p>If your customers are average joes, then yes I would say you should have a test environment in place that closely represents those customers.<p>Even after all that the question I have is which set of customers brings in the most money for you? Lets say you have a mix of big business that run fast machines, and average joes that run slow machines. If 90% of your money comes from big business, why bother trying to make software for the slow machines? Just slap on a system requirement and it should cover them, so-to-speak.
评论 #1900342 未加载
StavrosKover 14 years ago
Great work, but I think a library to do the opposite would be more useful.
评论 #1900229 未加载
emmelaichover 14 years ago
I appreciate this sort of software, since our development and production hardware has vastly different performance profiles.<p>Development is on fast intel single or dual core machines with slow disks and production is slow many core sparc machines with fast disks.
tomjen3over 14 years ago
I can see this work, but honestly wouldn't it make more sense not to use an older computer? They are typically cheap and you don't have to suffer when you don't develop speed critical code.
评论 #1900347 未加载
meemoover 14 years ago
What about developing or testing in a virtual machine?
评论 #1901609 未加载