MCPcopy Create free account
hub / github.com/boostorg/json / do_test

Function do_test

bench/bench.cpp:1065–1083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063}
1064
1065static bool do_test( file_list const & vf, impl_list const & vi, char test )
1066{
1067 switch( test )
1068 {
1069 case 'p':
1070 bench("Parse", vf, vi, s_trials);
1071 break;
1072
1073 case 's':
1074 bench("Serialize", vf, vi, s_trials);
1075 break;
1076
1077 default:
1078 std::cerr << "Unknown test type: '" << test << "'\n";
1079 return false;
1080 }
1081
1082 return true;
1083}
1084
1085int
1086main(

Callers 1

mainFunction · 0.70

Calls 1

benchFunction · 0.85

Tested by

no test coverage detected