This command measures the speed of parsing each grammar's examples. It also uses each grammar to parse all of the *other* grammars' examples in order to measure error recovery performance with fairly large files.
10 lines
245 B
C++
10 lines
245 B
C++
#ifndef HELPERS_RANDOM_HELPERS_H_
|
|
#define HELPERS_RANDOM_HELPERS_H_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
std::string random_words(size_t count);
|
|
std::string select_random(const std::vector<std::string> &);
|
|
|
|
#endif // HELPERS_RANDOM_HELPERS_H_
|