If you're creating nodes by dumping TCL into the script using nuke.scriptPaste or nuke.scriptReadXXX, I can understand why that would be slow. Is there a reason you can't create the nodes procedurally?
-Nathan From: Thorsten Kaufmann Sent: Thursday, October 16, 2014 12:22 PM To: Nuke Python discussion Subject: AW: [Nuke-python] Performance tweaks for script generation? Hey there, i should probably do some more in-depth profiling, but it is about creating the nodes in the DAG so it seems. Am pulling tcl representations from a db and assemble scripts in nuke. The db call takes only miliseconds, the generation of the scripts minutes. Maybe should also think about threading that. Though that seems somewhat scary atm heh Cheers, Thorsten --- Thorsten Kaufmann Production Pipeline Architect Mackevision Medien Design GmbH Forststraße 7 70174 Stuttgart T +49 711 93 30 48 606 F +49 711 93 30 48 90 M +49 151 19 55 55 02 thorsten.kaufm...@mackevision.com www.mackevision.de Geschäftsführer: Armin Pohl, Joachim Lincke, Karin Suttheimer HRB 243735 Amtsgericht Stuttgart --- MACKEVISION SHOWREEL: Out now! ANIMAGO AWARD: Die Projekte "Game of Thrones" und "Mercedes-Benz 4MATIC Schneemonster" sind für den renommierten Animago Award nominiert. REFERENZEN: Mackevision inszeniert den Porsche Macan. -------------------------------------------------------------------------------- Von: nuke-python-boun...@support.thefoundry.co.uk <nuke-python-boun...@support.thefoundry.co.uk> im Auftrag von Johannes Hezer <j.he...@studiorakete.de> Gesendet: Donnerstag, 16. Oktober 2014 19:32 An: nuke-python@support.thefoundry.co.uk Betreff: Re: [Nuke-python] Performance tweaks for script generation? Hi thorsten, is it truely nuke that is being slow in the script creation or are you also globbing a lot for example to look for footage? Would be good to get a bit more details of the script creation process to give some input. Cheers Johannes Am 10/16/14 10:53 AM, schrieb Thorsten Kaufmann: Hey there, I hope this is no double post. It seems that the list rejected my last try though because our company mail addresses where switched from .de to .com. I was wondering if anyone had some input in regards to speeding up automatic script generation. I am creating rather large scripts automatically and am hitting rather harsh performance hits. I was thinking about things like: - is it possible to turn off undo? I’d expect that to help - Anything else that speeds up scripted generation of nodes? Can I turn off GUI updates or alike? Cheers, Thorsten --- Thorsten Kaufmann Production Pipeline Architect Mackevision Medien Design GmbH Forststraße 7 70174 Stuttgart T +49 711 93 30 48 606 F +49 711 93 30 48 90 M +49 151 19 55 55 02 thorsten.kaufm...@mackevision.com www.mackevision.de Geschäftsführer: Armin Pohl, Joachim Lincke, Karin Suttheimer HRB 243735 Amtsgericht Stuttgart --- MACKEVISION SHOWREEL: Out now! ANIMAGO AWARD: Die Projekte "Game of Thrones" und "Mercedes-Benz 4MATICSchneemonster" sind für den renommierten Animago Award nominiert. REFERENZEN: Mackevision inszeniert den Porsche Macan. ____ ESET 10555 (20141013) ____ The message was checked by ESET Mail Security. _______________________________________________ Nuke-python mailing listnuke-pyt...@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python ____ ESET 10555 (20141013) ____ The message was checked by ESET Mail Security. -- STUDIO RAKETE GmbH Johannes Hezer, Compositing TD & Stereoscopic SV Schomburgstr. 120 D - 22767 hamburgj.he...@studiorakete.de Tel:+49 (0)40 - 380 375 69 - 0 Fax:+49 (0)40 - 380 375 69 - 99 ------------------------------------------------------ Pflichtangaben laut Handelsgesetzbuch und GmbH-Gesetz: STUDIO RAKETE GmbH Schomburgstr. 120 D - 22767 Hamburgwww.studiorakete.de / i...@studiorakete.de Geschaeftsfuehrer: Jana Bohl Die Gesellschaft ist eingetragen im Handelregister des Amtsgerichts Hamburg unter der Nummer HR B 95660 USt.-ID Nr.: DE 245787817 ____ ESET 10555 (20141013) ____ The message was checked by ESET Mail Security. -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python