Mercury Bugs - mercury
View Issue Details
0000562mercuryBugpublic2022-08-03 10:372022-08-18 20:01
Reporterwangp 
Assigned Tozs 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000562: performance regression since rotd-2022-05-01
DescriptionThe attached module compiles much slower than it used to.

I have bisected the regression to commit 911bc5ea0c6565b9ae48132b153182627b3ddbea "Convert more modules to use var_tables". The slow down occurs during the Fully expanding equivalence types step.


% time ~/local/stow/mercury-srcdist-rotd-2022-04-29/bin/mmc -C parse_tables.m
0.63s user 0.03s system 99% cpu 0.662 total

% time ~/local/stow/mercury-srcdist-rotd-2022-05-01/bin/mmc -C parse_tables.m
7.51s user 0.03s system 99% cpu 7.553 total
TagsNo tags attached.
Attached Files? parse_tables.m (246,635) 2022-08-03 10:37
https://bugs.mercurylang.org/file_download.php?file_id=321&type=bug

Notes
(0001202)
zs   
2022-08-18 20:01   
Fix committed 2022 aug 18.

Issue History
2022-08-03 10:37wangpNew Issue
2022-08-03 10:37wangpFile Added: parse_tables.m
2022-08-03 11:02wangpSummaryperformance regression since rotd-2022-05-30 => performance regression since rotd-2022-05-01
2022-08-03 11:02wangpDescription Updatedbug_revision_view_page.php?rev_id=58#r58
2022-08-03 15:53zsAssigned To => zs
2022-08-03 15:53zsStatusnew => assigned
2022-08-18 20:01zsStatusassigned => resolved
2022-08-18 20:01zsResolutionopen => fixed
2022-08-18 20:01zsNote Added: 0001202