On Sat, 05 Dec 2009 10:07:34 +1000, Jenda Krynicky
wrote:
what was the name of that law? Something that said that the speed of
computers doubles every ??? years.
Were you referring to this?
http://en.wikipedia.org/wiki/Moore's_law
Dave
--
Using Opera's revolutionary e-mail client: http:/
From: Rob Coops
> > A daily job that by the sound of it will not be changing a whole lot, jut
> get executed pretty much till the end of times... C is your friend. Perl
> would certainly get the job done and on time without to much problems, but
> if you are worried there isn't much that will ou
> "m" == matt writes:
>> One should note that there's also the overhead of the bash loop here.
m> Valid, but I considered it to be irrelevant as both executables were
m> subjected to the same loop.
did you read my comments on your 'benchmark'? the fork/exec overhead is
large and not
e.
> > > But is there a good way (code sample?) to implement a speed test
> > > between Perl and C?
> > > For a project which handles lots of data we want to know how slower
> > > perl is than C.
>
> > > Thanks.
>
> > To perform the test, I'
Dear Matt,
On Dec 2, 5:29 pm, matthew.leonha...@gmail.com (Matt) wrote:
> > Maybe it's not so suitable to ask this here.
> > But is there a good way (code sample?) to implement a speed test
> > between Perl and C?
> > For a project which handles lots of data we want t
Xiao Lan (小兰) wrote:
Hi!
Also, with both languages, you will have an IO bottleneck.
Yes IO is really the bottleneck I have seen that.
You can greatly reduce IO wait if you write the data to a different disk
than you read from. Speed up things even more, consider using a hardware
RAID contr
On Thu, Dec 3, 2009 at 11:41 PM, Raymond Wan wrote:
>
> Hi Xiao,
>
Hi Raymond,
Thanks for the info.
Again, my name is "Xiaolan Foo", "xiao" means "small", "lan" means "orchid".
So the union of "xiaolan" is my first name, and "foo" is my last name.:-)
>
> Also, with both languages, you will ha
> "UG" == Uri Guttman writes:
> "m" == matt writes:
m> So...I've proved that in my specific environment, C is (~3x) faster
m> than Perl at adding 1+1...Now as far as what tests you want to
m> implement, that's up to you and your specific needs.
UG> sorry, you haven't proved an
Hi Xiao,
Orchid Fairy (兰花仙子) wrote:
reach each line of every file (many files, each is gziped)
look for special info (like IP, request url, session_id, datetime etc).
count for them and write the result into a database
generate the daily report and monthly report
I'm afraid perl can't finish
Hi Xiao!
On Thursday 03 Dec 2009 14:19:10 Orchid Fairy (兰花仙子) wrote:
> Thanks all.
> How about the files parsing with huge size (about 1T of each day)?
>
> The basic logic is:
>
> reach each line of every file (many files, each is gziped)
> look for special info (like IP, request url, session_id
On Thu, Dec 3, 2009 at 1:19 PM, Orchid Fairy (兰花仙子) wrote:
> Thanks all.
> How about the files parsing with huge size (about 1T of each day)?
>
> The basic logic is:
>
> reach each line of every file (many files, each is gziped)
> look for special info (like IP, request url, session_id, datetime
Thanks all.
How about the files parsing with huge size (about 1T of each day)?
The basic logic is:
reach each line of every file (many files, each is gziped)
look for special info (like IP, request url, session_id, datetime etc).
count for them and write the result into a database
generate the da
Hi matt!
On Wednesday 02 Dec 2009 18:29:53 matt wrote:
> On Dec 1, 8:58 pm, practicalp...@gmail.com wrote:
> > Hello,
> >
> > Maybe it's not so suitable to ask this here.
> > But is there a good way (code sample?) to implement a speed test
> > between Perl
> "m" == matt writes:
m> To perform the test, I'd just use 'time':
that is a very poor way to compare speed. it doesn't account for perl's
startup time vs running time.
m> test.cc:
m> int main()
m> {
m> int a = 1 + 1;
m> }
m> test.pl:
m> #!/sw/bin/perl
m> $a = 1
On Dec 1, 8:58 pm, practicalp...@gmail.com wrote:
> Hello,
>
> Maybe it's not so suitable to ask this here.
> But is there a good way (code sample?) to implement a speed test
> between Perl and C?
> For a project which handles lots of data we want to know how slower
>
Hi,
Jim Gibson wrote:
At 9:58 AM +0800 12/2/09, =?GB2312?B?T3JjaGlkIEZhaXJ5ICjAvLuoz8nX0yk=?=
wrote:
You should also consider the "speed" of the programmer. I can write a
Perl program in less than half the time it would take me to write the
same program in C, C++, or Java. You will have to i
At 9:58 AM +0800 12/2/09, =?GB2312?B?T3JjaGlkIEZhaXJ5ICjAvLuoz8nX0yk=?= wrote:
Hello,
Maybe it's not so suitable to ask this here.
But is there a good way (code sample?) to implement a speed test
between Perl and C?
For a project which handles lots of data we want to know how slower
pe
Are you chinese?
Are you cuers.
发件人: Orchid Fairy (兰花仙子)
发送时间: 2009-12-02 09:58:55
收件人: Perl Beginners
抄送:
主题: speed test
Hello,
Maybe it's not so suitable to ask this here.
But is there a good way (code sample?) to implement a speed test
between Perl and C?
For a project
Hello,
Maybe it's not so suitable to ask this here.
But is there a good way (code sample?) to implement a speed test
between Perl and C?
For a project which handles lots of data we want to know how slower
perl is than C.
Thanks.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.or
19 matches
Mail list logo