Messages in this thread

Plugins taking ages on 8.6.1 - Major, 29 Jul 06:26PM
     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 29 Jul 07:11PM
         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 29 Jul 09:06PM
             Re: Plugins taking ages on 8.6.1 - Major, 30 Jul 04:04AM
                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 30 Jul 08:58PM
                     Re: Plugins taking ages on 8.6.1 - Major, 01 Aug 10:52PM
                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 03 Aug 11:35PM
                             Re: Plugins taking ages on 8.6.1 - Adrian Drover, 04 Aug 06:40AM
                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 04 Aug 09:37AM
                                     Re: Plugins taking ages on 8.6.1 - Adrian Drover, 04 Aug 11:55AM
                                         Re: Plugins taking ages on 8.6.1 - Major, 04 Aug 01:43PM
                                             Re: Plugins taking ages on 8.6.1 - Adrian Drover, 04 Aug 03:46PM
                                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 04 Aug 05:27PM
                                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 04 Aug 06:49PM
                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 18 Aug 10:54PM
                                                         Re: Plugins taking ages on 8.6.1 - Major, 01 Sep 03:07AM
                                                             Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 07 Sep 08:55PM
                                                                 Re: Plugins taking ages on 8.6.1 - Major, 08 Sep 09:43PM
                                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 10:54PM
                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 11:03PM
                                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 10:56PM
                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 11:09PM
                                                                             Re: Plugins taking ages on 8.6.1 - Major, 08 Sep 11:24PM
                                                                             Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 11:30PM
                                                                                 Re: Plugins taking ages on 8.6.1 - Major, 09 Sep 03:35AM
                                                                                     Re: Plugins taking ages on 8.6.1 - Major, 09 Sep 03:40AM
                                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 09 Sep 07:58AM
                                                                                             Re: Plugins taking ages on 8.6.1 - Major, 10 Sep 05:19AM
                                                                                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 10 Sep 03:53PM
                                                                                                     Re: Plugins taking ages on 8.6.1 - Major, 12 Sep 05:25AM
                                                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 12 Sep 07:41AM
                                                                                                             Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 12 Sep 09:55AM
                                                                                                                 Re: Plugins taking ages on 8.6.1 - Major, 12 Sep 08:56PM
                                                                                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 12 Sep 09:48PM
                                                                                         Re: Plugins taking ages on 8.6.1 - Major, 29 Sep 05:03AM

Plugins taking ages on 8.6.1
Posted by Major - 29 Jul 06:26PM (edited 29 Jul 06:28PM)
I'm not sure if it started on 8.6 or 8.6.1 but some plugins are very, very slow on large scores (orchestral).

To name a few that started to work very slow:

Multiply Dynamics
Increase/Decrease Dynamics
Simplify Tied-to Note

Anyone else having the same issues ?

--
Sibelius 8.6.1
Mac Pro Xeon 2008 - 14GB/Mac OS 10.11.6
Macbook Pro I7 2013 - 16GB/Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 29 Jul 07:11PM (edited 29 Jul 07:13PM)
I don't work much with large scores so I have not really noticed this. All the plug-ins you mention look at a lot of objects in the score so they will by their nature be slower on large scores. So the issue is really whether something changed in 8.6 or if it's always been that way. If you'd like to email me a score that shows this (you could run Disguise Score on it first if you want) I could set up a timer and run it on 7.5 and 8.6 and see what the differences are.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 29 Jul 09:06PM
I have done some tests that are not showing any changes in plugin speed from 8.6.0 to 8.6.1. In fact plugins are in general faster in 8.6.x than in 7.5, which is the last perevious version I have installed.

I did notice though that Simplify Tied-to Notes contained some debug tracing that would slow it down considerably. I have updated the version on the download page to remove that. Please update your copy and it should run considerably faster.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 30 Jul 04:04AM
Thanks so much for your help Bob,

I investigated further and I guess it has to do with my Mac Pro/El Capitan system. I tried on my Laptop/Sierra system and plugins runs as expected in 8.6.1. (Sorry I should have check this before)

