json/benchmark/JSON_benchmark.cc
2013-12-11 10:50:50 +01:00

14 lines
219 B
C++

#include <iostream>
#include <fstream>
#include <JSON.h>
int main(int argc, char** argv) {
JSON json;
std::ifstream infile(argv[1]);
json << infile;
std::cout << json.size() << "\n";
return 0;
}