summaryrefslogtreecommitdiff
path: root/benchmarks/cmop/run_yml.pl
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/cmop/run_yml.pl')
-rw-r--r--benchmarks/cmop/run_yml.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/benchmarks/cmop/run_yml.pl b/benchmarks/cmop/run_yml.pl
new file mode 100644
index 0000000..341b640
--- /dev/null
+++ b/benchmarks/cmop/run_yml.pl
@@ -0,0 +1,18 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use FindBin;
+use lib "$FindBin::Bin/lib";
+
+use YAML::Syck;
+use Bench::Run;
+
+my $data = LoadFile( shift || "$FindBin::Bin/all.yml" );
+
+foreach my $bench ( @$data ) {
+ print "== ", delete $bench->{name}, " ==\n\n";
+ Bench::Run->new( %$bench )->run;
+ print "\n\n";
+}