Slashdot Mirror


You Can Now Profile Python Using Arm Forge (arm.com)

Python "is often described as being slow when it comes to performance... But is that truly the case?" writes Patrick Wohlschlegel, Arm's senior product manager for infrastructure and high-performance computing tools.

Slashdot reader igor.sfiligoi writes: Effectively profiling Python has always been a pain. Arm recently announced that their Arm Forge is now able to profile both Python and compiled code.
It's available for any hardware architecture, Wohlschlegel writes, adding that developers "typically assume that most of the execution time is spent in compiled, optimized C/C++ or Fortran libraries (e.g. NumPy) which are called from Python..."

"How confident are you that your application is not wasting your precious computing resources for the wrong reasons?"

3 of 103 comments (clear)

  1. Slashvertisement by ceoyoyo · · Score: 4, Informative

    You're supposed to mark the sponsored content....

  2. Can we quit with the myth that Python is slow ? by Btrot69 · · Score: 4, Funny

    Python programs that I wrote 15 years ago are still running in production.

    The "Java rewrite" that my manager wanted to do never got done.
    In fact, a lot of the production Java code that existed back then couldn't be maintained and got reimplemented in Python.

    Since the new servers are ~20 times faster, speed never really mattered anyway.

    Python is full of "free" optimizations that most newbys are not even aware of.

    When you learn to do things that "Pythonic" way, it really does put the clunky Java hack-jobs to shame.

    Here another take on it:
    https://www.pythonforengineers...

    1. Re:Can we quit with the myth that Python is slow ? by Hognoxious · · Score: 5, Funny

      Python programs that I wrote 15 years ago are still running in production.

      If you'd written them in C they'd have finished by now.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."