towards a benchmark
This commit is contained in:
1 parent
bbc0f64fa5
commit
5dbdba3c43
4 files changed
+29
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user