| changeset 637 | 936560fab865 |
| parent 636 | 18f9c0cd8675 |
| child 638 | e951b9688bb2 |
| 636:18f9c0cd8675 | 637:936560fab865 |
|---|---|
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 |