But the new updated Simplify Tied-to Note is working great now even on the old Mac Pro!

Not the same luck with Multiply Dynamics (using only in a few bars) and Paste Rhythm to Pitches. I get a blank page while they are processing.

Plugins that analyze the whole score like Go to Out of Range and Check Redundancies I have to take a coffee break. 2-3 minutes processing instead of 10 seconds or so on the Macbook.

Might it be my old Mac Pro showing first sign of the years? Or is it a El Capitan thing ?

--
Sibelius 8.6.1
Mac Pro Xeon 2008 - 14GB/Mac OS 10.11.6
Macbook Pro I7 2013 - 16GB/Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 30 Jul 08:58PM (edited 30 Jul 08:59PM)
I won't look at any plugins I didn't write, but I did try Go To Out of Range Notes on a score with about 65000 notes and 1100 bars. I ran it in 7.1.3, 7.5, 8.6.0, and 8.6.1 and I did not see any difference in speed.

Here were the results (I added a time call from the start to just before the dialog comes up).

Speed run Go to Out of Range Note for Sibelius Version: 7130
Total time = 46.524 seconds.

Speed run Go to Out of Range Note for Sibelius Version: 7510
Total time = 46.039 seconds.

Speed run Go to Out of Range Note for Sibelius Version: 8600
Total time = 46.305 seconds.

Speed run Go to Out of Range Note for Sibelius Version: 8610
Total time = 46.314 seconds.


I am running Windows 10 and I have a pretty fast machine with 32G of memory, and SSDs for my main drives, so it may well be slower on other machines. This particular plugin does have to look at every selected note so it will take a while on larger scores, and ManuScript is a slow language.

It does at least show a progress bar that indicates how far along it is. I would like it to be faster but I don't really see any way to change the code to be noticeable faster.

But the point is really that I see no significant change in run times with 8.6.1 as compared to other recent Sibelius versions.

There may be different issues with OSX that can affect the speed, but I don't have a Mac to test that with.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 01 Aug 10:52PM
It certainly doesn't have anything to do with Sibelius 8.6.1.
I reinstalled from a backup Sibelius 7.5.1 and run the same test you did.
65000 notes and 1250 bars:

• Mac Pro Xeon 2008 - 14GB/Mac OS 10.11.6 (El Capitan)

Sibelius 8.6.1 - Total = 608 seconds (10 min 8 sec)
Sibelius 7.5.1 - Total= 692 seconds (11 min 32 sec)

• Macbook Pro I7 2013 - 16GB/Mac OS 10.12.2 (Sierra)

Sibelius 8.6.1 - 47 seconds
Sibelius 7.5.1 - 68 seconds


Sibelius 8.6.1 is faster the 7.5.1 on both machines.
Mac Pro is taking 10x more than the Macbook Pro.
I know the Mac Pro is older but I guess it didn't have to take that long.
Maybe its a Sibelius & El Capitan thing.

Anyone around with a old machine willing to do the test with the Go To Out of Range Plugin ?
(Sibelius file with around 65000 notes and 1250 bars attached)

--
Sibelius 8.6.1
Mac Pro Xeon 2008 - 14GB/Mac OS 10.11.6
Macbook Pro I7 2013 - 16GB/Mac OS 10.12.2
Attachment Plugin Test.sib (969K)

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 03 Aug 11:35PM
I have just uploaded a new version of the Go To Out of Range Notes plugin which should be noticeably faster in large scores, especially if you use the option to go to notes with ledger lines.

It is still not what I would call fast, but it is probably at least twice as fast as it was before.

It takes a lot of work to do this sort of speedup, which is why most plugins don't do it. It is hard enough just writing code that works....

