compile.scala
changeset 81 ffac240147e2
parent 80 191daa3ee29e
child 82 06c3ec0b452e
equal deleted inserted replaced
80:191daa3ee29e 81:ffac240147e2
   309   fw.close()
   309   fw.close()
   310   val test = ("java -jar jvm/jasmin-2.4/jasmin.jar " + class_name + ".j").!!
   310   val test = ("java -jar jvm/jasmin-2.4/jasmin.jar " + class_name + ".j").!!
   311   println(n + " " + time_needed(2, ("java " + class_name + "/" + class_name).!!))
   311   println(n + " " + time_needed(2, ("java " + class_name + "/" + class_name).!!))
   312 }
   312 }
   313 
   313 
   314 List(1, 5000, 10000, 50000, 100000, 250000, 500000, 750000, 1000000).map(compile_test(_))
   314 //List(1, 5000, 10000, 50000, 100000, 250000, 500000, 750000, 1000000).map(compile_test(_))
   315 
   315 List(1, 200, 400, 600, 800, 1000, 1200, 1400, 1600).map(compile_test(_))
   316 
   316 
   317 
   317 
   318 // javabyte code assmbler
   318 // javabyte code assmbler
   319 //
   319 //
   320 // java -jar jvm/jasmin-2.4/jasmin.jar loops.j
   320 // java -jar jvm/jasmin-2.4/jasmin.jar loops.j