From e14e60a173a9d6e2e5f3a4d1b93f66ecb2e48282 Mon Sep 17 00:00:00 2001 From: martinvuyk Date: Fri, 20 Dec 2024 17:04:31 -0300 Subject: [PATCH] fix details in benchmark Signed-off-by: martinvuyk --- stdlib/benchmarks/collections/bench_string.mojo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/benchmarks/collections/bench_string.mojo b/stdlib/benchmarks/collections/bench_string.mojo index b37f9ff291..7170d2e587 100644 --- a/stdlib/benchmarks/collections/bench_string.mojo +++ b/stdlib/benchmarks/collections/bench_string.mojo @@ -10,7 +10,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # ===----------------------------------------------------------------------=== # -# RUN: %mojo-no-debug %s +# RUN: %mojo-no-debug %s -t # NOTE: to test changes on the current branch using run-benchmarks.sh, remove # the -t flag. Remember to replace it again before pushing any code. @@ -238,7 +238,7 @@ def main(): ) alias old_chars = ("a", "ó", "ل", "и", "一") alias new_chars = ("A", "Ó", "ل", "И", "一") - alias lengths = (1_000_000,) + alias lengths = (10, 30, 50, 100, 1000, 10_000, 100_000, 1_000_000) """At an average 5 letters per word and 300 words per page (in the English language):