[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pop-dev] Go - a new language from Google



Hi Carl,

> > I'd be interested to see how commstime performs :-)
> 
> Quickly hacked this up, using sequential delta (before Peter asks).
> I'll probably look at porting some of the more "real" benchmarks.
> 
> ---
> cgr@shiori test $ ./6.out
> Last value received = 100015
> Time = 263188000 nanosecs
> Time per loop = 2631 nanosec
> Context switch = 657 nanosec
> 
> Last value received = 200015
> Time = 272306000 nanosecs
> Time per loop = 2723 nanosec
> Context switch = 680 nanosec
> 
> Last value received = 300015
> Time = 263596000 nanosecs
> Time per loop = 2635 nanosec
> Context switch = 658 nanosec
> ---

Thanks!  Not too bad ... but the times for occam-pi on the same machine
(what was the machine?) are?  ;)

> Not so sure about the syntax of this language...

Yep!  Adam: don't give up on occam4 just yet!!

Peter.