Giter Club home page Giter Club logo

Comments (2)

qpwoeirut avatar qpwoeirut commented on July 18, 2024

Probably inaccurate benchmark:
Setting at 200 gens/sec

Takes ~2:10 for 1 HWSS to cross a 500x500 grid, effective 7.7 gens/sec
Takes ~2:15 for 20 HWSS's to cross a 500x500 grid, effective 7.4 gens/sec
Takes ~2:15 for 50 HWSS's to cross a 500x500 grid, effective 7.4 gens/sec
Takes ~2:15 for 100 HWSS's to cross a 500x500 grid, effective 7.4 gens/sec (in 2 columns)

This makes sense since every cell is updated no matter what.

from gamesandgadgets.

qpwoeirut avatar qpwoeirut commented on July 18, 2024

After update:
Still at 200 gens/sec

Takes ~6 sec for 1 HWSS, effective 166.6 gens/sec
Takes ~8 sec for 20 HWSS's, effective 125 gens/sec
Takes ~10 sec for 50 HWSS's, effective 100 gens/sec
Takes ~13 sec for 100 HWSS's, effective 77 gens/sec

Takes ~17 sec for a glider to cross 500x500, effective 117.6 gens/sec

Filled grid with glider guns
Took ~23 seconds for 8 gliders to pass a point
Gliders are 5 spaces apart, 40 spaces total
Effective speed of 7 gens/sec

That's slightly worse than the earlier benchmark, but not by much. The rendering times probably also factor into the slow speed - this was on 1800x1000, not 500x500

Overall it seems faster in almost all cases, and I can probably increase the grid size again. I might also set max gens/sec to 150 since it rarely passes that.

from gamesandgadgets.

Related Issues (20)

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.