From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,325a055bed62c230,start X-Google-Attributes: gid103376,public From: reason67@my-deja.com Subject: Apex vs GNAT on solaris Date: 1999/12/07 Message-ID: <82hiuj$74o$1@nnrp1.deja.com>#1/1 X-Deja-AN: 557285507 X-Http-Proxy: NetCache@www-blv-proxy3.boeing.com: Version NetApp Release 3.4D6: Mon Aug 23 16:40:19 PDT 1999-Solaris, 1.0 x35.deja.com:80 (Squid/1.1.22) for client 12.13.226.13 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Dec 07 00:04:38 1999 GMT X-MyDeja-Info: XMYDJUIDreason67 Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.06 [en] (X11; I; SunOS 5.6 sun4u) Date: 1999-12-07T00:00:00+00:00 List-Id: I am working on a project which employs the Apex compilation system to compile Ada95. I was in the process of testing some performance issues in Apex and decided t check and see what the GNAT 3.11 results were as well. To give you ideas of my test environment, I am running on a Sun Ultra-2 using solaris 2.6. I am using the standard Apex Ada 95 threaded model (uses posix threads for tasks) and the out of the box gnat 3.11. I thought these general tests would be of interest to some of you here: An outline of the tests I ran so far, are as follows: 1 - Context Switch timing 1.0 15 iterations of 1000 delays of duration'small. report worst time for the delay and the average time. 1.1 15 iterations of 1000 delays of 0.0 1.2 15 iterations of 100 delays of duration'small in 100 tasks. 1.3 15 iterations of 100 delays of 0.0 in 100 tasks. 2 - TCP/IP timing (not run yet) 3 - heap allocation/deallocation 3.0 mem map of allocation of 1 .. 1 meg of memory keeping 1 previous allocation 3.1 timing of allocation and deallocation of 1 .. 1 meg of memory 3.2 same as 3.0 except keep 100 previous pointers (not run yet) 4 - Rendezvous 4.0 configurable number of task pairs one calling the others rendezvous. 4.1 same as 4.0 except data is passed.(not run yet) 5 - timing of exception handling propagated over 2 levels (not run yet) I will respond to this message the code and the results of each test. Any ideas of future testing or what you consider mistakes in the testing would be appreciated. --- Jeffrey S. Blatt Sent via Deja.com http://www.deja.com/ Before you buy.