test_speed.cmn 397 B

12345678910111213141516171819202122232425262728
  1. # tests the speed of execution
  2. op: # operation to perform, change to test different operations
  3. # some possible operations to test (uncomment one):
  4. 12 *
  5. # 11 /
  6. # 11 //
  7. # 4 /
  8. # 3 +
  9. .
  10. 0 10 "computing, hold on..." -->
  11. 123 # start value
  12. 10000000 # iterations
  13. @'
  14. ><
  15. op
  16. ><
  17. --
  18. .
  19. ><
  20. 10 % "0" + -> 10 -> # print result, to potentially prevent optimizations
  21. 0 10 "done" -->