pcunning / hamcall

Processing of US Amateur Radio Callsign data
https://hamcall.dev
MIT License
10 stars 0 forks source link

make processing faster #14

Closed pcunning closed 2 years ago

pcunning commented 2 years ago

merge.Merge is likely taking a lot of time merging structs

pcunning commented 2 years ago

Fixed in https://github.com/pcunning/hamcall/commit/ab8cbc0e52f34ba3be3c078d9738c5c9acb94224

benchmarks

mergo.Merge
processing AM ... 2.840520599s
processing EN ... 10.876702985s
processing HD ... 13.576096113s
processing radioID ... 347.781071ms
processing LOTW ... 453.165894ms
processing GEO ... 5.65516456s
processing finished at 33.750661156s
no mergo
skipping downloading files (run with -dl to download)
processing AM ... 1.933972672s
processing EN ... 2.010530315s
processing HD ... 3.251116377s
processing radioID ... 127.116768ms
processing LOTW ... 418.403056ms
processing GEO ... 886.129675ms
processing finished at 8.627791745s