summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2014-07-30 21:47:59 -0600
committerDan Allen <dan.j.allen@gmail.com>2014-07-30 21:47:59 -0600
commitc034af4955dbb4162854f6fff46efed3719470c7 (patch)
tree75f15923454105cd61da8ced05e859005298c8be /benchmark
parent05fb22b59b4432971be91eeaed6c56537fcfa94d (diff)
chmod 755 benchmark.rb, disable shorthand syntax in runs
Diffstat (limited to 'benchmark')
-rwxr-xr-x[-rw-r--r--]benchmark/benchmark.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/benchmark.rb b/benchmark/benchmark.rb
index 42f3b8f5..d25a36f7 100644..100755
--- a/benchmark/benchmark.rb
+++ b/benchmark/benchmark.rb
@@ -69,6 +69,7 @@ when 'name'
when 'userguide'
require '../lib/asciidoctor.rb'
Asciidoctor::Compliance.markdown_syntax = false
+ Asciidoctor::Compliance.shorthand_property_syntax = false
sample_file = ENV['BENCH_TEST_FILE'] || 'sample-data/userguide.adoc'
backend = ENV['BENCH_BACKEND'] || 'html5'
fetch_userguide if sample_file == 'sample-data/userguide.adoc' && !(File.exist? sample_file)
@@ -86,6 +87,7 @@ when 'userguide-loop'
require '../lib/asciidoctor.rb'
GC.start
Asciidoctor::Compliance.markdown_syntax = false
+ Asciidoctor::Compliance.shorthand_property_syntax = false
sample_file = ENV['BENCH_TEST_FILE'] || 'sample-data/userguide.adoc'
backend = ENV['BENCH_BACKEND'] || 'html5'
fetch_userguide if sample_file == 'sample-data/userguide.adoc' && !(File.exist? sample_file)