Ebitengine Bunny Mark

June 22, 2022 ยท View on GitHub

This is an implementation of the popular graphics benchmark written on Ebitengine.

The initial benchmark was created by Ian Lobb (code) and Amanda Lobb (art)

Contents

Preview

Running

To run the benchmark online, visit this page.

To run the benchmark from ready binary, visit the latest releases page.

To run the benchmark from sources install dependencies for Ebiten and do the following command:

go run github.com/sedyh/ebiten-bunny-mark@master

Please remember that @master only works since Go 17.

Instructions

  • Close all other programs for more accurate results.
  • Press the left mouse button to add some amount of gophers.
  • Adjust the number of gophers that appear at a time with the mouse wheel.
  • Increase the number of gophers until the FPS starts dropping below 60 to find out your result.
  • To understand that the drop in performance is not a one-off - use the graphs on the left, they show TPS, FPS and the number of objects over a certain time.
  • Press the right mouse button to color the gophers, this will greatly increase the load, but keep in mind that all measurements were taken without coloring.

Performance

This table shows the performance of applications written in Ebiten for different platforms.

The window resolution during the test does not affect the performance in any way.

SoftwareHardwareEbitengineMaximum number of objects at stable 60 fps
Native, MacOS Big Sur 11.1M1 20202.2.365400
Native, Windows 10 Pro 19.0i7-8600, RTX 20702.2.357000
Native, Ubuntu 21.10i7-8700k, GTX 1080 TI2.2.355480
Native, Ubuntu 20.04i7-10750H, Quadro T10002.2.345000
Native, Windows 10 Pro 19.0i7 3770, GTX 1050 TI2.2.339000
Native, Linux Mint 20.2 CinnamonRyzen 5 3600, RX 5700 XT2.2.336000
Wasm, Windows 10 Pro 19.0, Chrome 96.0i7-8600, RTX 20702.2.310000
Wasm, Linux Mint 20.2 Cinnamon, Chrome 96.0Ryzen 5 3600, RX 5700 XT2.2.38150
Wasm, MacOS Big Sur 11.1, Safari 14.0M1 20202.2.38100
Wasm, Linux Mint 20.2 Cinnamon, Firefox 95.0Ryzen 5 3600, RX 5700 XT2.2.36200
Wasm, Windows 10 Pro 19.0, Chrome 96.0i7 3770, GTX 1050 TI2.2.35700
Wasm, Windows 10 Pro 19.0, Firefox 95.0i7 3770, GTX 1050 TI2.2.34700
Wasm, iPadOS 14.6, Safari 14.1A10X2.2.33200
Wasm, Android 10, Chrome 91.0Snapdragon 720G2.2.31700
Wasm, Android 10, Chrome 91.0Kirin 8102.2.3800

Contributing

To add, remove, or change things on the performance table: send a message in this issue.

To add new functionality or fix something: submit a pull request.