run-time_bars.bup 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. .PS
  2. boxht = 0.5
  3. boxwid = 1
  4. moveht = 1
  5. down;
  6. {
  7. right;
  8. box invis "ACK" "w/o" "opt"
  9. move
  10. [
  11. down;
  12. boxht = 0.25
  13. box wid 4.5
  14. "C (arithmetic)" ljust at last box.w + 0.1,-0.02
  15. "10(!)" ljust at last box.e + 0.1,-0.02
  16. box wid 4.5 with .nw at last box.sw
  17. "C (dhrystones)" ljust at last box.w + 0.1,-0.02
  18. "10(!)" ljust at last box.e + 0.1,-0.02
  19. box wid 4.5 with .nw at last box.sw
  20. "Modula-2" ljust at last box.w + 0.1,-0.02
  21. "8(!)" ljust at last box.e + 0.1,-0.02
  22. ] with .w at last box.e
  23. }
  24. move
  25. {
  26. right;
  27. box invis "ACK" "with" "peep-hole" "opt"
  28. move
  29. [
  30. down;
  31. boxht = 0.25
  32. box wid 1.4
  33. "C (arithmetic)" ljust at last box.w + 0.1,-0.02
  34. "1.4" ljust at last box.e + 0.1,-0.02
  35. box wid 1.9 with .nw at last box.sw
  36. "C (dhrystones)" ljust at last box.w + 0.1,-0.02
  37. "1.9" ljust at last box.e + 0.1,-0.02
  38. box wid 2.5 with .nw at last box.sw
  39. "Modula-2" ljust at last box.w + 0.1,-0.02
  40. "2.5" ljust at last box.e + 0.1,-0.02
  41. ] with .w at last box.e
  42. }
  43. move
  44. {
  45. right;
  46. box invis "ACK" "-O4"
  47. move
  48. [
  49. down;
  50. boxht = 0.25
  51. box wid 1.1
  52. "C (arithmetic)" ljust at last box.w + 0.1,-0.02
  53. "1.1" ljust at last box.e + 0.1,-0.02
  54. box wid 1.6 with .nw at last box.sw
  55. "C (dhrystones)" ljust at last box.w + 0.1,-0.02
  56. "1.6" ljust at last box.e + 0.1,-0.02
  57. box wid 2.5 with .nw at last box.sw
  58. "Modula-2" ljust at last box.w + 0.1,-0.02
  59. "2.5" ljust at last box.e + 0.1,-0.02
  60. ] with .w at last box.e
  61. }
  62. move
  63. {
  64. right;
  65. box invis "Sun's" "compiler" "w/o opt."
  66. move
  67. [
  68. down;
  69. boxht = 0.25
  70. box wid 3.7
  71. "C (arithmetic)" ljust at last box.w + 0.1,-0.02
  72. "3.7" ljust at last box.e + 0.1,-0.02
  73. box wid 2.2 with .nw at last box.sw
  74. "C (dhrystones)" ljust at last box.w + 0.1,-0.02
  75. "2.2" ljust at last box.e + 0.1,-0.02
  76. box wid 1.8 with .nw at last box.sw
  77. "Modula-2" ljust at last box.w + 0.1,-0.02
  78. "1.8" ljust at last box.e + 0.1,-0.02
  79. ] with .w at last box.e
  80. }
  81. move
  82. {
  83. right;
  84. box invis "Sun's" "compiler" "-O4"
  85. move
  86. [
  87. down;
  88. boxht = 0.25
  89. box wid 1.0
  90. "C (arith.)" ljust at last box.w + 0.1,-0.02
  91. "1.0" ljust at last box.e + 0.1,-0.02
  92. box wid 1.0 with .nw at last box.sw
  93. "C (dhryst.)" ljust at last box.w + 0.1,-0.02
  94. "1.0" ljust at last box.e + 0.1,-0.02
  95. box wid 1.0 with .nw at last box.sw
  96. "Modula-2" ljust at last box.w + 0.1,-0.02
  97. "1.0" ljust at last box.e + 0.1,-0.02
  98. ] with .w at last box.e
  99. }
  100. .PE