|
libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
#include "stdafx.h"#include <boost/test/included/unit_test.hpp>#include <boost/mpl/list.hpp>#include "core/ave_deviation_meter.hpp"#include "core/stats_output.hpp"#include "core/ttypes.hpp"#include <boost/lexical_cast.hpp>#include <charconv>#include <chrono>Go to the source code of this file.
Classes | |
| struct | std_atol |
| struct | std_strtol |
| struct | std_from_chars |
| struct | std_to_chars |
| struct | test_from_string_baseline< V > |
| struct | test_folly_ascii_to_int |
| struct | boost_lexical_cast_from< V > |
| struct | folly_uint64ToBufferUnsafe |
Macros | |
| #define | BOOST_TEST_MODULE libjmmcg_tests |
Typedefs | |
| using | timed_results_t = ave_deviation_meter< unsigned long long > |
| using | from_conversion_algorithms = boost::mpl::list< test_folly_ascii_to_int, test_from_string_baseline< unsigned long long >, test_from_string_baseline< double >, std_atol, boost_lexical_cast_from< long >, boost_lexical_cast_from< double >, std_strtol, std_from_chars > |
| using | to_conversion_algorithms = boost::mpl::list< folly_uint64ToBufferUnsafe, std_to_chars > |
Functions | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (from_string, algorithm, from_conversion_algorithms) | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (to_string, algorithm, to_conversion_algorithms) | |
| #define BOOST_TEST_MODULE libjmmcg_tests |
Definition at line 21 of file string_conversions_performance.cpp.
| typedef boost::mpl::list< test_folly_ascii_to_int, test_from_string_baseline< unsigned long long >, test_from_string_baseline< double >, std_atol, boost_lexical_cast_from< long >, boost_lexical_cast_from< double >, std_strtol, std_from_chars > from_conversion_algorithms |
Definition at line 117 of file string_conversions_performance.cpp.
| using timed_results_t = ave_deviation_meter<unsigned long long> |
Definition at line 37 of file string_conversions_performance.cpp.
| typedef boost::mpl::list< folly_uint64ToBufferUnsafe, std_to_chars > to_conversion_algorithms |
Definition at line 128 of file string_conversions_performance.cpp.
| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | from_string | , |
| algorithm | , | ||
| from_conversion_algorithms | |||
| ) |
Definition at line 142 of file string_conversions_performance.cpp.
| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | to_string | , |
| algorithm | , | ||
| to_conversion_algorithms | |||
| ) |
Definition at line 181 of file string_conversions_performance.cpp.