HISE Logo Forum
    • Categories
    • Register
    • Login

    loading large scriptnode networks taking several minutes

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 132 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.
    • ?
      A Former User
      last edited by

      so i'm writing an additive synth with scriptnode and it's using all sorts of cloned chains, modulators etc etc, i'm just wondering if there are any easy optimizations that can be done to speed up loading times (inside HISE, the plugin version loads instantly) so i'm not waiting around doing nothing for 5 minutes every time i want to change something

      here's the network if anyone wants to try it, maybe it's just my old i7 on its last legs, or maybe there's a better way to instantiate the 64-something sine waves...

      NEATBrain_Achromic.xml

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @A Former User
        last edited by

        Two things:

        1. Definitely deactivate the ShowClones parameter of your clone containers, this will only create a node component for the first child. You can do that in the XML manually by setting this
          FactoryPath="container.clone" Bypassed="0" ShowClones="0"
        2. Try to divide and conquer as much as possible. Every container that can be treated as a black box module with a few parameters that go in can be compiled as decidated node and then used in the bigger network which keeps the total amount of nodes in check (also you get a better performance during development).

        But yeah, it might be time to retire that i7 if you're talking about a Macbook. Your life quality will thank you for this and with the Mac Mini M2s being relatively cheap you can expect a huge performance gain in both compile times and UX snappiness.

        If you're on Windows, enabling OpenGL for HISE (in the HISE settings) might increase the UI performance of networks a bit. I admit the UI performance of the network graph is not the fastest, but it kind of forces you to think more modular which can be considered as a good nudge in the right direction :)

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Christoph Hart
          last edited by

          @Christoph-Hart can't believe i left showclones on... thanks for the tips!

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

          26

          Online

          1.7k

          Users

          11.8k

          Topics

          102.6k

          Posts