I’ve managed to optimize the performance of my Hac4/GPS data merging script.
Optimized Version
2,33s user 0,06s system 89% cpu 2,677 total
Old merge and libxml-ruby
13,06s user 0,15s system 91% cpu 14,382 total
Old merge and rexml
26,86s user 0,21s system 96% cpu 27,987 total
And this is the track which I used for the tests. The track has 1554 trackpoints. I took this route on Saturday.