towards a benchmark

This commit is contained in:
Niels
2013-12-11 10:50:50 +01:00
parent bbc0f64fa5
commit 5dbdba3c43
4 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
#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;
}