ElliotB256
ElliotB256
https://teamatomecs.github.io/AtomECSDemos/aion_source.html
It's a good point! I will check this when back from holiday. We would still want to define our own Shape trait, but possibly implement the trait on these primitives....
I made a comparison of some benchmark simulations. * 10,000 atoms, 5000 steps. * The bevy branch takes 14,173 ms (average of three runs). * The specs (master) branch takes...
Bevy 0.8 came out a few days ago so I've ported the bevy branch to it. I see a slight performance improvement on the benchmark: ## bevy 0.7 ``` 15361ms...
Re-running bevy 0.8 on my home machine: # bevy 0.8 (10k atoms, 5k steps) ``` Simulation loop completed in 28085 ms. Simulation loop completed in 28283 ms. Simulation loop completed...
Retesting for bevy 0.10 comparisons # bevy 0.8 ``` Simulation loop completed in 28476 ms. Simulation loop completed in 28009 ms. Simulation loop completed in 27892 ms. ``` # bevy...
Let's compare some rough metrics between bevy 0.8 and 0.10: # bevy 0.8    # bevy 0.10    So it seems 0.10 has a core sitting...
``` app.add_plugins(DefaultPlugins.set(TaskPoolPlugin { task_pool_options: TaskPoolOptions::with_num_threads(5), })); ``` The above prevents one of the cores being idled by the compute thread, so now 3/4 cores on my machine are working. It...
After tweaking until I get 4 compute threads, I get: ``` Simulation loop completed in 23875 ms. ``` which is faster than bevy 0.8! (I suspect bevy 0.8 never used...
One of the nice things in bevy 0.10 is the ability to automatically determine batch sized based on a heuristic. Let's see how it handles: | test | 1st |...