HISE Logo Forum
    • Categories
    • Register
    • Login

    Benchmark paint routines? C++ nodes?

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 141 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk
      last edited by

      Would there be a way to benchmark paintRoutine/LAF within Hise or in XCode?

      AFAIK the console benchmark is reporting the timing for the painting call, not the duration of the procedure itself (which is part CPU and part GPU, right?)

      I'd also like to benchmark my C++ nodes. I have seen something about the chrono library, but is there a tool or a procedure already in XCode?

      Can't help pressing F5 in the forum...

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @ustk
        last edited by

        @ustk Perfetto is for this kind of thing I think

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ustkU 1 Reply Last reply Reply Quote 1
        • ustkU
          ustk @d.healey
          last edited by

          @d-healey Oh yes I tried it once but didn't dig far enough. I'll try that 😉

          Can't help pressing F5 in the forum...

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @ustk
            last edited by

            @ustk Perfetto is a beast and requires you to sprinkle code snippets across your code to allow a good trace.

            If you enable debug symbols (!= debug mode) in your release build then you can also use the Time Profiler in the Xcode Instruments toolkit for finding the CPU hotspots.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            15

            Online

            1.7k

            Users

            11.9k

            Topics

            103.6k

            Posts