|
Ada 4.1.1
Fast spec-compliant URL parser
|
#include "ada/idna/to_ascii.h"#include <cstdlib>#include <iostream>#include <memory>#include "idna.h"#include "performancecounters/event_counter.h"#include <benchmark/benchmark.h>Go to the source code of this file.
Functions | |
| static void | Ada (benchmark::State &state) |
| BENCHMARK (Ada) | |
| int | main (int argc, char **argv) |
Variables | |
| event_collector | collector |
| size_t | N = 1000 |
| std::string | inputs [] |
| double | inputs_total_byte |
|
static |
Definition at line 37 of file to_ascii.cpp.
References event_aggregate::best, collector, event_count::cycles(), event_count::elapsed_ns(), inputs, inputs_total_byte, event_count::instructions(), N, and ada::idna::to_ascii().
Referenced by BENCHMARK().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 220 of file to_ascii.cpp.
References collector, inputs, and inputs_total_byte.
| event_collector collector |
Definition at line 14 of file to_ascii.cpp.
| std::string inputs[] |
Definition at line 19 of file to_ascii.cpp.
| double inputs_total_byte |
Definition at line 29 of file to_ascii.cpp.
| size_t N = 1000 |
Definition at line 15 of file to_ascii.cpp.