NMEA: benchmark extended for the template function `create_sentence` for all sentences.
commit7064456ba5464fde8b3141d554303b9a89602960
authorMario Konrad <mario.konrad@gmx.net>
Sat, 25 Jun 2016 20:54:33 +0000 (25 22:54 +0200)
committerMario Konrad <mario.konrad@gmx.net>
Sat, 25 Jun 2016 20:54:33 +0000 (25 22:54 +0200)
tree499db70d0b184c2dd4c0a0847dd7e3ee540adce9
parente373a6ccef7cc2e907ca0b4889fc0fe360961566
NMEA: benchmark extended for the template function `create_sentence` for all sentences.

To compare `make_sentence` and `create_sentence` for a specific sentence, e.g. RMC,
the filter can be used:

    test/benchmark_nmea_sentence --benchmark_filter="Benchmark_.*/39$"

The index 39 is within the list of known sentences (in the benchmark source file).
The benchmark framework only supports `int` as benchmark parameter, not strings.
test/nmea/Benchmark_nmea_sentence.cpp