From 6671103b3550ba513b35bb1977b6ddaf5f49e2f7 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 1 Jun 2021 01:49:50 -0500 Subject: [PATCH] rm duplicate --- tests/benchmark_text.nim | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 tests/benchmark_text.nim diff --git a/tests/benchmark_text.nim b/tests/benchmark_text.nim deleted file mode 100644 index 0adee60..0000000 --- a/tests/benchmark_text.nim +++ /dev/null @@ -1,16 +0,0 @@ -import benchy, pixie - -const paragraph = "She had come to the conclusion that you could tell a lot about a person by their ears. The way they stuck out and the size of the earlobes could give you wonderful insights into the person. Of course, she couldn't scientifically prove any of this, but that didn't matter to her. Before anything else, she would size up the ears of the person she was talking to. She's asked the question so many times that she barely listened to the answers anymore. The answers were always the same. Well, not exactly the same, but the same in a general sense. A more accurate description was the answers never surprised her." - -var font = readFont("tests/fonts/Roboto-Regular_1.ttf") -font.size = 16 - -let image = newImage(500, 300) - -timeIt "paragraph": - image.fill(rgba(255, 255, 255, 255)) - image.fillText( - font, - paragraph, - bounds = image.wh - )