But anyway, the update is probably worth trying especially with large scores where the entire score is selected.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Adrian Drover - 04 Aug 06:40AM
I have experienced incredibly slow response to plug-in performance in 8.5, 8.6 & 8.6.1 in large scores too. The fairly new rehearsal mark double barline plug-in can take up to 10 seconds to operate. Just one reason why I am still using 7.1.3. No problems there.

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 04 Aug 09:37AM
I have seen no evidence that plugins are slower in 8.x compared to 7.1.3. Do you have a score you could send mfe that demonstrates this? So far for me plugins are at least as fast in 8.6. I am running Windows though and there may be Mac issues I am not aware of.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Adrian Drover - 04 Aug 11:55AM
I haven't used 8.6.1 for my own work for a long while, Bob, but the attached third party score (downloaded from this list last week) has such latency when I open it into 8.6.1. The score has a repeat structure problem which might be adding to its size, but editing has no latency problem in 7.1.3.

BTW, I never did find a solution to the poster's problem with the end repeat barline at m.139 which is making 79 repeats from m.116, yet only live on first pass.
Attachment Reflections Exported Version 4 (1).sib (197K)

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 04 Aug 01:43PM (edited 04 Aug 01:44PM)
Bob,

You did it!

Results with the new version of Go to out of Range:

• Mac Pro Xeon 2008 - 14GB/Mac OS 10.11.6 (El Capitan)

Sibelius 8.6.1 - Total = 22 seconds (27x faster)
Sibelius 7.5.1 - Total= 28 seconds (25x faster)

• Macbook Pro I7 2013 - 16GB/Mac OS 10.12.2 (Sierra)

Sibelius 8.6.1 - 13 seconds (3x faster)
Sibelius 7.5.1 - 14 seconds (5x faster)


What would be of Sibelius without you Bob ?

Thank you so much.

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Adrian Drover - 04 Aug 03:46PM
Sorry, Bob. Just realized I don't yet have 8.6.1. My latest version is still 8.6, but 7.1.3 is still the best version I have for working.

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 04 Aug 05:27PM
I recommend 8.6.1 if you have 8.3 or later as it fixed a lot of introduced bugs.I do understand the problems that the 8.x version have introduced and it would be great to have a stable 8.x version, which is why I am investigating whether anything changed in 8.x that specifically affected plugins.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 04 Aug 06:49PM
Adrian -

I ran a number of plugins on your score in both 7.5 and 8.6.1 and I have not found a noticeable difference in the time it takes the plugin to run (as determined by stopwatches inserted into the code).

In a few cases it appeared to me that the plugin finished and then it took several seconds for the screen to update. That might possibly be what is going on here. In large scores one sometimes gets into a state where it takes multiple seconds to see the results of a keypress, much less a plugin (Derek used to complain about this all the time with his symphonies).

That said, plugins can run quite slowly on large scores, both in 7.1.3 and 8.6.1. Until I reworked the code, using Go To Out of Range Note on a large score, using the option to find all notes with 1 or more ledger lines (which is a slow operation) took several minutes for me to run on a pretty fast machine. Now it takes me about 10 seconds on a big score and about 2 seconds on your score.

On the big score, it takes several seconds from when I type ctrl-A to select all before I see the purple selection (either in 7.1.3 or 8.6.1) so I would expect display changes to be slow, and they are.

At this point I see no clear evidence that plugins are running more slowly in 8.6.1 than in 7.1.3. There may be differences in how soon the display is updated, though I do not have clear proof of that.

Something like Go To Out of Range Note taking 10 minutes is pretty inconvenient, but on a small score it is pretty much instantaneous and most plugin writers, myself included, will not put a lot of effort into speed optimization unless it shows up in our own testing.

I personally use 7.5.1 for most of my work (7.1.3 had plugin bugs that made it hard for me to use) and I only use 8.x if I need specific features. I am hoping that 8.6.1 will be stable enough for me to use for my regular work. I think it is the first 8.x version I have really felt comfortable with.

Sorry to not have a better solution for what you are going through. I have no doubt that some processes are slower in 8.x but I don't think plugins themselves are the case of the slowdowns.

Cheers

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 18 Aug 10:54PM
On the other hand...

