Code Monkey home page Code Monkey logo

ebitengine-bunny-mark's Introduction

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.

ebitengine-bunny-mark's People

Contributors

eliasdaler avatar sedyh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ebitengine-bunny-mark's Issues

Automatic testing

Problem

Now you have to manually add gophers and control FPS.

Solution

Add automatic gopher growth up to 59 average fps.

User measurements

You can report here about the measurements made instead of creating PR.
They will be added to the table shortly.

Please use the following format:

Software:

Native or Wasm, OS name and version

Hardware:

CPU name, GPU name

Maximum number of objects at stable 60 fps:

Amount of objects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.