On Jul 7, 2011, at 6:38 PM, Han-Wen Nienhuys wrote: > On Wed, Jul 6, 2011 at 4:19 AM, <[email protected]> wrote: >> Reviewers: , >> >> Message: >> I tried this with my local branch and I noticed no slow-down (I'm sure >> there is one, but it certainly is not prohibitive). It gets rid of any >> potential segfaults from bad property sets in the layout block. > > Can you do a real measurement ? Have the code print out timestamps at > start & end of translation, and run a 10 times with and without. >
Note that there is an outlier in the no context property checking. I've shown means with and without the largest/smallest dropped. Time of translation (just before the call to lilypond-main and start of interpretation and just before the message "Interpreting..."), 10 runs with context property checking (in microseconds) [261539, 261617, 261597, 261030, 265018, 260641, 282217, 262489, 262616, 265436] mean: 264420.0 mean w/ outliers dropped: 262667.75 Time of translation, 10 runs with no context property checking (in microseconds) [258837, 259777, 261231, 261915, 261306, 259702, 260661, 260903, 262827, 317991] mean: 266515.0 mean w/ outliers dropped: 261040.25 Cheers, MS _______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
