Skip to content
A minetest mod for benchmarking ingame.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.MD
depends.txt
init.lua
mod.conf
screenshot.png

README.MD

benchmark_engine

A minetest mod for benchmarking ingame.

Use the "/benchmark" command to run a benchmark.

adding benchmarks

To add benchmarks use benchmark.register.
First argument to the function is the id in the form "modname:benchmarkname".
The second argument is the defintion of the benchmark containing:

  • "before" the function to run before each cycle
  • "run" the function to run and measure each cycle
  • "warmup" how many times this should be run for warming up the jitter.
  • "loops" how many times this should be run to measure the average.
You can’t perform that action at this time.