Skip to content

Benchmarks

Ben edited this page Jul 25, 2019 · 10 revisions

Context

The base configuration is as follow :

  • Number of runs : 25
  • Shape : Hexagonal
  • World size limits : 1
  • Number of biome : 1
  • Landforms (in this order) :
    • Mountains : 15%
    • Lakes : 15%
    • Forests : 15%
    • Cities : 5
    • (Roads)

Landforms based on LandformTemplateConnection (roads and rivers) are using A* pathfinding algorithm which is quite consuming. That's why 2 tests are run for every size : with and without roads.

Results are gathered from standalone application and not from the Editor. Speeds are drastically increased outside of the Editor and reflect the user experience.

Results

For reference, the demo scene you see in the overview video is about 2k5 tiles with roads AND rivers.

i7-8650U (Laptop)

Tiles Count Roads Avg. (s)
1k no 0.05397146
1k yes 0.10616856
5k no 0.44633312
5k yes 0.98927668
15k no 2.56602979
15k yes 9.02854362
30k no 11.5849999
30k yes 25.0681232