diff options
Diffstat (limited to 't/perf/benchmarks')
-rw-r--r-- | t/perf/benchmarks | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/perf/benchmarks b/t/perf/benchmarks index c137d0c9ec..52e2af9400 100644 --- a/t/perf/benchmarks +++ b/t/perf/benchmarks @@ -69,5 +69,11 @@ setup => 'my ($x, $y)', code => '($x, $y) = (1, 2)', }, + + 'expr::index::utf8_postion_1' => { + desc => 'index of a utf8 string, matching at position 1', + setup => 'utf8::upgrade my $x = "abc"', + code => 'index $x, "b"', + }, ]; |