improve speed of demodata

Issue #93 resolved
Reimar Bauer created an issue
python -m cProfile  -s time ./demodata.py > profile.txt

Current setup of demodata creation takes most for hybrid data, in total 1986386 function calls (1979967 primitive calls) in 60.833 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1   45.734   45.734   48.320   48.320 demodata.py:918(hybrid_data)
        1   11.224   11.224   11.460   11.460 demodata.py:1030(pressure_data)
      376    2.336    0.006    2.336    0.006 {numpy.core.multiarray.where}
        1    0.474    0.474    0.483    0.483 demodata.py:1106(sfc_data)

Comments (4)

  1. Log in to comment