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: I83a26416f2ce057ac5ae1d58bb5a8bdd989df4b1
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/.clang-tidy b/.clang-tidy
index ee3d7bb..11f7149 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -270,6 +270,19 @@
 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-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: '*'