apache / nuttx-apps

Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS
https://nuttx.apache.org/
Apache License 2.0
264 stars 490 forks source link

Adjust the apps/benchmarks directory and add some new Profile tools #2346

Closed crafcat7 closed 3 months ago

crafcat7 commented 3 months ago

Summary

  1. I moved some Perfile tools from apps/testing -> apps/benchmarks to match their behavior. It mainly involves the existing tools of NuttX:

    • ramspeed
    • cachespeed
    • osperf
    • iozone
    • superPI
  2. Added some new external Profile tools and adapted them to NuttX:

    • Dhrystone
    • fio
    • coremark-pro

Impact

  1. For existing testing tools, such as Ramspeed, Cachespeed, etc., the enabling macro prefix has been changed from TESTING_XXXX to BENCHMARK_XXXX
  2. Add some new external performance testing tools

    Testing

    For the new Profile Tools, I made the adaptation changes into a patch to ensure that it can be enabled in NuttX

raiden00pl commented 3 months ago

@crafcat7 please update the Documentation to reflect your changes (move directories from https://github.com/apache/nuttx/tree/master/Documentation/applications/testing to https://github.com/apache/nuttx/tree/master/Documentation/applications/benchmarks)

crafcat7 commented 3 months ago

@crafcat7 please update the Documentation to reflect your changes (move directories from https://github.com/apache/nuttx/tree/master/Documentation/applications/testing to https://github.com/apache/nuttx/tree/master/Documentation/applications/benchmarks)

Done, I have submitted the document update to PR: https://github.com/apache/nuttx/pull/12087

xiaoxiang781216 commented 3 months ago

@crafcat7 please fix the ci error.

crafcat7 commented 3 months ago

@crafcat7 please fix the ci error.

Done,Modified the naming of macros affected by the modification in some configurations https://github.com/apache/nuttx/pull/12094

cederom commented 3 months ago

ci restarted :-)