2 milliseconds to compare two strings seems awfully slow.
But anyway the interesting number is how many times it's slower compared to an equivalent code.