yamerl/testsuite/benchmark.in
Jean-Sébastien Pédron e617cb8323 Add mochijson2 to the benchmark
This makes a nice target for any optimization! :)
2011-10-19 16:27:15 +02:00

12 lines
267 B
Bash
Executable File

#!/bin/sh -e
dir=@srcdir@/data/benchmark
count=500
export ERL_AFLAGS="-pa @top_builddir@/ebin"
echo Avergage parsing time:
$dir/bench-mochijson2 $dir/input.yaml $count
$dir/bench-xmerl_sax_parser $dir/input.xml $count
$dir/bench-yaml_parser $dir/input.yaml $count