I have been trying to do some real work in 8.6.1, and I tend to use a lot of plugins. While the plugins themselves seem to be running reasonably according to my calibration, there are significant slowdowns both at the start before a dialog comes up and after the dialog goes down, compared to the timing in 7.5.1, which is what I usually use.

This in on a 2 page test score, so in these cases the size of the score is not an issue.

The plugins run slowly enough that it is seriously annoying, and I went back to 7.5.1 as well!

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 01 Sep 03:07AM
I feel your pain Bob (times 10) :-)

Discovered another coffee break plugin on my old machine: Respell Uncommon Accidentals.

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 07 Sep 08:55PM
Major -

I have tried Respell Uncommon Accidentals on both 7.5 and 8.6.1 on a largish score (about 65000 notes and 1100 bars) and it is running in well under 10 seconds for me with about 60 replacements. This to me is a reasonable time, but I suspect you are seeing something notably different.

Could you email me a score that is running slowly for you so I can see if there are score-specific details? I would normally suggest running Disguise Score on it but that may cause the slowdown to not happen (you can try Disguise Score and if Respell Uncommon is still slow, send me that score.). I will not let the score out of my sight and will delete it after testing.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 08 Sep 09:43PM
Bob,

You can use the file that I attached on the 6th message in this thread.

The Respell Uncommon Accidentals took more than 32 minutes to complete.Yes, minutes not seconds.

That's on my old Mac Pro Xeon 2008 - 14GB/Mac OS 10.11.6 (El Capitan).
It surely will run faster on my Macbook Pro. I will bench mark it later and post it here.

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 08 Sep 10:54PM
A plugin speedup tip:

I have discovered that my plugin run times improved by several seconds in 8.6.1 when I reduced the size of my plugin Preferences file. This is explained in this thread:

http://www.sibelius.com/cgi-bin/helpcenter/chat/chat.pl?com=thread&start=622316&groupid=3

which includes a link to a Sibelius Blog post I wrote in 2013 explaining this issue.

Adrian, I am guessing that if you clean out your Preferences file as described, or rename or delete your Preferences file, you would find Add Rehearsal Mark Plus Double Barline will run considerably faster.

Lots of plugins add data to the Preferences file and the larger the file gets the more time it adds to the running of a plugin. It is worth reducing the file on any version of Sib - toss out the data for plugins you rarely run or for those for which you don't care if the previous settings are remembered.

This will change the run time by some seconds, not minutes, but for me it made plugins in 8.6.1 (for for me happened to have a large Preferences file) run quickly enough that I did not notice the run time, which is what I always want.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 08 Sep 11:03PM
Another tip:

If you are running plugins that put out a lot of data to the Plugin Trace window, clear the window after each run, or as soon as you do not need the data. That window take a fair bit of time to write to especially once it is filled enough to scroll.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 08 Sep 10:56PM
Thanks- I will have a look.

I was discussing this with Robin Walker and he suggested that if you have an SSD on the Macbook Pro and a hard drive on the older machine that could account for at least some of the speed difference.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 08 Sep 11:09PM (edited 08 Sep 11:11PM)
Just as a reference. On my pretty fast Windows 10 machine with SSD drives, it took a little over 31 seconds to run Respell Uncommon Accidentals on your file.

Number of objects processed = 247
Total plugin run time = 31.422 seconds.

I had it write to the plugin trace window, and once it got going it was writing quite quickly.

If you run it with the Trace option on, is it taking a long time to display each line in the trace window? Does the progress bar update slowly (I see several changes per second).

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 08 Sep 11:24PM
Thanks for the speed up tips Bob

I'll take a look later.

I have SSD on both machines.
The trace option was always enabled in my tests as the the "Locate but do not change". The progress bar moves slowly in the El Capitan/old machine.

The same file on my Macbook completed in a fine 45 seconds.

This diference can't be processor related. There must be something wrong with my Mac Pro system. Hopefully these tips may help me.

I'll give it a try later and tell you about it.



--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 08 Sep 11:30PM (edited 09 Sep 09:04AM)
It occurred to me that this plugin, like Go To Out Of Range Note, updated its progress bar on every note/chord it found.

