\timing on do $$ declare txt text := repeat(chr(2310), 1000); pat text := '^\w*$'; begin for i in 1..1000000 loop perform txt; end loop; end$$;