Commit 8e76f045 authored by Simon Marlow's avatar Simon Marlow
Browse files

add a perf test for the parser/lexer

parent 995b512c
......@@ -154,3 +154,17 @@ test('T5030',
compile,
['-fcontext-stack=300'])
test('parsing001',
[# expected value: ?
if_wordsize(32,
compiler_stats_num_field('bytes allocated', 260000000,
300000000)),
# expected value: 587079016 (amd64/Linux):
if_wordsize(64,
compiler_stats_num_field('bytes allocated', 540000000,
600000000)),
only_ways(['normal']),
],
compile_fail, [''])
This diff is collapsed.
parsing001.hs:3:1:
Failed to load interface for `Wibble'
Use -v to see a list of the files searched for.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment