lre_test.lua: Benchmark() fails on some systems (#474)

This commit is contained in:
ProducerMatt 2022-07-11 00:05:50 -06:00 committed by GitHub
parent 68ca49bfdd
commit 84764ce7b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -65,6 +65,6 @@ end
-- 6120 re.search()
-- 425 re.Regex:search()
-- 196 string.match()
print("--", Benchmark(ReCompileSearch), "re.search()")
print("--", Benchmark(ReSearch), "re.Regex:search()")
print("--", Benchmark(Match), "string.match()")
--print("--", Benchmark(ReCompileSearch), "re.search()")
--print("--", Benchmark(ReSearch), "re.Regex:search()")
--print("--", Benchmark(Match), "string.match()")