From 77f87cb9eb94fed366cb119032ce9846d913c05e Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 9 Nov 2018 09:03:11 +0000 Subject: [PATCH] .benchmarks git-svn-id: svn://ultimatepp.org/upp/trunk@12492 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- benchmarks/LionBenchmark/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmarks/LionBenchmark/main.cpp b/benchmarks/LionBenchmark/main.cpp index 0a9ea9a7d..96d54af32 100644 --- a/benchmarks/LionBenchmark/main.cpp +++ b/benchmarks/LionBenchmark/main.cpp @@ -10,13 +10,13 @@ void Task(Painter& sw) // sw.Opacity(0.3); // sw.Translate(20, 0); // sw.Rotate(0.1); -// PaintLion(sw); + PaintLion(sw); // PythagorasTree(sw); // Demo(sw); // ClippingExample(sw); // PolyPolygon(sw); // TextOnPath(sw); - Dash(sw); +// Dash(sw); sw.End(); } @@ -33,7 +33,7 @@ struct MyApp : public TopWindow { virtual void Paint(Draw& w) { w.DrawRect(GetSize(), White()); - for(int pass = 0; pass < 1; pass++) { + for(int pass = 0; pass < 2; pass++) { ImageBuffer ib(1200, 800); { BufferPainter sw(ib); @@ -85,7 +85,7 @@ GUI_APP_MAIN sw.Co(); // for(int i = 0; i < 10; i++) PaintLion(sw); - for(int pass = 0; pass < 2; pass++) { + for(int pass = 0; pass < 4; pass++) { int time0 = msecs(); int n = 0; {