diff options
Diffstat (limited to 'pts/test-resources/fio/parse-results.php')
-rw-r--r-- | pts/test-resources/fio/parse-results.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pts/test-resources/fio/parse-results.php b/pts/test-resources/fio/parse-results.php new file mode 100644 index 0000000..6977e14 --- /dev/null +++ b/pts/test-resources/fio/parse-results.php @@ -0,0 +1,5 @@ +<?php + +$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "Total fio Run-Time:") + 19); +echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "Seconds"))); +?> |