I had changed the other plugin to update on every 100th note and seemed to make a significant difference. If you only have a few hundred notes the update time is not so much an issue but for 60000 notes it can be.

I have updated Respell Uncommon Accidentals (which happens to have been the 3rd plugin I ever put on the download page) on the download page to update the progress bar every 100 notes as well, and it cut my time from 31 seconds to 15, and to 12 if I turned off the trace to the trace window.

You can install the updated version now. Try it and let me know what happens.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 09 Sep 03:35AM
I tried to download the updated version but received an error message asking to try again later.

Unfortunately clearing SibeliusPluginPreferences.dat didn't make any difference.

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 09 Sep 03:40AM (edited 09 Sep 06:29AM)
Yes !

I manually installed the plugin: 26 seconds !

32 minutes to 26 seconds on the Old Mac Pro.

Thanks again.

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 09 Sep 07:58AM
Well there is something spectacularly ironic about having the progress bar use up 31.5 minutes of a 32 minute job.

And it is nice that it can be fixed by 3 lines of code that will not make anything else go wrong.

If I ever write a plugin like this again I will keep this in mind :)

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 10 Sep 05:19AM
Do you think Multirests and Empty Bar would benefit from this 3 lines of code ?

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 10 Sep 03:53PM
Yes it would (though the 3 lines needed to be put in about 10 different places, but still...) When I ran the updated version on your large score it cut my time in about half, processing about 280000 bars in 23 seconds for me.

I note a few things though.

1. The multirest test really is meant to be run on a part not the full score. So it will not take as long because there are fewer bars to process.

2. If I choose all the options and run on the full score it took 7 minutes. That involved dumping a huge amount of data to the trace window which is quite slow. If I turn off the trace window and the log file write it takes 33 seconds. No useful data however.

3. Writing a lot of data to a log file is also quite slow. It can be speeded up by "batching" the writes rather than writing a line at a time, but that is a more complex change.

The progress bar change should help with large scores though. Email me if you would like a copy of the update; you will need to manually install it because the plugin installer seems to still be broken.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 12 Sep 05:25AM
Thanks Bob,

I use it on the full score to show non-bar-rest empty bars.
The plugin installer still broken (unbelievable) but I'm not in a hurry.
As soon its back I will definitely take a look on the updated version.

Just out of curiosity: With all the options enabled it takes 66 minutes to complete over here.

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 12 Sep 07:41AM (edited 12 Sep 08:03AM)
I will email you the zip file since there is no telling when the installer might be back, and the plugin can't get onto the download page until that gets worked out. If you are running empty bars on every bar though, outputting to either the trace window or a log file can still be really slow.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 12 Sep 09:55AM (edited 12 Sep 06:30PM)
After some timing tests, I have to say that if you are running Multirests and Empty Bars and generating a lot of data, write it to the log file rather than the trace window and it will be a lot faster.

The log file writing could be made a good bit faster, but even the way it is now, it is much faster than using the trace window.

On my machine with all checkboxes checked, writing from your large score to the log file took me 80 seconds, and writing instead to the trace window took 349 seconds, or 5.8 minutes.

The trace window wring is slow, and the more data in the window the slower it gets. No way around it either.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 12 Sep 08:56PM
Thanks for the plugin's new version, Bob.

With all the options enabled now it take 6 minutes to complete.
66 to 6 minutes. Not bad !

--
Sibelius 8.6.1
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Bob Zawalich - 12 Sep 09:48PM
Well, that's better by a factor of 11. Not too bad. Hopefully you will not often need all the options enabled.

I note that with all the options enabled Multirests and Empty Bars is looking at something like 113,000 bars, so that is a lot to process. And actually, a significant amount of time being spent is writing out to the log file (I assume you are using that option). Even with the batch-writing I am now doing to the text file, it is writing roughly 3500 lines of text, and ManuScript is really not your speedy programming language.

