parsing data performance, performance tests

Improved data parsing performance
added parsing tests
added simple performance tests