dmitmel / brainwhat

A fast optimizing Brainfuck interpreter written in pure Rust
MIT License
18 stars 1 forks source link

Benchmark mandelbrot #2

Open ExtReMLapin opened 3 years ago

ExtReMLapin commented 3 years ago

Benchmark mandelbrot My LuaJIT BF Engine runs it in 1.870 secs

https://github.com/ExtReMLapin/fast_brainfuck.lua/blob/main/torture%20test/mandel.b

chiplet commented 2 months ago

FWIW here are some benchmarks ran on MacBook Pro (Retina, 13-inch, Early 2015) with 2.7 GHz Dual-Core Intel Core i5.

brainwhat

Benchmark 1: brainwhat mandel.b
  Time (mean ± σ):     15.297 s ±  2.200 s    [User: 8.851 s, System: 0.141 s]
  Range (min … max):   12.330 s … 18.221 s    10 runs

fast_brainfuck.lua on LuaJIT

Benchmark 1: luajit fast_brainfuck.lua mandel.b
  Time (mean ± σ):      5.041 s ±  1.598 s    [User: 2.834 s, System: 0.131 s]
  Range (min … max):    3.837 s …  8.264 s    10 runs