diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2023-08-28 11:41:11 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-09-18 10:45:59 -0600 |
commit | 53568b720c4dfb70d8db3da3587120fd0c378cae (patch) | |
tree | 911f591617b4fcce4aa30c047da04918c00c4054 /drivers/pci/controller/dwc/pci-keystone.c | |
parent | 05e2006ce493cb6fb5e5b4b8317f82754dfa2b1e (diff) |
kunit: string-stream: Test performance of string_stream
Add a test of the speed and memory use of string_stream.
string_stream_performance_test() doesn't actually "test" anything (it
cannot fail unless the system has run out of allocatable memory) but it
measures the speed and memory consumption of the string_stream and reports
the result.
This allows changes in the string_stream implementation to be compared.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions