Jonathan-David Schröder
Jonathan-David Schröder
@j2l could you please tell about your OS setup?
Thanks @dtschump has pointed me to proper optimization flags for gmic-py itself Let me come back to you
printing `gmic.__spec__` inside Blender's Python console shows that 64bits `.so` file of gmic-py is loaded on a 64bits linux PC
Updating stats (on personal old 64bits linux laptop): 39 seconds outside Blender (using addon's 64bits .so) 38 seconds within Blender (uses the 64bits .so verified by `gmic.__spec__`) 19 seconds with...
The test script is: ``` import gmic from time import time a=time() gmic.run("somefile.tga fx_engrave 0.5,50,0,8,40,0,0,0,10,1,0,0,0,1,0") print(time()-a) ```
Now with a magically fast computer for 100 engrave runs: ``` import gmic print(gmic.__spec__) g = gmic.Gmic() for a in range(100): g.run("thumb-1920-935998.png fx_engrave 0.5,50,0,8,40,0,0,0,10,1,0,0,0,1,0") ``` gmic 2.8.4 - unoptimized ([gmic-blender...
Hi @j2l gmic-py 2.9.0 is released with the expected 2x-4x optimizations, I will package a new addon for Blender soon. I have started a flipbook project using Blender, we can...
You can download the new add-on version with a fresher optimized gmic-py here: https://github.com/myselfhimself/gmic-blender/releases/tag/v0.0.8
OK we are good with the 2x-4x promised optimization of gmic-py 2.9.0. After installing the v0.0.8 release add-on, make sure that the following works within Blender, to be sure you...
Here is my test file [gmic_demo_lgm_2020_performance_test.zip](https://github.com/myselfhimself/gmic-blender/files/4846657/gmic_demo_lgm_2020_performance_test.zip)