mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
scripts: Introduce benchmark_memory_usage.sh
Add shell script to sample PulseAudio memory usage while increasing the number of connected 'paplay' clients over time. Linux kernel /proc/$PID/smaps Private and Shared_Dirty fields are used to accurately measure the total size of used dirty pages over time. This shall be useful for benchmarking the PA daemon's memory while introducing new features like per-client SHM access and memfds. Also add an empty benchmarks-collection directory 'benchmarks/'. All output from the benchmarking tools shall be saved in this place, with timestamps and symbolic links to the newest versions. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
This commit is contained in:
parent
01aec46fb4
commit
c0f2e7d36a
4 changed files with 148 additions and 0 deletions
10
scripts/benchmarks/.gitignore
vendored
Normal file
10
scripts/benchmarks/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#
|
||||
# Benchmarks directory .gitignore
|
||||
#
|
||||
|
||||
# Ignore everything here ..
|
||||
*
|
||||
|
||||
# Except these files
|
||||
!README
|
||||
!.gitignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue