diff options
author | 2023-08-28 11:41:11 +0100 | |
---|---|---|
committer | 2023-09-18 10:45:59 -0600 | |
commit | 53568b720c4dfb70d8db3da3587120fd0c378cae (patch) | |
tree | 911f591617b4fcce4aa30c047da04918c00c4054 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kunit: Use string_stream for test log (diff) | |
download | wireguard-linux-53568b720c4dfb70d8db3da3587120fd0c378cae.tar.xz wireguard-linux-53568b720c4dfb70d8db3da3587120fd0c378cae.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions