changeset 637 | 27f71d2755f0 |
parent 636 | 96a91e4a8ac8 |
child 638 | 0367aa7c764b |
636:96a91e4a8ac8 | 637:27f71d2755f0 |
---|---|
62 for (i <- 0 until n) code |
62 for (i <- 0 until n) code |
63 val end = System.nanoTime() |
63 val end = System.nanoTime() |
64 (end - start)/(n * 1.0e9) |
64 (end - start)/(n * 1.0e9) |
65 } |
65 } |
66 |
66 |
67 // mandelbrot program |
67 // the mandelbrot program |
68 val b0 = load_bff("mandelbrot.bf") |
68 val b0 = load_bff("mandelbrot.bf") |
69 |
69 |
70 println(s"${time_needed(1, compile_run(b0))} secs") |
70 println(s"${time_needed(1, compile_run(b0))} secs") |
71 |
71 |
72 |
72 |