Ok what would that look like as one line of perl?
On 11/3/06, Matthew Walker <[EMAIL PROTECTED]> wrote:
This will generate a random input file for you:
<?php
$lines = mt_rand(10,100);
for ($i = 0; $i < $lines; $i++) {
$entries = mt_rand(10,100);
for ($j = 0; $j < $entries; $j++) {
if ($j > 0) {
echo " ";
}
echo mt_rand(-100, 100);
}
echo "\n";
}
?>
Run that and pipe the output to a file. Enjoy. :)
On Fri, November 3, 2006 10:43 am, Andy Bradford wrote:
> Thus said Paul Seamons on Fri, 03 Nov 2006 08:27:09 MST:
>
>> In this example with only five elements, there just isn't that much
>> CPU being used to actually do the processing.
>
> Even though in my last test I increased the data sample, the actual data
> is just the same test multiplied by 100. The best test would be to
> varied data throughout the whole file. Anyone have such a sample set?
>
> Andy
> --
> [-----------[system uptime]--------------------------------------------]
> 10:43am up 5 days, 28 min, 1 user, load average: 1.00, 1.00, 1.00
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>
--
Matthew Walker
Kydance Hosting & Consulting
LAMP Specialist
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/