nareshmlx/opencv-pr huggingface dataset:
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
What is this line for ?
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
Remove compare_f from here
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests
**Review Line:** 8

**Code Changes:**
```diff
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
I think, there isn't any reason for create seperate *.hpp file for render perfomance tests
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests
**Review Line:** 8

**Code Changes:**
```diff
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
You can move to *.cpp file
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests
**Review Line:** 8

**Code Changes:**
```diff
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
I think I did not understand you correctly Could you clarify your point
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
This test is done now. But! Test framework allows to specify only 10 test parameters Therefore, I cannot specify all the parameters for the image, text, mosaic, rectangle in the test instance. All these parameters are announced in the body of the test.
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests
**Review Line:** 8

**Code Changes:**
```diff
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
You can move all stuff from this file to corresponding cpp file
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Force using of `NORM_INF` in bit-exact checks for better diagnostic messages. Anyway, [this item](https://github.com/opencv/opencv/pull/16772#discussion_r404431219) is still open about accuracy checks in performance tests.
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
I'm not sure that it's really should be here
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Put comment about code duplication
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Why don't you use `create_rand_mats` here
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
I should use `create_rand_mats` for every test cases not only for `NV12`
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
First `Mat` you init from outside of `create_rand_mats` but second `Mat` you init inside of `create_rand_mat`. I don't think that it's clear code. You can init both of mats inside of function or create them outside then fill using this function. It's up to you.
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests
**Review Line:** 8

**Code Changes:**
```diff
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+
+
+#include "../../test/common/gapi_tests_common.hpp"
+#include <opencv2/gapi/render/render.hpp>
```

Review comment:
Why do we need this file ? Can we move all stuff from here to corresponding *.cpp file ?
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Looks like you use the same rect for every iteration
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
It's better to use brackets even if `for` consist of only one line
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
The same problem with `Text`
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
The same problem with `Image`
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Yes it is Please suggest how to avoid this
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
If this function is in `common` already, why it is copied here? Why we can't reuse the old original one?
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Please use the default initializers.
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
The problem with this tests now is that the tests can't be instantiated with another backend. Please follow the general model of having `compile_args` as one of test's parameters. We need to reuse these tests on other platforms. Also, since we need to do this, this file needs to be a header file not a .cpp, right? Have a look on this: https://github.com/opencv/opencv/blob/3a46321fef901b8635cf5040a1f1764ffeb86db7/modules/gapi/perf/common/gapi_core_perf_tests.hpp ...And this: https://github.com/opencv/opencv/blob/3a46321fef901b8635cf5040a1f1764ffeb86db7/modules/gapi/perf/common/gapi_core_perf_tests_inl.hpp
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
There's no need in the extra `{}` here...
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Default initializers for scalar types are missing again (yes it is written to with `tie` but static analysis tools we use can't into it).
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
We've already discussed it, so can we share stuff between unit & perf tests ?
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
You can calculate x/y/width/height based on `i` to make `n` different rectangles.
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Remove #ifdef's
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Do same thing for unit tests
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
Currently case with fractional mosaic is handled inside opencv backend. I've opened a ticket to handle it in general case for every backend
**File:** modules/gapi/perf/common/gapi_render_perf_tests.cpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,9 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "../perf_precomp.hpp"
+#include "gapi_render_perf_tests_inl.hpp"
```

Review comment:
There isn't changes for unit tests. But ok, let's do it in separate PR
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
Wrap to namespace
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
`inline` isn't necessary
**File:** modules/gapi/perf/common/gapi_render_perf_tests_inl.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,827 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#include "gapi_render_perf_tests.hpp"
+
```

Review comment:
`comp_args` has been already moved. Check test for `CPU`: https://github.com/opencv/opencv/blob/master/modules/gapi/perf/common/gapi_core_perf_tests_inl.hpp#L42
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
Not a big deal though
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
This requires GCC 5+ (ARMv7 and CentOS builders are failed) Consider removal of this dependency.
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
Avoid indentation in namespaces (especially whole-file namespaces)
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
Why does it work for unit tests ?
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
FreeType job isn't validated on GCC less 5 ?
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
Due to `#ifdef HAVE_FREETYPE` => this image is Ubuntu 16.04 only.
**File:** modules/gapi/perf/common/gapi_render_perf_tests.hpp
**Change Type:** added
**Context:** PR #16772: Added g-api render performance tests

**Code Changes:**
```diff
@@ -0,0 +1,43 @@
+// This file is part of OpenCV project.
+// It is subject to the license terms in the LICENSE file found in the top-level directory
+// of this distribution and at http://opencv.org/license.html.
+//
+// Copyright (C) 2020 Intel Corporation
+
+
+#ifndef OPENCV_GAPI_RENDER_PERF_TESTS_HPP
+#define OPENCV_GAPI_RENDER_PERF_TESTS_HPP
```

Review comment:
Yes, but what is the correct solution ? How should `w_string` should passed into the test ?