Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3f40284

Browse files
sfstewmankatef
authored andcommittedDec 1, 2020
Adds a default reperf script
Based on the performance tests listed in the Boost regexp library docs
1 parent f0df55b commit 3f40284

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
 

‎reperf/boost.scr

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# simple matches from Boost
2+
3+
- test 1
4+
M abc
5+
D pcre
6+
S abc
7+
N 1000000
8+
R 1
9+
X
10+
11+
- test 2
12+
M ^([0-9]+)(-| |$)(.*)$
13+
D pcre
14+
S 100- this is a line of ftp response which contains a message string
15+
N 1000000
16+
R 1
17+
X
18+
19+
- test 3
20+
M ([[:digit:]]{4}[- ]){3}[[:digit:]]{3,4}
21+
D pcre
22+
S 1234-5678-1234-456
23+
N 1000000
24+
R 1
25+
X
26+
27+
- test 4
28+
M ^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
29+
D pcre
30+
S john@johnmaddock.co.uk
31+
N 1000000
32+
R 1
33+
X
34+
35+
- test 5
36+
M ^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
37+
D pcre
38+
S foo12@foo.edu
39+
N 1000000
40+
R 1
41+
X
42+
Q
43+
44+
- gutten 3
45+
M [[:alpha:]]+ing
46+
D pcre
47+
F mtent/mtent12.txt
48+
N 10
49+
R 1
50+
X
51+
52+
- gutten 6
53+
M (Tom|Sawyer|Huckleberry|Finn).{0,30}river|river.{0,30}(Tom|Sawyer|Huckleberry|Finn)
54+
D pcre
55+
F mtent/mtent12.txt
56+
N 10
57+
R 1
58+
X
59+

0 commit comments

Comments
 (0)
Please sign in to comment.