3Dickulus / FragM

Derived from https://github.com/Syntopia/Fragmentarium/
GNU General Public License v3.0
344 stars 30 forks source link

render time with ETA & progress per subframe #178

Closed 3Dickulus closed 3 years ago

3Dickulus commented 3 years ago

Description v2.0.0 is much faster when rendering the default fragment due to differences in progress updating

To Reproduce

  1. comment out all progress update code in void DisplayWidget::renderTile()
  2. move current exe to ./Fragmentarium-2.5.5-old
  3. compile new executable
  4. compare tile based hires render times time ./Fragmentarium-2.5.5-old -s ./fqScript/testFrag.fqs && time ./Fragmentarium-2.5.5 -s ./fqScript/testFrag.fqs
  5. observe duration

Expected behavior The difference in times should be minimal

Results

v2.0.0
real    0m11.204s
user    0m7.862s
sys     0m2.562s

v2.5.5 with ETA per subframe
real    0m32.140s
user    0m23.443s
sys     0m6.318s

v2.5.5 no ETA per subframe
real    0m11.773s
user    0m7.566s
sys     0m1.972s

v2.5.5 ETA & progress moved out of the subframe loop
real    0m12.325s
user    0m8.556s
sys     0m1.466s

Desktop: Vendor: NVIDIA Corporation Renderer: GeForce GTX 760/PCIe/SSE2 GL Driver: 4.5.0 NVIDIA 460.80 Display using GL 4.5 Core profile