dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18823
[Bug 612579] [NEW] Huge performance problem in Python interface
Public bug reported:
In my Python Code I need to evaluate a nonlinear functional many times.
This was rather slow and after a profile run, I've noticed that 90% of
the time was spent in the __init__ routine of form.py to compile the
form. As far as I can survey the code, this should be necessary only
once.
I have attached a simple example that illustrates the effect. In my
test, the second code is roughly 40 times faster.
** Affects: dolfin
Importance: Undecided
Status: New
--
Huge performance problem in Python interface
https://bugs.launchpad.net/bugs/612579
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
Status in DOLFIN: New
Bug description:
In my Python Code I need to evaluate a nonlinear functional many times. This was rather slow and after a profile run, I've noticed that 90% of the time was spent in the __init__ routine of form.py to compile the form. As far as I can survey the code, this should be necessary only once.
I have attached a simple example that illustrates the effect. In my test, the second code is roughly 40 times faster.
Follow ups
References