adding new test performance_test.phpt

Ok, I will add Insert performance.


On Tue, Jul 1, 2014 at 5:45 PM, Tom Gates <notifications@github.com> wrote:

> In tests/performance_test.phpt:
>
> > +
> > +  $start_time = microtime(true);
> > +  $sql4 = "select * from perf_test";
> > +  $stmt = $db->prepare($sql4);
> > +  $stmt->execute();
> > +
> > +  $end_time = microtime(true);
> > +
> > +  $elapse_time2 = $end_time - $start_time;
> > +//  echo $elapse_time2;
> > +
> > +  if( $elapse_time2 > ($elapse_time1 * 2000) )
> > +	echo "TEST FAIL";
> > +  else
> > +        echo "TEST PASS";
> > +	
>
> Make the test fail if INSERTs take too long too.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/nuodb/nuodb-php-pdo/pull/36/files#r14400318>.
>