[m-rev.] diff: fix tests/valid/inst_perf_bug_[12]
Zoltan Somogyi
zoltan.somogyi at runbox.com
Sat Jan 15 00:26:13 AEDT 2022
These two tests started failing recently in decldebug and debug.trseg grades
on testing.mercurylang.org. I am pretty sure is that my recent changes to
inst_mode_type_prop.m took these tests from taking just under 300 seconds
on that machine to just over, which causes them to killed due to
the 300 second limit imposed by tools/test_mercury. I tried to use
pragma type_specs to eliminate much of the overhead, but that
does not work in when the compiler is compiled in a debug grade.
This diff deletes one level of the pyramid of insts these tests have to
process. On my just-less-than-three-year-old laptop, these changes
take the time taken by a compiler that is itself compiled in grade
asm_fast.gc.decldebug.stseg to compile inst_perf_bug_1 from 100 seconds
to 25, and inst_perf_bug_2 from 159 seconds to 40.
BTW, my laptop's CPU is an Intel Core i7-8750H (6x 2.20-4.10 GHz Six-Core).
What CPU does testing.mercurylang.org use?
Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.ipb
Type: application/octet-stream
Size: 1477 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20220115/ae28b66d/attachment-0001.obj>
More information about the reviews
mailing list