Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

NotifyPropertyChangedAttributeTest.SlowDownBecauseOfPropertyChangeEventsShouldBeLessThan250Percent : Failed
1375 \ [7\] INFO 100 000 changes without NotifyPropertyChanged: 125 milliseconds
1421 \ [7\] INFO 100 000 changes with NotifyPropertyChanged: 750 milliseconds
1421 \ [7\] INFO (!) *>>> 500% slower <<<* (!)INFO (warning) >>> 500% slower <<< (warning)

NUnit.Framework.AssertionException: Expected: less than or equal to 40.0d
But was: 500.0d

// After Optimization (remove use of reflection in aspect and remove OldValue / NewValue in aspect - use standard .NET 3.5 implementation)
// ------------------

828 \ [7\] INFO 100 000 changes without NotifyPropertyChanged: 140.625 milliseconds
875 \ [7\] INFO 100 000 changes with NotifyPropertyChanged: 187.5 milliseconds
875 \ [7\] INFO *>>> 33% slower <<<* ... 15x speedup :) (smile)

Panel

// Before optimization
// -------------------

Wiki Markup
Wiki Markup

Actually it varies ~10-50%. Have no idea why it is slower / faster, probably some .NET or ReSharper pre-compiled bytecode tricks.

...