https://github.com/ncw/fsyncbench
Benchmark fsync
https://github.com/ncw/fsyncbench
Last synced: 5 months ago
JSON representation
Benchmark fsync
- Host: GitHub
- URL: https://github.com/ncw/fsyncbench
- Owner: ncw
- License: mit
- Created: 2013-07-02T15:09:25.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T15:43:48.000Z (over 7 years ago)
- Last Synced: 2024-06-19T11:16:29.444Z (about 2 years ago)
- Language: Go
- Size: 3.91 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Fsync bench
===========
Benchmark fsync
Download a [binary from github](https://github.com/ncw/fsyncbench/releases/latest)
or build from source (see later).
Usage
=====
fsyncbench [flags]
Flags
-n=100: Iterations to test - default 100
-dir=/tmp: Target directory - default os.TmpDir()
It will produce output like this
$ fsyncbench
2013/07/02 16:03:30 That took 988.255164ms for 100 fsyncs
2013/07/02 16:03:30 That took 9.882551ms per fsync
Build
=====
You'll need go installed, then
go get github.com/ncw/fsyncbench
and this will build the binary in `$GOPATH/bin`. You can then modify
the source and submit patches.
License
=======
This is free software under the terms of the MIT license (check the
COPYING file included in this package).
Contact and support
===================
The project website is at:
- https://github.com/ncw/fsyncbench
There you can file bug reports, ask for help or contribute patches.
Authors
=======
- Nick Craig-Wood
Contributors
------------
- Your name goes here!
- Matteo Olivi