home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / bit / listserv / sasl / 4150 < prev    next >
Encoding:
Text File  |  1992-09-10  |  3.3 KB  |  100 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!PITTVMS.BITNET!ADROSEN
  3. X-Envelope-to: SAS-L@OHSTVMA.BITNET
  4. X-VMS-To: IN%"SAS-L@OHSTVMA.BITNET"
  5. X-VMS-Cc: ADROSEN
  6. Message-ID: <01GOMXA0VY5S936DTN@vms.cis.pitt.edu>
  7. Newsgroups: bit.listserv.sas-l
  8. Date:         Thu, 10 Sep 1992 22:59:00 EST
  9. Reply-To:     "Allan D. Rosen (412)624-0418" <ADROSEN@PITTVMS.BITNET>
  10. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  11. From:         "Allan D. Rosen (412)624-0418" <ADROSEN@PITTVMS.BITNET>
  12. Subject:      More Benchmarks for SAS under OS/2
  13. Lines: 85
  14.  
  15. -----------------------------------------------------
  16. Content:  Continuing Discussion
  17. SUMMARY:  More Benchmarks for SAS under OS/2
  18. E-ADDR:   ADROSEN@vms.cis.pitt.edu
  19. NAME:     Allan Rosen
  20. ADDR:     University of Pittsburgh
  21. -------------------------------------------------------
  22.  
  23. I have some benchmark results to add to what Joe Svec provided for SAS under
  24. OS/2.
  25. I have included below:
  26.   1. Table describing the computing environments.
  27.   2. Table of comparisons.
  28.   3. The benchmark program.
  29.  
  30. Please note that one of the tests includes results for two sessions which were
  31. run almost simultaneously. After submitting each session in sequence,
  32. I opened up OS/2's Window List so that neither SAS session had
  33. any preference by the operating system.
  34.  
  35. -----------------------------------------------------
  36.             System 1              System 2
  37. OS          OS/2 1.3              OS/2 2.0
  38. SAS         SAS 6.06              SAS 6.06
  39. Vendor                            Gateway
  40. Chip        386 25MHz DX2         486 50MHz DX2
  41. Bus         ISA                   EISA
  42. RAM         16MB                  16MB 70ns RAM
  43. HD          330MB SCSI            340MB Maxtor SCSI(15ms)
  44. Controller  Western Digital       Adaptec 1742A SCSI EISA
  45.             7000 FASST SCSI
  46. Tester      Joe Svec              Allan Rosen
  47.             "Svec@ACT-ACT6-PO.    "ADROSEN@vms.cis.pitt.edu"
  48.              ACT.ORG"
  49. -----------------------------------------------------
  50. system #   data step 1     data step 2   proc   proc
  51. and mode   write to file   read file     sort   reg
  52. 1  batch     12.16            6.90       4.50   5.53
  53. 2  batch      5.12            2.85       3.22   3.00
  54. 2  DMS        3.85            3.50       3.25   2.25
  55.  
  56. 2  DMS
  57.    session1   9.59            6.08       2.77   6.15
  58.    session2   8.52            7.59       5.00   3.16
  59. ----------------------------------------------------
  60. * benchmrk.sas *;
  61.  
  62.            filename dataf 'c:\test.sas';
  63.  
  64.            data _null_;
  65.               file datf;
  66.               do a='c', 'b', 'a';
  67.                  do x=1 to 1000;
  68.                     y=4+3*x+rannor(0); put a x y;
  69.                  end;
  70.               end;
  71.            run;
  72.  
  73.            data t1;
  74.               infile datf;
  75.               length a $ 1;
  76.               input a x y;
  77.               x2=x*x;
  78.               ia=0; ib=0; ic=0;
  79.               select(a);
  80.                  when('a') ia=1;
  81.                  when('b') ib=1;
  82.                  when('c') ic=1;
  83.                  otherwise;
  84.               end;
  85.            run;
  86.  
  87.            proc sort data=t1;
  88.               by a;
  89.            run;
  90.  
  91.            proc reg;
  92.               model y=x;
  93.               model y=ia ib ic x x2 /noint;
  94. run;
  95. quit;
  96. -------------------------------------------------------
  97.  
  98. Allan Rosen
  99. University of Pittsburgh
  100.