]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2016. |
2 | // Distributed under the Boost Software License, Version 1.0. | |
3 | // (See accompanying file LICENSE_1_0.txt or copy at | |
4 | // http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | // n in [1..2048), step 2 | |
7 | // x_axis_label: Maximum length of strings | |
8 | // desc: 100 one character long strings with increasing maximum length. | |
9 | // modes: BOOST_METAPARSE_STRING | |
10 | ||
11 | \#define BOOST_METAPARSE_LIMIT_STRING_SIZE $n | |
12 | ||
13 | \#include <benchmark_util.hpp> | |
14 | ||
15 | #for j in range(0, 10) | |
16 | TEST_STRING(BOOST_METAPARSE_STRING("\x0$j")) | |
17 | #end for | |
18 | #for j in range(10, 100) | |
19 | TEST_STRING(BOOST_METAPARSE_STRING("\x$j")) | |
20 | #end for | |
21 |