项目作者: cculianu

项目描述 :
OSX Simple SSD Benchmark
高级语言: C++
项目地址: git://github.com/cculianu/sbench.git
创建时间: 2019-10-05T12:48:04Z
项目社区:https://github.com/cculianu/sbench

开源协议:

下载


OSX Simple SSD Benchmark

(C) 2019 Calin Culianu calin.culianu@gmail.com

This is a command-line tool for a quick and dirty benchmark of your SSD drive for MacOS.

It is intended to be run from the console to benchmark your SSD drive. You must have Xcode and Xcode Command-Line Tools installed to use compile this utility.

Compiling

  1. make

Running

  1. ./sbench dummyfile 20000 # second arg here is number of MB for test

Example

  1. $ make
  2. g++ -O3 -std=c++1z -W -Wall -o sbench sbench.cpp
  3. $ ./sbench dummyfile 20000
  4. Generating random data...took 0.145 seconds
  5. Writing 20000 MB to dummyfile...took 25.453 seconds (785.77 MB/sec)
  6. Running /usr/sbin/purge with sudo (clearing read cache)...
  7. Reading back dummyfile...took 11.598 secs (1724.505 MB/sec)
  8. (Removed dummyfile)

LICENSE

GNU General Public License version 3