diff --git a/DeedyDesigner/Deedy.Testing/App.xaml.cs b/DeedyDesigner/Deedy.Testing/App.xaml.cs index 926c43a..1aa9838 100644 --- a/DeedyDesigner/Deedy.Testing/App.xaml.cs +++ b/DeedyDesigner/Deedy.Testing/App.xaml.cs @@ -1,5 +1,6 @@ using System.Configuration; using System.Data; +using System.Diagnostics; using System.Windows; using Deedy.Testing; @@ -42,9 +43,12 @@ whil false @var1 10 < endi endw "; - Todo todo = new Todo(); - todo.Init(script); - todo.Redo(); + Todo todo = new(); + todo.Init("varp var1 111"); + Stopwatch sw = Stopwatch.StartNew(); + for (int i = 0; i < 1000000; i++) + todo.Redo(); + sw.Stop(); } }