<?php
include("../library/PODREngine.php");
include("DataSet.php");
$nb_occur=10000;
$time_start = microtime(true);
$podr=new PODREngine(array(
"InputFileName"=>"benchmark.odt",
"OutputFileName"=>"benchmark_out.odt",
"OutputMode"=>PODREngine::SAVEMODE_FILE,
));
$podr->movies=array_slice($movieList,0,$nb_occur);
$podr->output();
$time_end = microtime(true);
$time = $time_end - $time_start;
echo 'Time elapsed : '.$time.' seconds to generate a file with '.$nb_occur.' lines<br/>';
?>