clang-tidy: Add performance checks

The checks are valuable for improving the runtime efficiency and
resource utilization of your programs.

Tested: Build and unit tests passed successfully.

Change-Id: Ia4150edfb5c38794d1d4a9b75bdb67d1ed5aa3fe
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index cd8cd0e..e2aca6c 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -267,6 +267,22 @@
 misc-unused-alias-decls,
 misc-unused-parameters,
 misc-unused-using-decls,
+performance-faster-string-find,
+performance-for-range-copy,
+performance-implicit-conversion-in-loop,
+performance-inefficient-algorithm,
+performance-inefficient-string-concatenation,
+performance-inefficient-vector-operation,
+performance-move-const-arg,
+performance-move-constructor-init,
+performance-no-automatic-move,
+performance-no-int-to-ptr,
+performance-noexcept-destructor,
+performance-noexcept-move-constructor,
+performance-noexcept-swap,
+performance-trivially-destructible,
+performance-type-promotion-in-math-fn,
+performance-unnecessary-copy-initialization,
 readability-identifier-naming'
 
 WarningsAsErrors: '*'