skotz / volcanoes

Prototype for a new board game
4 stars 1 forks source link

Optimizations #23

Closed skotz closed 5 years ago

skotz commented 5 years ago
53,676 positions / 8000 milliseconds = 6,710 nps // baseline 2
55,274 positions / 8001 milliseconds = 6,908 nps // queued eruptions
57,167 positions / 8001 milliseconds = 7,145 nps // removed tile properties
66,597 positions / 8000 milliseconds = 8,325 nps // replaced tile class with ints
67,196 positions / 8000 milliseconds = 8,400 nps // queued eruption deltas (1.25x over baseline)
skotz commented 5 years ago

release build

89,909 positions / 8012 milliseconds = 11,222 nps // baseline
115,184 positions / 8011 milliseconds = 14,378 nps // 1.28x over baseline
skotz commented 5 years ago

technically nps here is games per second, not nodes per second (nps is actually 1 million plus)

skotz commented 5 years ago
1,548,790 positions / 115,825 simulations / 8006 milliseconds = 193,454 nps / 14,467 sps