HISE Logo Forum
    • Categories
    • Register
    • Login

    Compilation time - Windows vs. Mac

    Scheduled Pinned Locked Moved General Questions
    13 Posts 3 Posters 201 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.
    • Oli UllmannO
      Oli Ullmann
      last edited by

      Does anyone have an idea why my plug-in compiles 10 times faster under Windows than under Mac OS?

      Many thanks
      Oli

      d.healeyD MorphoiceM 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @Oli Ullmann
        last edited by

        @Oli-Ullmann Because Xcode is crap.

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

        Oli UllmannO 1 Reply Last reply Reply Quote 1
        • MorphoiceM
          Morphoice @Oli Ullmann
          last edited by

          @Oli-Ullmann It's the other way around for me. Windows perceived 10 times slower, same machine. Especially the linking process.

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

            @Morphoice said in Compilation time - Windows vs. Mac:

            same machine

            Using a VM for Windows or Mac?

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

            MorphoiceM 1 Reply Last reply Reply Quote 0
            • Oli UllmannO
              Oli Ullmann @d.healey
              last edited by

              @d-healey
              OK :-)

              1 Reply Last reply Reply Quote 0
              • MorphoiceM
                Morphoice @d.healey
                last edited by

                @d-healey VMware on a M3 studio mac
                ducks & runs

                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                  @Morphoice That's probably the cause of the issue, it's having to emulate an Intel CPU so you'll probably lose a lot of performance.

                  @Oli-Ullmann Are you using a VM or are you using two separate systems?

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

                  Oli UllmannO 1 Reply Last reply Reply Quote 0
                  • Oli UllmannO
                    Oli Ullmann @d.healey
                    last edited by

                    @d-healey
                    I have a separate Mac and a separate Windows PC.

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

                      @Oli-Ullmann What CPU/RAM in each? Both SSDs? Compiling with same number of threads?

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

                      Oli UllmannO 1 Reply Last reply Reply Quote 0
                      • Oli UllmannO
                        Oli Ullmann @d.healey
                        last edited by

                        @d-healey

                        Both have SSDs.

                        Mac config:
                        MacBook Pro (End 2019)
                        2,4 GHz 8-Core Intel Core i9
                        32 GB RAM

                        PC config:
                        Intel i5-6500 CPU @3.2 GHz
                        16 GB RAM

                        On the paper it looks like the Mac has more power.

                        Where can I see how many threads are used for compiling, or where can I set this? Do you know that?

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

                          @Oli-Ullmann said in Compilation time - Windows vs. Mac:

                          On the paper it looks like the Mac has more power.

                          Sure does. Is it the compiling that is taking the time or the linking?

                          @Oli-Ullmann said in Compilation time - Windows vs. Mac:

                          Where can I see how many threads are used for compiling, or where can I set this? Do you know that?

                          I'm not sure, I don't use VS or Xcode much, I tend to build from the CLI. However the compile scripts that HISE generates should set the max number of threads based on your CPU - or maybe that's just in my fork...

                          From the CLI for xcode I think it's the --jobs argument. I can't remember on Windows but probably --threads.

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

                          Oli UllmannO 1 Reply Last reply Reply Quote 1
                          • Oli UllmannO
                            Oli Ullmann @d.healey
                            last edited by

                            @d-healey
                            Next time I'll see if it's the compiling or the linking that takes so long. I'll also try to find out how many threads are being used and then report back here. Thanks to you! :-)

                            MorphoiceM 1 Reply Last reply Reply Quote 1
                            • MorphoiceM
                              Morphoice @Oli Ullmann
                              last edited by

                              @Oli-Ullmann usually the linking is ridiculously long

                              https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

                              26

                              Online

                              1.7k

                              Users

                              11.9k

                              Topics

                              103.4k

                              Posts