-
Notifications
You must be signed in to change notification settings - Fork 470
Benchmarks
Ahmed Elsabbahy edited this page Nov 1, 2015
·
8 revisions
Sample benchmark on my laptop.
Hardware:
- laptop: MSI-GT683DXR
- storage: Crucial M4 ssd
Used the following script to generate the goss.json file [goss_generate_bench.sh], which adds the following tests:
- 100 files/dirs from /etc/
- All users in /etc/passwd
- All groups in /etc/groups
- Ports 1-100 for tcp and tcp6
- 20 rpms
$ time goss validate --format nagios
GOSS OK - Count: 929, Failed: 0, Duration: 0.078s
real 0m0.086s
user 0m0.178s
sys 0m0.159s
# Performance after dropping fs cache
$ sync && echo 3 > /proc/sys/vm/drop_caches
$ time goss validate --format nagios
GOSS OK - Count: 929, Failed: 0, Duration: 2.053s
real 0m2.091s
user 0m0.198s
sys 0m0.264s