"Country of Tor ipaddresses" takes time.
$ time ./GeoIP-Tor-stdout
{"A1":3,"AE":4,"AR":9,"AT":91,"AU":37,"AX":1,"BA":2,"BE":20,"BG":20,"BR":22,"BY":2,
"CA":115,
"CH":86,"CL":5,"CO":4,"CR":1,"CY":1,"CZ":69,
"DE":1272,"DK":39,"EC":1,"EE":8,"EG":3,"ES":26,"FI":61,
"FR":342,"GB":222,"GR":17,"HK":21,"HR":7,"HU":35,"ID":1,"IE":14,"IL":17,"IN":10,"IR":6,"IS":24,"IT":54,"JE":1,
"JP":66,"KH":1,"KR":12,"KY":1,"KZ":3,"LC":1,"LT":14,"LU":19,"LV":7,"MD":4,"MK":1,"MN":2,"MT":2,"MX":9,"MY":1,"NL":355,"NO":36,"NZ":11,"PA":5,"PL":50,"PT":10,"QA":1,"RO":37,"RS":4,
"RU":208,"SA":5,"SE":177,"SG":11,"SI":1,"SK":20,"TH":5,"TN":1,"TR":6,"TW":10,"UA":61,
"US":1383,"UY":1,"VE":1,"VN":3,"ZA":3}
real
0m41.711s