Added new performance tests, fixed tags serialization performance issue.