Skip to content

Implementation of a popular graphics benchmark written on Ebitengine.

License

Notifications You must be signed in to change notification settings

sedyh/ebitengine-bunny-mark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ebitengine-bunny-mark Ebitengine Bunny Mark

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.

Software Hardware Ebitengine Maximum number of objects at stable 60 fps
Native, MacOS Big Sur 11.1 M1 2020 2.2.3 65400
Native, Windows 10 Pro 19.0 i7-8600, RTX 2070 2.2.3 57000
Native, Ubuntu 21.10 i7-8700k, GTX 1080 TI 2.2.3 55480
Native, Ubuntu 20.04 i7-10750H, Quadro T1000 2.2.3 45000
Native, Windows 10 Pro 19.0 i7 3770, GTX 1050 TI 2.2.3 39000
Native, Linux Mint 20.2 Cinnamon Ryzen 5 3600, RX 5700 XT 2.2.3 36000
Wasm, Windows 10 Pro 19.0, Chrome 96.0 i7-8600, RTX 2070 2.2.3 10000
Wasm, Linux Mint 20.2 Cinnamon, Chrome 96.0 Ryzen 5 3600, RX 5700 XT 2.2.3 8150
Wasm, MacOS Big Sur 11.1, Safari 14.0 M1 2020 2.2.3 8100
Wasm, Linux Mint 20.2 Cinnamon, Firefox 95.0 Ryzen 5 3600, RX 5700 XT 2.2.3 6200
Wasm, Windows 10 Pro 19.0, Chrome 96.0 i7 3770, GTX 1050 TI 2.2.3 5700
Wasm, Windows 10 Pro 19.0, Firefox 95.0 i7 3770, GTX 1050 TI 2.2.3 4700
Wasm, iPadOS 14.6, Safari 14.1 A10X 2.2.3 3200
Wasm, Android 10, Chrome 91.0 Snapdragon 720G 2.2.3 1700
Wasm, Android 10, Chrome 91.0 Kirin 810 2.2.3 800

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.