old-time-psl.sl 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. % TIME-PSL.SL Driver of PSL "spectral" tests
  2. % After loading psl-timer.b, LAPIN this file
  3. (TestSetup)
  4. (progn (reclaim)
  5. (prin2 "EmptyTest 10000 ")
  6. (print (TimeEval '(EmptyTest 10000))) 0)
  7. (progn (prin2 "SlowEmptyTest 10000 ")
  8. (print (TimeEval '(SlowEmptyTest 10000))) 0)
  9. (progn (prin2 "Cdr1Test 100 ")
  10. (print (TimeEval '(Cdr1Test 100))) 0)
  11. (progn (prin2 "Cdr2Test 100 ")
  12. (print (TimeEval '(Cdr2Test 100))) 0)
  13. (progn (prin2 "CddrTest 100 ")
  14. (print (TimeEval '(CddrTest 100))) 0)
  15. (progn (prin2 "ListOnlyCdrTest1 ")
  16. (print (TimeEval '(ListOnlyCdrTest1))) 0)
  17. (progn (prin2 "ListOnlyCddrTest1 ")
  18. (print (TimeEval '(ListOnlyCddrTest1))) 0)
  19. (progn (prin2 "ListOnlyCdrTest2 ")
  20. (print (TimeEval '(ListOnlyCdrTest2))) 0)
  21. (progn (prin2 "ListOnlyCddrTest2 ")
  22. (print (TimeEval '(ListOnlyCddrTest2))) 0)
  23. (progn (prin2 "ReverseTest 10 ")
  24. (print (TimeEval '(ReverseTest 10))) 0)
  25. (progn (reclaim)
  26. (prin2 "MyReverse1Test 10 ")
  27. (print (TimeEval '(MyReverse1Test 10))) 0)
  28. (progn (reclaim)
  29. (prin2 "MyReverse2Test 10 ")
  30. (print (TimeEval '(MyReverse2Test 10))) 0)
  31. (progn (reclaim)
  32. (prin2 "LengthTest 100 ")
  33. (print (TimeEval '(LengthTest 100))) 0)
  34. (progn (prin2 "ArithmeticTest 10000 ")
  35. (print (TimeEval '(ArithmeticTest 10000))) 0)
  36. (progn (prin2 "EvalTest 10000 ")
  37. (print (TimeEval '(EvalTest 10000))) 0)
  38. (progn (prin2 "tak 18 12 6 ")
  39. (print (TimeEval '(topleveltak 18 12 6))) 0)
  40. (progn (prin2 "gtak 18 12 6 ")
  41. (print (TimeEval '(toplevelgtak 18 12 6))) 0)
  42. (progn (prin2 "gtsta g0 ")
  43. (print (TimeEval '(gtsta 'g0))) 0)
  44. (progn (prin2 "gtsta g1 ")
  45. (print (TimeEval '(gtsta 'g1))) 0)