2.0 preview
This commit is contained in:
parent
d1ac3d9938
commit
fbad7fac17
13 changed files with 16997 additions and 1315 deletions
|
@ -1,17 +0,0 @@
|
|||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <ctime>
|
||||
#include <JSON.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
time_t timer1, timer2;
|
||||
|
||||
JSON json;
|
||||
std::ifstream infile(argv[1]);
|
||||
time(&timer1);
|
||||
json << infile;
|
||||
time(&timer2);
|
||||
std::cout << "Parsing from std::ifstream: " << difftime(timer2, timer1) << " sec\n";
|
||||
|
||||
return 0;
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import json
|
||||
import sys
|
||||
import datetime
|
||||
|
||||
a = datetime.datetime.now()
|
||||
data = json.loads(open(sys.argv[1]).read())
|
||||
b = datetime.datetime.now()
|
||||
|
||||
print (b-a)
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
git clone https://github.com/zeMirco/sf-city-lots-json.git
|
||||
mv sf-city-lots-json/citylots.json .
|
||||
rm -fr sf-city-lots-json
|
||||
|
||||
wget http://eu.battle.net/auction-data/258993a3c6b974ef3e6f22ea6f822720/auctions.json
|
Loading…
Add table
Add a link
Reference in a new issue