Skip to content
Snippets Groups Projects
Commit d3e0124c authored by Finley McIlwaine's avatar Finley McIlwaine Committed by Marge Bot
Browse files

Add a test checking overhead of -finfo-table-map

We want to make sure we don't end up with poor codegen performance resulting from
-finfo-table-map again as in #23103. This test adds a performance test tracking
total allocations while compiling ExactPrint with -finfo-table-map.
parent d99c816f
No related branches found
No related tags found
No related merge requests found
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
\ No newline at end of file
test(
'info_table_map_perf',
[
collect_compiler_stats('bytes allocated',10),
extra_files(
[
'../../../../../utils/check-exact/ExactPrint.hs',
'../../../../../utils/check-exact/Lookup.hs',
'../../../../../utils/check-exact/Orphans.hs',
'../../../../../utils/check-exact/Types.hs',
'../../../../../utils/check-exact/Utils.hs',
]
),
js_skip
],
multimod_compile,
['ExactPrint.hs', '-package ghc -O -finfo-table-map']
)
[1 of 5] Compiling Orphans ( Orphans.hs, Orphans.o )
[2 of 5] Compiling Types ( Types.hs, Types.o )
[3 of 5] Compiling Lookup ( Lookup.hs, Lookup.o )
[4 of 5] Compiling Utils ( Utils.hs, Utils.o )
[5 of 5] Compiling ExactPrint ( ExactPrint.hs, ExactPrint.o )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment