History log of /system/extras/tests/sdcard/sdcard_perf_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e1b480b11c19f014a2a6ceddd28883275a4ba0e3 04-Aug-2012 Jeff Sharkey <jsharkey@android.com> Add directory tree traversal benchmark.

Generates a directory tree with requested depth, also writing files
at each leaf to add width. Then it times traversal of entire tree,
which can reveal impact of VFS caching inside kernel.

Also specify mode_t when creating files.

Bug: 6925012
Change-Id: I65370d6fd0b9777e959be3a0867f27ce22ee4644
/system/extras/tests/sdcard/sdcard_perf_test.cpp
39c016f875b793296a121f41de5775b88f6fa1c9 19-May-2009 Nicolas Catania <niko@google.com> Load test for the sdcard.

Simulate loads on the sdcard for write, read and open operations using
one or more process.

The number of processes to run concurently can be specified on the command line.
The size of the file and the number of iterations (for averaging result) are
also a command line flag.

The user can have summary of the performance plus the raw data for
processing with a separate tool.

There is a basic python script to help plotting the result.
/system/extras/tests/sdcard/sdcard_perf_test.cpp