From: Akim Demaille Date: Mon, 25 Aug 2008 14:31:23 +0000 (+0200) Subject: Bench the three-stack lalr1.cc. X-Git-Tag: v2.7.90~1170 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/429b4848d42f0a70b568e7927261a065d4134535 Bench the three-stack lalr1.cc. * etc/bench.pl.in: Bench the three-stack lalr1.cc vs. the one-stack one. --- diff --git a/ChangeLog b/ChangeLog index c8bb3016..173d2e18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-11-03 Akim Demaille + + Bench the three-stack lalr1.cc. + * etc/bench.pl.in: Bench the three-stack lalr1.cc vs. the + one-stack one. + 2008-11-03 Akim Demaille Fail on parse error in calc++. diff --git a/etc/bench.pl.in b/etc/bench.pl.in index eadfa4b3..ae50516f 100755 --- a/etc/bench.pl.in +++ b/etc/bench.pl.in @@ -749,6 +749,23 @@ sub bench_variant_parser () ); } +=item C + +Bench the C++ lalr1.cc parser using Boost.Variants or %union. + +=cut + +sub bench_fusion_parser () +{ + bench_grammar + ('variant', + ( + "split" => [], + "fused" => ['%skeleton "lalr1-fusion.cc"'], + ) + ); +} + ############################################################################ sub help ($) @@ -782,7 +799,8 @@ verbose 1, "Using cc=$cc.\n"; verbose 1, "Using cxx=$cxx.\n"; verbose 1, "Using cflags=$cflags.\n"; # bench_push_parser(); -bench_variant_parser(); +# bench_variant_parser(); +bench_fusion_parser(); ### Setup "GNU" style for perl-mode and cperl-mode. ## Local Variables: