diff options
Diffstat (limited to 'pts/test-resources/etqw-demo/parse-results.php')
-rw-r--r-- | pts/test-resources/etqw-demo/parse-results.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pts/test-resources/etqw-demo/parse-results.php b/pts/test-resources/etqw-demo/parse-results.php index 6cf5b34..a538b81 100644 --- a/pts/test-resources/etqw-demo/parse-results.php +++ b/pts/test-resources/etqw-demo/parse-results.php @@ -1,5 +1,5 @@ <?php - -$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "seconds =") + 9); +$log_file = file_get_contents(getenv("LOG_FILE")); +$BENCHMARK_RESULTS = substr($log_file, strrpos($log_file, "seconds =") + 9); echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "fps"))); ?> |