summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/smokin-guns/parse-results.php
blob: c17c021b947689861fd27be3910e1430b1f541dc (plain)
1
2
3
4
5
6
<?php
$log_file = file_get_contents(getenv("LOG_FILE"));
$BENCHMARK_RESULTS = trim(substr($log_file, 0, strrpos($log_file, " fps")));
$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, strrpos($BENCHMARK_RESULTS, ' ')));
echo $BENCHMARK_RESULTS;
?>