[ot-users] speed up import, do not check configuration file

Julien Schueller schueller at phimeca.com
Mon Feb 20 08:47:30 CET 2017


> De: "roy" <roy at cerfacs.fr>
> À: "users" <users at openturns.org>
> Envoyé: Lundi 20 Février 2017 07:49:50
> Objet: Re: [ot-users] speed up import, do not check configuration file

> Hi Julien,

> Sorry for the delay, for some reason I don’t receive mail updates…

> I installed the library using conda3 in a Python 3.5.2 environment on macOS
> 10.11.

> At some point in my code, I launch several python scripts that import OT.
> Without this specific import, I have no slow down (order of the second). So I do
> not think it is coming from my code.

> Thanks for your support,

> Pamphile
> _______________________________________________
> OpenTURNS users mailing list
> users at openturns.org
> http://openturns.org/mailman/listinfo/users

Maybe you can check whether .pyc files are written in the openturns module directory. 

-- 
Julien Schueller 
Phimeca Engineering 
www.phimeca.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openturns.org/pipermail/users/attachments/20170220/cd6d28db/attachment.html>


More information about the users mailing list