IOMeter is another open source synthetic benchmarking tool which is able to simulate the various loads placed on hard drive and solid state drive technology.
We use a custom Kitguru configuration for 4k random write to measure performance.
Our test results actually surpassed Samsung's official rating (36,000 IOPS for a 4k random write test), scoring just over 38,000.