F3D stl reading is not fast as it could be
Describe the bug As reported here https://papas-best.com/stlviewer_en and by other users F3D is slower than other solutions to open .stl files
To Reproduce Steps to reproduce the behavior:
- Open the file using
f3d --no-config Fantasy_Castle.stl - Wait for opening -> 2s
- Same with fstl -> 1s
Expected behavior Performance should be in par with fstl Proper profiling needed.
System Information:
- OS: Any
- GPU and GPU driver: Any
F3D Information
Paste the content of f3d --version or f3d-console.exe --version on Windows: 3.5.0
Hey, @mwestphal can I take this, might have to research a bit if that is fine?
Sure, please note this is more of an investigation in order to figure out what could be improved potentially.
Okay, will ping you on discord for a new thread regarding the same.
Some improvements in #3458 and #3463
ill reopen and run some quick bench using the nightly.
3.5.0:
$ time ./bin/f3d ~/data/tmp/files/Fantasy_Castle.stl --output=a.png
real 0m0.563s
user 0m0.718s
sys 0m0.209s
3.5.0-286:
$ time ./bin/f3d ~/data/tmp/files/Fantasy_Castle.stl --output=a.png
real 0m0.377s
user 0m0.450s
sys 0m0.155s
Definitely faster.