json/benchmark/JSON_benchmark.cc

15 lines
219 B
C++
Raw Normal View History

2013-12-11 09:50:50 +00:00
#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;
}