mirror of
https://github.com/valitydev/yamerl.git
synced 2024-11-06 10:55:16 +00:00
e617cb8323
This makes a nice target for any optimization! :)
12 lines
267 B
Bash
Executable File
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
|