Created
July 9, 2014 07:32
-
-
Save ericlagergren/78ca544154f8a62a086e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 ;) eric@crunchbang ~/sbdmn/republican/CsvCount/CsvCount $ time (wc -l file.txt) | |
3898815 file.txt | |
real 0m0.333s | |
user 0m0.164s | |
sys 0m0.160s | |
0 ;) eric@crunchbang ~/sbdmn/republican/CsvCount/CsvCount $ time python ./lines.py | |
3898815 lines | |
real 0m1.128s | |
user 0m0.976s | |
sys 0m0.124s | |
0 ;) eric@crunchbang ~/sbdmn/republican/CsvCount/CsvCount $ time ./Program.exe file.txt | |
StateVoterID CountyVoterID Title FName MName LName NameSuffix Birthdate Gender RegStNum RegStFrac RegStName RegStType RegUnitType RegStPreDirection RegStPostDirection RegUnitNum RegCityRegState RegZipCode CountyCode PrecinctCode PrecinctPart LegislativeDistrict CongressionalDistrict Mail1 Mail2 Mail3 Mail4 MailCity MailZip MailState MailCountry Registrationdate AbsenteeType LastVoted StatusCode | |
WA009431649 1007779 AZELLA A 02/08/1953 F 308 SPRUCE ST WSEQUIM WA 98382 CM 403 1 24 6 10/01/2010 U 04/22/2014 A | |
WA006068847 990830198 FARIDA A 11/01/1954 F 904 211TH PL NE SAMMAMISH WA 98074 KI 536 365 45 8 05/15/2007 P 11/06/2012 A | |
WA010260002 1056943 LEVETINA F A ETONU KING 08/23/1968 F 11916 130TH AVE CT E PUYALLUP WA 98374 PI 25274 0 25 10 03/26/2013 N A | |
....... | |
Total rows: 3,898,815 | |
real 0m13.527s | |
user 0m12.793s | |
sys 0m0.680s | |
0 ;) eric@crunchbang ~/sbdmn/republican/CsvCount/CsvCount $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment