sol2/bench.cpp

17 lines
656 B
C++
Raw Normal View History

#include "bench_cpp_function.hpp"
#include "bench_lua_function.hpp"
2016-01-11 22:26:58 +08:00
#include "bench_get.hpp"
#include "bench_set.hpp"
2016-01-16 15:30:49 +08:00
#include "bench_usertype.hpp"
#include "nonius/nonius.h++"
int main( int argc, char* argv[] ) {
using namespace std::literals::string_literals;
std::string configurationname = argv[ 1 ];
std::string platformname = argv[ 2 ];
bench_lua_function( "bench/", configurationname, platformname );
bench_cpp_function( "bench/", configurationname, platformname );
2016-01-11 22:26:58 +08:00
bench_get( "bench/", configurationname, platformname );
bench_set( "bench/", configurationname, platformname );
2016-01-16 15:30:49 +08:00
bench_usertype( "bench/", configurationname, platformname );
}