Very recently I had a bit of code that worked. Its job is just to load a database with some fixed-width data from one source, some TSV data from a couple of others, and do a bit of manipulation of that data on the fly. In order to prevent online customers from finding bogus data, the web site that presents that data had to be suspended during the run of the database loader. It wasn't a big deal to suspend the site, as it was only for ~45 seconds per day. The site would lose at most one sale during that time.

Then the dataset grew, the requirements changed, and the thing that once worked just fine required 20 minutes or more to run. 30 sales lost per day was not acceptable to the client. Suddenly, runtime mattered a lot.

Like so much of life, the correct answer is situationally dependent. Performance may or may not matter, but you cannot issue one statement and expect it to fit all cases.

As someone else said, first make it run, then make it run fast. To that I would add, "... if fast is necessary".


In reply to Re: Is Performance Overrated? by gloryhack
in thread Is Performance Overrated? by pileofrogs

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.