On my Windows 10 pretty fast machine, writing to an SSD, it takes roughly 26 seconds to write to the log file, and about 6 minutes if I write to the trace window. So I seriously recommend using the log file, even though you need to find it and open it later (there is a message box at the end that tells you where to find it).

Most of the plugins I have written were not targeted at large scores. I could probably update a few hundred of them and they would be better at large scores, but I don't have the time to do that. I will bear these issues in mind for any future plugins that happen to be written.

--
Bob

An experienced user of Sibelius. Sib 1.2 - 8, Windows 10 Pro 64 bit, 32 G RAM. Year 2017.
For plugin categories see http://www.nycmusicservices.com/musicresources
For manual plugin installation see http://www.sibelius.com/download/plugins/index.html?help=install

Back to top | All threads
 
Re: Plugins taking ages on 8.6.1
Posted by Major - 29 Sep 05:03AM
Bob,

Just tried the new Respell Uncommon Accidentals (Version 01.55.00) and it got even faster: 26 seconds to 20 seconds.
Nice work !


> Yes !
>
> I manually installed the plugin: 26 seconds !
>
> 32 minutes to 26 seconds on the Old Mac Pro.
>
> Thanks again.
>
> --
> Sibelius 8.6.1
> Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
> Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2


--
Sibelius 8.7
Mac Pro Xeon (8 core) 2008 - 14GB / Mac OS 10.11.6
Macbook Pro i7 2013 - 16GB / Mac OS 10.12.2

Back to top | All threads
 

Quick reply

To add a reply to the end of this thread, type it below, then click Reply.

(.sib, .png and .jpg only)

Messages in this thread

Plugins taking ages on 8.6.1 - Major, 29 Jul 06:26PM
     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 29 Jul 07:11PM
         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 29 Jul 09:06PM
             Re: Plugins taking ages on 8.6.1 - Major, 30 Jul 04:04AM
                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 30 Jul 08:58PM
                     Re: Plugins taking ages on 8.6.1 - Major, 01 Aug 10:52PM
                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 03 Aug 11:35PM
                             Re: Plugins taking ages on 8.6.1 - Adrian Drover, 04 Aug 06:40AM
                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 04 Aug 09:37AM
                                     Re: Plugins taking ages on 8.6.1 - Adrian Drover, 04 Aug 11:55AM
                                         Re: Plugins taking ages on 8.6.1 - Major, 04 Aug 01:43PM
                                             Re: Plugins taking ages on 8.6.1 - Adrian Drover, 04 Aug 03:46PM
                                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 04 Aug 05:27PM
                                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 04 Aug 06:49PM
                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 18 Aug 10:54PM
                                                         Re: Plugins taking ages on 8.6.1 - Major, 01 Sep 03:07AM
                                                             Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 07 Sep 08:55PM
                                                                 Re: Plugins taking ages on 8.6.1 - Major, 08 Sep 09:43PM
                                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 10:54PM
                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 11:03PM
                                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 10:56PM
                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 11:09PM
                                                                             Re: Plugins taking ages on 8.6.1 - Major, 08 Sep 11:24PM
                                                                             Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 08 Sep 11:30PM
                                                                                 Re: Plugins taking ages on 8.6.1 - Major, 09 Sep 03:35AM
                                                                                     Re: Plugins taking ages on 8.6.1 - Major, 09 Sep 03:40AM
                                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 09 Sep 07:58AM
                                                                                             Re: Plugins taking ages on 8.6.1 - Major, 10 Sep 05:19AM
                                                                                                 Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 10 Sep 03:53PM
                                                                                                     Re: Plugins taking ages on 8.6.1 - Major, 12 Sep 05:25AM
                                                                                                         Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 12 Sep 07:41AM
                                                                                                             Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 12 Sep 09:55AM
                                                                                                                 Re: Plugins taking ages on 8.6.1 - Major, 12 Sep 08:56PM
                                                                                                                     Re: Plugins taking ages on 8.6.1 - Bob Zawalich, 12 Sep 09:48PM
                                                                                         Re: Plugins taking ages on 8.6.1 - Major, 29 Sep 05:03AM