Data validation is one of several approaches that can be used to increase the stability of a system. Code for validating data can either be written manually or generated from some structure.In this paper we evaluate the performance of protoc-gen-validate, aGoogle Protocol Buffers compilerpluginwhich generates code fordatavalidation.With use-case structures from Ericsson and manually constructed structures that test the performance of isolateddata typeand rulecombinationswe produce results that can be used as indicators ofthe overhead introduced by protoc-gen-validate’svalidation-features. The results show that the CPU time required to validate a message is lower than that of deserializing amessage in both Go and C++. It is also shownthat the CPU time required to validate a message is lower than that of serializing amessage in Go, whilevalidation takes longer than serialization in C++.