in reply to Re^4: System call doesn't work when there is a large amount of data in a hash
in thread System call doesn't work when there is a large amount of data in a hash

See Devel::NYTProf.

  • Comment on Re^5: System call doesn't work when there is a large amount of data in a hash

Replies are listed 'Best First'.
Re^6: System call doesn't work when there is a large amount of data in a hash
by Nicolasd (Acolyte) on May 01, 2020 at 12:30 UTC
    I used that before, but I am not a big fan because it doesn't really show which parts consume the most time.
    Often parts that take the most time were not shown in the analysis.

      If you have some evidence for that assertion, it would be good to see it. An SSCCE would be ideal.

        Not sure if I will have the time for that, but I usually compare by timing it myself.
        In my experience, that devel tool couldn't estimate the correct time when there is a loop or when 'fast' code is run many times (it still gave 0)