changeset 637 | 27f71d2755f0 |
parent 636 | 96a91e4a8ac8 |
child 648 | 36379b038438 |
636:96a91e4a8ac8 | 637:27f71d2755f0 |
---|---|
71 for (i <- 0 until n) code |
71 for (i <- 0 until n) code |
72 val end = System.nanoTime() |
72 val end = System.nanoTime() |
73 (end - start) / (n * 1.0e9) |
73 (end - start) / (n * 1.0e9) |
74 } |
74 } |
75 |
75 |
76 // mandelbrot program |
76 // the mandelbrot program |
77 val b0 = load_bff("mandelbrot.bf") |
77 val b0 = load_bff("mandelbrot.bf") |
78 |
78 |
79 println(s"${time_needed(1, compile_run(b0))} secs") |
79 println(s"${time_needed(1, compile_run(b0))} secs") |
80 |
80 |
81 |
81 |