Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kleisauke/vips-microbench
Micro benchmarks to measure the performance of libvips
https://github.com/kleisauke/vips-microbench
Last synced: 26 days ago
JSON representation
Micro benchmarks to measure the performance of libvips
- Host: GitHub
- URL: https://github.com/kleisauke/vips-microbench
- Owner: kleisauke
- Created: 2019-04-17T17:45:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-21T10:18:47.000Z (4 months ago)
- Last Synced: 2024-10-30T22:44:27.826Z (2 months ago)
- Language: C++
- Size: 20.9 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libvips micro-benchmarks
A collection of micro-benchmarks used to measure the performance of libvips.
## Build
```bash
git clone https://github.com/kleisauke/vips-microbench.git
cd vips-microbench
rm -rf build/
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release
cmake --build build -- -j$(nproc)
```## Run
```bash
# Disable CPU frequency scaling while running the benchmark
sudo cpupower frequency-set --governor performance# Or use tuned-adm (RHEL / Fedora specific)
sudo tuned-adm profile throughput-performance./bin/vips-microbench-exif --benchmark_repetitions=10
./bin/vips-microbench-thumbnail --benchmark_repetitions=10
./bin/vips-microbench-reduce --benchmark_repetitions=10
./bin/vips-microbench-jpeg --benchmark_repetitions=10# After benchmarking you can go back to the more conservative option
sudo cpupower frequency-set --governor powersave
```