From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 31 Mar 2007 20:25:38 -0300 From: "pedro henrique antunes de oliveira" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] slow performance In-Reply-To: <6e730a824d8c308481ed42b6d2560dc0@vitanuova.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79787_17804402.1175383538913" References: <460EAD58.20906@arcepi.net> <6e730a824d8c308481ed42b6d2560dc0@vitanuova.com> Topicbox-Message-UUID: 39bbbf02-ead2-11e9-9d60-3106f5b1d025 ------=_Part_79787_17804402.1175383538913 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, thank you bill and Forsyth. i'm posting here the source code: http://www.freewebtown.com/phao/t.c (it is very small) and the `time PROGRAM' output: (under 'other' OS) % cc t.c % time a.out 2.86user 0.09system 0:02.97elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (80major+792minor)pagefaults 0swaps % (under Plan9) % 8c -FV t.c % 8l -o t t.8 % time t 37.69u 0.00s 44.43r t if it can help. But two guys have answer that it can be compiler optimation. and if it is that. It is all ok. ------=_Part_79787_17804402.1175383538913 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, thank you bill and Forsyth.

i'm posting here the source code:
http://www.freewebtown.com/phao/t.c  (it is very small)

and the `time PROGRAM' output:

(under 'other' OS)
% cc t.c
% time a.out
2.86user 0.09system 0:02.97elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (80major+792minor)pagefaults 0swaps
%


(under Plan9)
% 8c -FV t.c
% 8l -o t t.8
% time t
37.69u 0.00s 44.43r t

if it can help. But two guys have answer that it can be compiler optimation. and if it is that. It is all ok.
------=_Part_79787_17804402.1175383538913--