home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xc212os2.zip / DOC / bench.txt next >
Text File  |  1996-03-06  |  1KB  |  42 lines

  1. bench.txt                        Copyright (c) 1994,96 xTech Ltd
  2. ----------------------------------------------------------------
  3.  
  4.             Benchmarks
  5.             ----------
  6.  
  7. The directory samples\simple contains
  8.     dry.mod     dhrystone test (Modula-2)
  9.     dry.c           dhrystone test (C)
  10.     whet.mod        whetstone test (Modula-2)
  11.  
  12. These test can be used to compare different platforms and different
  13. compilers.  We include dry.c test to make it possible to compare
  14. the quality of the generated code with C compilers.
  15.  
  16. Enclosed are result of comparision between our compiler and
  17. several C compilers. All tests were made on 486DX2-66 PC.
  18. All possible optimizations for each compiler were turned on.
  19.  
  20. Compiler         Dhrystones/second    Compiler options
  21. --------------------------------------------------------------
  22. XDS 2.12             117 K                (see below)
  23. Watcom 10.0          105 K                -ox -oa -4r -oe=500 -zp4
  24. MSVC 2.0              84 K                /Ox /Oa
  25. Symantec 6.1          51 K           -o+all
  26.  
  27. For our compiler the following project file was used:
  28. ------------------------------
  29. +alignment
  30. +procinline
  31. +noptralias
  32. -checkindex
  33. -checkrange
  34. -checknil
  35. -checkdiv
  36. -ioverflow
  37. -coverflow
  38. !module dry.mod
  39. ------------------------------
  40.  
  41.             [end of document]
  42.