Skip to contentSkip to conversation

openssl-perf: Performance script for testing

PATCH In review Ryan Eatmon 2 participants 2 messages Jun 10, 2024 – Jun 11, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl-perf: Performance script for testing

We need to pull a single script in from the matrix-gui packages since they are getting removed. The openssl_perf.sh is required for the ti-test flow.

---
 .../openssl-perf/openssl-perf.bb              | 23 +++++++++++++++++++
 .../recipes-core/packagegroups/ti-test.bb     |  1 +
 2 files changed, 24 insertions(+)
 create mode 100644 meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb
meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb new file +23 -0
new file mode 100644
index 00000000..02f41f41
@@ -0,0 +1,23 @@
+SUMMARY = "Benchmark for checking various OpenSSL performance functions"
+HOMEPAGE = "https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/tree/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh"
+LICENSE = "CC-BY-SA-3.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
+
+PV = "1.0"
+
+SRC_URI = " \
+    https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh;name=openssl_perf \
+    https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/LICENSE;name=license \
+"
+SRC_URI[openssl_perf.sha256sum] = "1ba5188beb6a1fa69d9f34df12c596ed49907c2b2d2ce2d985a305b9ecbed800"
+SRC_URI[license.sha256sum] = "7febd1df714fa4b1e44fe0b0f73ceac7f9b9f97326695a0cc7074bd6c8d263e3"
+
+S = "${WORKDIR}"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 0755 ${S}/openssl_perf.sh ${D}${bindir}/openssl_perf.sh
+}
+
+FILES:${PN} = "${bindir}/openssl_perf.sh"
+
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index b71c374b..8cb27f21 100644
@@ -73,6 +73,7 @@ TI_TEST_TI_TOOLS = " \
     cpuloadgen \
     input-utils \
     ltp-ddt \
+    openssl-perf \
     uvc-gadget \
 "
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Ryan Eatmon via lists.yoctoproject.org

We need to pull a single script in from the matrix-gui packages since they are getting removed. The openssl_perf. sh is required for the ti-test flow. Signed-off-by: Ryan Eatmon <reatmon@ ti. com> --- .. . /openssl-perf/openssl-perf. bb | 23 ZjQcmQRYFpfptBannerStart
We need to pull a single script in from the matrix-gui packages since
they are getting removed. The openssl_perf.sh is required for the
ti-test flow.

Quoted 6 lines
---
  .../openssl-perf/openssl-perf.bb              | 23 +++++++++++++++++++
  .../recipes-core/packagegroups/ti-test.bb     |  1 +
  2 files changed, 24 insertions(+)

create mode 100644 meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb

Quoted 56 lines
meta-arago-test/recipes-benchmark/openssl-perf/openssl-perf.bb new file +23 -0
new file mode 100644
index 00000000..02f41f41
@@ -0,0 +1,23 @@
+SUMMARY = "Benchmark for checking various OpenSSL performance functions"
+HOMEPAGE ="https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/tree/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh"
+LICENSE = "CC-BY-SA-3.0"
+LIC_FILES_CHKSUM ="file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
+
+PV = "1.0"
+
+SRC_URI = " \
+https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/cryptos_apps_scripts/openssl_perf_scripts/openssl_perf.sh;name=openssl_perf  \
+https://git.ti.com/cgit/matrix-gui-v2/matrix-gui-v2-apps/plain/LICENSE;name=license  \
+"
+SRC_URI[openssl_perf.sha256sum] = "1ba5188beb6a1fa69d9f34df12c596ed49907c2b2d2ce2d985a305b9ecbed800"
+SRC_URI[license.sha256sum] = "7febd1df714fa4b1e44fe0b0f73ceac7f9b9f97326695a0cc7074bd6c8d263e3"
+
+S = "${WORKDIR}"
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 0755 ${S}/openssl_perf.sh ${D}${bindir}/openssl_perf.sh
+}
+
+FILES:${PN} = "${bindir}/openssl_perf.sh"
+
meta-arago-test/recipes-core/packagegroups/ti-test.bb +1 -0
index b71c374b..8cb27f21 100644
@@ -73,6 +73,7 @@ TI_TEST_TI_TOOLS = " \
      cpuloadgen \
      input-utils \
      ltp-ddt \
+    openssl-perf \
      uvc-gadget \
  "
 
Signature · 11 lines
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15380):https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/message/15380__;!!G3vK!X2xBTAguBiEEz6BzaVhIDmhdHD2-4ULGitSfHnKkKsQZ8eT3QWVnTPxtT1DIzH7Bw1XldfzU4umCw38iqVFzXYXgxZmP0N19$
Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/106594333/6607860__;!!G3vK!X2xBTAguBiEEz6BzaVhIDmhdHD2-4ULGitSfHnKkKsQZ8eT3QWVnTPxtT1DIzH7Bw1XldfzU4umCw38iqVFzXYXgxc8giXyX$
Group Owner:[email protected]
Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/unsub__;!!G3vK!X2xBTAguBiEEz6BzaVhIDmhdHD2-4ULGitSfHnKkKsQZ8eT3QWVnTPxtT1DIzH7Bw1XldfzU4umCw38iqVFzXYXgxUR72wMt$  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-