April 20, 2008 Re: OT: ptime [WAS: Re: stdio performance in tango, stdlib, and perl] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | Sean Kelly wrote:
> Andrei Alexandrescu (See Website For Email) wrote:
>>
>> I passed a 31 MB text file (containing a dictionary that I'm using in my research) through each of the programs above. The output was set to /dev/null. I've ran the same program multiple times before the actual test, so everything is cached and the process becomes computationally-bound. Here are the results summed for 10 consecutive runs (averaged over 5 epochs):
>>
>> 13.9s Tango
>> 6.6s Perl
>> 5.0s std.stdio
>
> For what it's worth, I created a Win32 version of the Unix 'time' command recently. Not too complicated, but if anyone is interested, I have it here: http://www.invisibleduck.org/~sean/tmp/ptime.zip It's a quick and dirty implementation, but works for how I typically use it.
I was looking for something like this just the other day.
Link seems to be dead these days. Is there a new URL for it?
--bb
|
April 21, 2008 Re: OT: ptime [WAS: Re: stdio performance in tango, stdlib, and perl] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | == Quote from Bill Baxter (dnewsgroup@billbaxter.com)'s article
> Sean Kelly wrote:
> > Andrei Alexandrescu (See Website For Email) wrote:
> >>
> >> I passed a 31 MB text file (containing a dictionary that I'm using in my research) through each of the programs above. The output was set to /dev/null. I've ran the same program multiple times before the actual test, so everything is cached and the process becomes computationally-bound. Here are the results summed for 10 consecutive runs (averaged over 5 epochs):
> >>
> >> 13.9s Tango
> >> 6.6s Perl
> >> 5.0s std.stdio
> >
> > For what it's worth, I created a Win32 version of the Unix 'time' command recently. Not too complicated, but if anyone is interested, I have it here: http://www.invisibleduck.org/~sean/tmp/ptime.zip It's a quick and dirty implementation, but works for how I typically use it.
> I was looking for something like this just the other day. Link seems to be dead these days. Is there a new URL for it?
I switched web hosts and have yet to re-upload all my old content. I'll see about getting this zipfile up in the next few days.
Sean
|
April 22, 2008 Re: OT: ptime [WAS: Re: stdio performance in tango, stdlib, and perl] | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | Sean Kelly wrote: > == Quote from Bill Baxter (dnewsgroup@billbaxter.com)'s article >> Sean Kelly wrote: >>> Andrei Alexandrescu (See Website For Email) wrote: >>>> I passed a 31 MB text file (containing a dictionary that I'm using in >>>> my research) through each of the programs above. The output was set to >>>> /dev/null. I've ran the same program multiple times before the actual >>>> test, so everything is cached and the process becomes >>>> computationally-bound. Here are the results summed for 10 consecutive >>>> runs (averaged over 5 epochs): >>>> >>>> 13.9s Tango >>>> 6.6s Perl >>>> 5.0s std.stdio >>> For what it's worth, I created a Win32 version of the Unix 'time' >>> command recently. Not too complicated, but if anyone is interested, I >>> have it here: http://www.invisibleduck.org/~sean/tmp/ptime.zip It's a >>> quick and dirty implementation, but works for how I typically use it. >> I was looking for something like this just the other day. >> Link seems to be dead these days. Is there a new URL for it? > > I switched web hosts and have yet to re-upload all my old content. I'll see > about getting this zipfile up in the next few days. Okay, I've uploaded it here: http://invisibleduck.org/sean/tmp/ptime.zip Sean |
Copyright © 1999-2021 by the D Language Foundation