In the past we have had several complaints about loading large MusicXML files
taking too long and not providing any any feedback. This is caused by the Qt
XML validator used: it is not very quick and it does not enable any
feedback.

To get a feel for possible improvements I have built a prototype custom
MusicXML validator, with very encouraging results: it validates about four
times as quick as the Qt version, with the same result (pass or fail) on the
almost 1000 files I have run through it.

Some numbers: the largest sample file I have contains about 45.500 notes. It
takes 74.3 seconds to validate, while the actual MusicXML import takes only
6.7 seconds, resulting in 81 seconds import time. The prototype custom
validator runs in 18.4 seconds, reducing the import time to 25 seconds.

Given these results, I would like to propose to finalize the custom
validator and replace the Qt validator by it. This will effectively make
MusicXML import three times quicker and would allow providing feedback while
importing in future. Note that this will still require a considerable
effort, as the current version is not yet "production quality".

Opinions anyone ? Would this be worthwhile ?

Regards, Leon.




--
View this message in context: 
http://dev-list.musescore.org/Replacing-Qt-XML-validator-by-custom-validator-tp7579577.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to