• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Testing Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)</title>
5<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../index.html" title="Boost.Regex 5.1.4">
8<link rel="up" href="../performance.html" title="Performance">
9<link rel="prev" href="section_id3261825021.html" title="Testing simple Perl matches (platform = linux, compiler = GNU C++ version 6.3.0)">
10<link rel="next" href="section_id4128344975.html" title="Testing simple Perl matches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="section_id3261825021.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../performance.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="section_id4128344975.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_regex.background.performance.section_id3752650613"></a><a class="link" href="section_id3752650613.html" title="Testing Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version 14.1)">Testing
28        Perl searches (platform = Windows x64, compiler = Microsoft Visual C++ version
29        14.1)</a>
30</h4></div></div></div>
31<div class="table">
32<a name="boost_regex.background.performance.section_id3752650613.table_Testing_Perl_searches_platform_Windows_x64_compiler_Microsoft_Visual_C_version_14_1_"></a><p class="title"><b>Table 13. Testing Perl searches (platform = Windows x64, compiler = Microsoft
33          Visual C++ version 14.1)</b></p>
34<div class="table-contents"><table class="table" summary="Testing Perl searches (platform = Windows x64, compiler = Microsoft
35          Visual C++ version 14.1)">
36<colgroup>
37<col>
38<col>
39<col>
40<col>
41<col>
42<col>
43</colgroup>
44<thead><tr>
45<th>
46                  <p>
47                    Expression<br> Text
48                  </p>
49                </th>
50<th>
51                  <p>
52                    boost 1.65
53                  </p>
54                </th>
55<th>
56                  <p>
57                    PCRE-10.10
58                  </p>
59                </th>
60<th>
61                  <p>
62                    RE2
63                  </p>
64                </th>
65<th>
66                  <p>
67                    std::regex
68                  </p>
69                </th>
70<th>
71                  <p>
72                    boost::xpressive::cregex
73                  </p>
74                </th>
75</tr></thead>
76<tbody>
77<tr>
78<td>
79                  <p>
80                    <code class="literal">(?i)&lt;a[^&gt;]+href=("[^"]*"|[^[:space:]]+)[^&gt;]*&gt;</code><br>
81                    In file: ..<span class="emphasis"><em>..</em></span>../libs/libraries.htm
82                  </p>
83                </td>
84<td>
85                  <p>
86                    <span class="blue">1.36<br> (21565ns)</span>
87                  </p>
88                </td>
89<td>
90                  <p>
91                    <span class="green">1.00<br> (15821ns)</span>
92                  </p>
93                </td>
94<td>
95                  <p>
96                    <span class="green">1.08<br> (17111ns)</span>
97                  </p>
98                </td>
99<td>
100                  <p>
101                    <span class="grey">-</span>
102                  </p>
103                </td>
104<td>
105                  <p>
106                    <span class="blue">2.89<br> (45731ns)</span>
107                  </p>
108                </td>
109</tr>
110<tr>
111<td>
112                  <p>
113                    <code class="literal">(?i)&lt;font[^&gt;]+face=("[^"]*"|[^[:space:]]+)[^&gt;]*&gt;.*?&lt;/font&gt;</code><br>
114                    In file: ..<span class="emphasis"><em>..</em></span>../libs/libraries.htm
115                  </p>
116                </td>
117<td>
118                  <p>
119                    <span class="blue">3.05<br> (16442ns)</span>
120                  </p>
121                </td>
122<td>
123                  <p>
124                    <span class="blue">1.58<br> (8492ns)</span>
125                  </p>
126                </td>
127<td>
128                  <p>
129                    <span class="green">1.00<br> (5385ns)</span>
130                  </p>
131                </td>
132<td>
133                  <p>
134                    <span class="grey">-</span>
135                  </p>
136                </td>
137<td>
138                  <p>
139                    <span class="blue">3.31<br> (17804ns)</span>
140                  </p>
141                </td>
142</tr>
143<tr>
144<td>
145                  <p>
146                    <code class="literal">(?i)&lt;h[12345678][^&gt;]*&gt;.*?&lt;/h[12345678]&gt;</code><br>
147                    In file: ..<span class="emphasis"><em>..</em></span>../libs/libraries.htm
148                  </p>
149                </td>
150<td>
151                  <p>
152                    <span class="blue">2.11<br> (15434ns)</span>
153                  </p>
154                </td>
155<td>
156                  <p>
157                    <span class="blue">1.31<br> (9615ns)</span>
158                  </p>
159                </td>
160<td>
161                  <p>
162                    <span class="green">1.00<br> (7315ns)</span>
163                  </p>
164                </td>
165<td>
166                  <p>
167                    <span class="grey">-</span>
168                  </p>
169                </td>
170<td>
171                  <p>
172                    <span class="red">4.28<br> (31331ns)</span>
173                  </p>
174                </td>
175</tr>
176<tr>
177<td>
178                  <p>
179                    <code class="literal">(?i)&lt;img[^&gt;]+src=("[^"]*"|[^[:space:]]+)[^&gt;]*&gt;</code><br>
180                    In file: ..<span class="emphasis"><em>..</em></span>../libs/libraries.htm
181                  </p>
182                </td>
183<td>
184                  <p>
185                    <span class="blue">2.73<br> (16457ns)</span>
186                  </p>
187                </td>
188<td>
189                  <p>
190                    <span class="blue">1.41<br> (8503ns)</span>
191                  </p>
192                </td>
193<td>
194                  <p>
195                    <span class="green">1.00<br> (6023ns)</span>
196                  </p>
197                </td>
198<td>
199                  <p>
200                    <span class="grey">-</span>
201                  </p>
202                </td>
203<td>
204                  <p>
205                    <span class="blue">3.14<br> (18913ns)</span>
206                  </p>
207                </td>
208</tr>
209<tr>
210<td>
211                  <p>
212                    <code class="literal">(?i)&lt;p&gt;.*?&lt;/p&gt;</code><br> In file:
213                    ..<span class="emphasis"><em>..</em></span>../libs/libraries.htm
214                  </p>
215                </td>
216<td>
217                  <p>
218                    <span class="blue">2.32<br> (15717ns)</span>
219                  </p>
220                </td>
221<td>
222                  <p>
223                    <span class="blue">1.57<br> (10652ns)</span>
224                  </p>
225                </td>
226<td>
227                  <p>
228                    <span class="green">1.00<br> (6789ns)</span>
229                  </p>
230                </td>
231<td>
232                  <p>
233                    <span class="grey">-</span>
234                  </p>
235                </td>
236<td>
237                  <p>
238                    <span class="blue">3.76<br> (25542ns)</span>
239                  </p>
240                </td>
241</tr>
242<tr>
243<td>
244                  <p>
245                    <code class="literal">(\w+)\s*(\([^()]++(?:(?2)[^()]++)*+[^)]*\))\s*(\{[^{}]++((?3)[^{}]++)*+[^}]*+\})</code><br>
246                    In file: boost/multiprecision/number.hpp
247                  </p>
248                </td>
249<td>
250                  <p>
251                    <span class="green">1.00<br> (1125008ns)</span>
252                  </p>
253                </td>
254<td>
255                  <p>
256                    <span class="blue">2.90<br> (3265708ns)</span>
257                  </p>
258                </td>
259<td>
260                  <p>
261                    <span class="grey">-</span>
262                  </p>
263                </td>
264<td>
265                  <p>
266                    <span class="grey">-</span>
267                  </p>
268                </td>
269<td>
270                  <p>
271                    <span class="grey">-</span>
272                  </p>
273                </td>
274</tr>
275<tr>
276<td>
277                  <p>
278                    <code class="literal">(^[ \t]*#(?:(?&gt;[^\\\n]+)|\\(?&gt;\s*\n|.))*)|</code><br>
279                    In file: boost/multiprecision/number.hpp
280                  </p>
281                </td>
282<td>
283                  <p>
284                    <span class="blue">1.55<br> (11035845ns)</span>
285                  </p>
286                </td>
287<td>
288                  <p>
289                    <span class="green">1.00<br> (7123895ns)</span>
290                  </p>
291                </td>
292<td>
293                  <p>
294                    <span class="grey">-</span>
295                  </p>
296                </td>
297<td>
298                  <p>
299                    <span class="grey">-</span>
300                  </p>
301                </td>
302<td>
303                  <p>
304                    <span class="blue">1.46<br> (10415180ns)</span>
305                  </p>
306                </td>
307</tr>
308<tr>
309<td>
310                  <p>
311                    <code class="literal">(template[[:space:]]*&lt;[^;:{]+&gt;[[:space:]]*)?(class|struct)[[:space:]]*(\w+([
312                    ]*\([^)]*\))?[\u0 ...</code><br> In file: boost/multiprecision/number.hpp
313                  </p>
314                </td>
315<td>
316                  <p>
317                    <span class="red">26.17<br> (8436744ns)</span>
318                  </p>
319                </td>
320<td>
321                  <p>
322                    <span class="red">32.97<br> (10629852ns)</span>
323                  </p>
324                </td>
325<td>
326                  <p>
327                    <span class="green">1.00<br> (322399ns)</span>
328                  </p>
329                </td>
330<td>
331                  <p>
332                    <span class="red">811.84<br> (261737971ns)</span>
333                  </p>
334                </td>
335<td>
336                  <p>
337                    <span class="red">23.34<br> (7526351ns)</span>
338                  </p>
339                </td>
340</tr>
341<tr>
342<td>
343                  <p>
344                    <code class="literal">Beman|John|Dave</code><br> In file: ..<span class="emphasis"><em>..</em></span>../libs/libraries.htm
345                  </p>
346                </td>
347<td>
348                  <p>
349                    <span class="blue">1.58<br> (10246ns)</span>
350                  </p>
351                </td>
352<td>
353                  <p>
354                    <span class="green">1.00<br> (6487ns)</span>
355                  </p>
356                </td>
357<td>
358                  <p>
359                    <span class="blue">2.48<br> (16109ns)</span>
360                  </p>
361                </td>
362<td>
363                  <p>
364                    <span class="red">5.39<br> (34994ns)</span>
365                  </p>
366                </td>
367<td>
368                  <p>
369                    <span class="green">1.09<br> (7046ns)</span>
370                  </p>
371                </td>
372</tr>
373<tr>
374<td>
375                  <p>
376                    <code class="literal">\w+\s*(\([^()]++(?:(?1)[^()]++)*+[^)]*\))</code><br>
377                    In file: boost/multiprecision/number.hpp
378                  </p>
379                </td>
380<td>
381                  <p>
382                    <span class="green">1.00<br> (1152646ns)</span>
383                  </p>
384                </td>
385<td>
386                  <p>
387                    <span class="blue">1.70<br> (1962067ns)</span>
388                  </p>
389                </td>
390<td>
391                  <p>
392                    <span class="grey">-</span>
393                  </p>
394                </td>
395<td>
396                  <p>
397                    <span class="grey">-</span>
398                  </p>
399                </td>
400<td>
401                  <p>
402                    <span class="grey">-</span>
403                  </p>
404                </td>
405</tr>
406<tr>
407<td>
408                  <p>
409                    <code class="literal">\{[^{}]++((?0)[^{}]++)*+[^}]*+\}</code><br> In
410                    file: boost/multiprecision/number.hpp
411                  </p>
412                </td>
413<td>
414                  <p>
415                    <span class="blue">1.62<br> (255439ns)</span>
416                  </p>
417                </td>
418<td>
419                  <p>
420                    <span class="green">1.00<br> (158034ns)</span>
421                  </p>
422                </td>
423<td>
424                  <p>
425                    <span class="grey">-</span>
426                  </p>
427                </td>
428<td>
429                  <p>
430                    <span class="grey">-</span>
431                  </p>
432                </td>
433<td>
434                  <p>
435                    <span class="grey">-</span>
436                  </p>
437                </td>
438</tr>
439<tr>
440<td>
441                  <p>
442                    <code class="literal">^[ ]*#[ ]*include[ ]+("[^"]+"|&lt;[^&gt;]+&gt;)</code><br>
443                    In file: boost/multiprecision/number.hpp
444                  </p>
445                </td>
446<td>
447                  <p>
448                    <span class="blue">1.48<br> (268270ns)</span>
449                  </p>
450                </td>
451<td>
452                  <p>
453                    <span class="green">1.08<br> (195553ns)</span>
454                  </p>
455                </td>
456<td>
457                  <p>
458                    <span class="blue">1.78<br> (323879ns)</span>
459                  </p>
460                </td>
461<td>
462                  <p>
463                    <span class="red">7.75<br> (1406976ns)</span>
464                  </p>
465                </td>
466<td>
467                  <p>
468                    <span class="green">1.00<br> (181554ns)</span>
469                  </p>
470                </td>
471</tr>
472<tr>
473<td>
474                  <p>
475                    <code class="literal">^[ ]*#[ ]*include[ ]+("boost/[^"]+"|&lt;boost/[^&gt;]+&gt;)</code><br>
476                    In file: boost/multiprecision/number.hpp
477                  </p>
478                </td>
479<td>
480                  <p>
481                    <span class="blue">1.48<br> (268560ns)</span>
482                  </p>
483                </td>
484<td>
485                  <p>
486                    <span class="green">1.08<br> (195915ns)</span>
487                  </p>
488                </td>
489<td>
490                  <p>
491                    <span class="blue">1.76<br> (319886ns)</span>
492                  </p>
493                </td>
494<td>
495                  <p>
496                    <span class="red">7.72<br> (1398962ns)</span>
497                  </p>
498                </td>
499<td>
500                  <p>
501                    <span class="green">1.00<br> (181328ns)</span>
502                  </p>
503                </td>
504</tr>
505</tbody>
506</table></div>
507</div>
508<br class="table-break">
509</div>
510<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
511<td align="left"></td>
512<td align="right"><div class="copyright-footer">Copyright © 1998-2013 John Maddock<p>
513        Distributed under the Boost Software License, Version 1.0. (See accompanying
514        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
515      </p>
516</div></td>
517</tr></table>
518<hr>
519<div class="spirit-nav">
520<a accesskey="p" href="section_id3261825021.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../performance.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="section_id4128344975.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
521</div>
522</body>
523</html>
524